Package net.sf.okapi.common.annotation
Class ITSProvenanceAnnotations
- java.lang.Object
-
- net.sf.okapi.common.resource.InlineAnnotation
-
- net.sf.okapi.common.annotation.GenericAnnotations
-
- net.sf.okapi.common.annotation.ITSProvenanceAnnotations
-
- All Implemented Interfaces:
Cloneable,Iterable<GenericAnnotation>,IAnnotation,IPersistentAnnotation
public class ITSProvenanceAnnotations extends GenericAnnotations
Annotation for ITS Provenance meta-data. Allows for a unique ID to associated with the ITSProvenanceAnnotations class when attached as an IAnnotation in the Annotations class. This is necessary for resolving standoff meta-data.
-
-
Field Summary
-
Fields inherited from class net.sf.okapi.common.resource.InlineAnnotation
CLASSNAME_SEPARATOR, data
-
-
Constructor Summary
Constructors Constructor Description ITSProvenanceAnnotations()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddAnnotations(ITextUnit tu, ITSProvenanceAnnotations newSet)static voidaddAnnotations(StartGroup group, ITSProvenanceAnnotations newSet)static voidaddAnnotations(StartSubDocument startSubDoc, ITSProvenanceAnnotations newSet)static voidaddAnnotations(TextContainer tc, ITSProvenanceAnnotations newSet)-
Methods inherited from class net.sf.okapi.common.annotation.GenericAnnotations
add, add, addAll, addAll, addAnnotations, addAnnotations, clear, clone, createFromString, fromString, getAllAnnotations, getAnnotations, getFirstAnnotation, hasAnnotation, iterator, remove, size, toString
-
Methods inherited from class net.sf.okapi.common.resource.InlineAnnotation
getData, setData
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
addAnnotations
public static void addAnnotations(ITextUnit tu, ITSProvenanceAnnotations newSet)
-
addAnnotations
public static void addAnnotations(TextContainer tc, ITSProvenanceAnnotations newSet)
-
addAnnotations
public static void addAnnotations(StartGroup group, ITSProvenanceAnnotations newSet)
-
addAnnotations
public static void addAnnotations(StartSubDocument startSubDoc, ITSProvenanceAnnotations newSet)
-
-