- get
Gets the segment for a given identifier.
- count
Gets the number of segments in this container. This method always returns at
least 1.
- create
Creates a set of segments in this container. Use TextContainer#getCodedText()to
get the coded text t
- append
Appends a TextFragment as a segment at the end of this container.If
collapseIfPreviousEmpty is true
- getIndex
Gets the segment index for a given segment id.
- getRanges
Gets the list of the boundaries for the current segments in this container.
- setAlignmentStatus
Sets the AlignmentStatus for these segments.
- getFirstContent
Gets the content of the first segment of this container.
- getPartIndex
Gets the part index for a given segment index.For example in the container
"[segment1] [segment2] [s
- joinAll
Merges back together all segments of this TextContainer object, and clear the
list of segments. If r
- getAlignmentStatus
Returns the AlignmentStatus for these segments.
- insert
Inserts a given segment at the specified position.If the segment to insert has
no id or an id that i