com.pnfsoftware.jeb.core.output.text.ILine |
Known Indirect Subclasses |
Representation of a line within an ITextDocumentPart
. A line should not contain new line
characters such as carriage-return or line-feed. A line may contain optional, non-overlapping
items that define regions of text onto which special meaning can be attached.
It is the responsibility of the implementor to make sure that lines do not contain CR/LF characters.
It is the responsibility of the implementor to make sure that items are non overlapping.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final ILine | EMPTY_LINE | An empty line with no anchor |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract List<? extends ITextItem> |
getItems()
Get the list of text items within the current line.
| ||||||||||
abstract List<? extends ITextMark> |
getMarks()
Get the list of marks for this line.
| ||||||||||
abstract CharSequence |
getText()
Get the line text.
|
Get the list of text items within the current line. It is the responsibility of the implementor to make sure that items are non overlapping and are sorted.
Get the line text. It is the responsibility of the implementor to make sure that lines do not contain CR/LF characters.