public interface IITSItem
| Modifier and Type | Method and Description |
|---|---|
IITSItem |
createCopy()
Creates a deep-copy clone of this item.
|
java.lang.String |
getAnnotatorRef()
Gets the annotator reference currently set for this data category.
|
java.lang.String |
getDataCategoryName()
Gets the id/name of this data category.
|
boolean |
hasUnresolvedGroup()
Indicates if this item has currently a reference to a stand-off element that
has not been resolved yet.
|
boolean |
isGroup()
Indicates if this item is a group.
|
void |
setAnnotatorRef(AnnotatorsRef ar)
Sets the annotator reference information for this data category.
|
void |
setAnnotatorRef(java.lang.String annotatorRef)
Sets the annotator reference information for this data category.
|
void |
validate()
Validates the data category.
|
java.lang.String getDataCategoryName()
boolean isGroup()
boolean hasUnresolvedGroup()
This occurs for example when a unit element has a reference to a set of Provenance instances and the stand-off element has not been read yet (because the reading of the unit's element is done after the reading of its attributes.
void setAnnotatorRef(java.lang.String annotatorRef)
annotatorRef - the reference string to set (can be null).void setAnnotatorRef(AnnotatorsRef ar)
ar - the set of references read from its:annotatorsRef.
If it is null, or if there is no reference for the relevant data category: no change is made.java.lang.String getAnnotatorRef()
void validate()
XLIFFException - if there is an error.IITSItem createCopy()