- toString
Returns the source text of this segment as a String. The returned String is newly created with every
- getBegin
Returns the character position in the Source document at which this segment
begins, inclusive. Use t
- getEnd
Returns the character position in the Source document immediately after the end
of this segment. The
- getSource
Returns the Source document containing this segment. If a StreamedSource is in
use, this method thro
- <init>
Constructs a new Segment within the specified Source document with the specified
begin and end chara
- getAllStartTags
Returns a list of all StartTag objects of the specified StartTagType that are
#encloses(Segment) by
- isWhiteSpace
Indicates whether the specified character is white space
[http://www.w3.org/TR/html401/struct/text.h
- checkEnclosure
- checkTagEnclosure
- getAllElements
Returns a list of all Element objects with start tags of the specified
StartTagType that are #enclos
- getAllStartTagsByClass
Returns a list of all StartTag objects with the specified class that are
#encloses(Segment) by this
- getAllTags
Returns a list of all Tag objects of the specified TagType that are
#encloses(Segment) by this segme