- getFirstContent
Gets the content of the first part (segment or non-segment) of this container.
This method always re
- getSegments
Creates a new ISegments object to access the segments of this container.
- getUnSegmentedContentCopy
Gets a new TextFragment representing the un-segmented content of this container.Important: This is a
- isEmpty
Indicates if this container is empty (no text and no codes).
- hasBeenSegmented
Indicates if a segmentation has been applied to this container. Note that it
does not mean there is
- hasText
Indicates if this container contains at least one character. Inline codes and
annotation markers do
- <init>
Creates a new TextContainer object with initial TextParts (segment or
non-segment) appended.
- contentIsOneSegment
Indicates if this container is made of a single segment that holds the whole
content (i.e. there is
- getAnnotation
- getProperty
- setContent
Sets the content of this TextContainer. Any existing segmentation is removed.
The content becomes a
- getCodedText
Gets the coded text of the whole content (segmented or not). Use this method to
compute segment boun