Package net.sf.okapi.lib.xliff2.core
Interface IWithExtElements
-
- All Known Implementing Classes:
GlossEntry,Match,MidFileData,StartGroupData,Unit
public interface IWithExtElementsProvides a common interface to all objects that can have extension elements.- See Also:
ExtElements,ExtElement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExtElementsgetExtElements()Gets theExtElementsobject associated with this object.booleanhasExtElements()Indicates if there is aExtElementsobject associated with this object.ExtElementssetExtElements(ExtElements elements)Sets theExtElementsobject associated with this object.
-
-
-
Method Detail
-
getExtElements
ExtElements getExtElements()
Gets theExtElementsobject associated with this object. If none exists one is created.- Returns:
- the
ExtElementsobject associated with this object. If none exists one is created.
-
setExtElements
ExtElements setExtElements(ExtElements elements)
Sets theExtElementsobject associated with this object.- Parameters:
elements- theExtElementsobject associated with this object. If null, a newExtElementsobject is created.- Returns:
- the
ExtElementsobject associated with this object, never null.
-
hasExtElements
boolean hasExtElements()
Indicates if there is aExtElementsobject associated with this object.- Returns:
- true if there is a
ExtElementsobject associated with this object, false otherwise.
-
-