Package net.sf.okapi.lib.xliff2.its
Interface IWithITSGroups
-
- All Known Implementing Classes:
Unit
public interface IWithITSGroupsProvides a common interface to all objects that can have ITS stand-off elements (groups)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataCategoryGroup<?>addITSGroup(DataCategoryGroup<?> group)Adds an ITS group to this object.List<DataCategoryGroup<?>>getITSGroups()Gets the ITS groups associated with this object.booleanhasITSGroup()Indicates if the object has at least one ITS group.
-
-
-
Method Detail
-
hasITSGroup
boolean hasITSGroup()
Indicates if the object has at least one ITS group.- Returns:
- true if the object has at least one ITS group.
-
getITSGroups
List<DataCategoryGroup<?>> getITSGroups()
Gets the ITS groups associated with this object.- Returns:
- the ITS groups associated with this object (can be empty, but never null).
-
addITSGroup
DataCategoryGroup<?> addITSGroup(DataCategoryGroup<?> group)
Adds an ITS group to this object.- Parameters:
group- the group to add.- Returns:
- the group added.
-
-