| java.lang.Object au.id.jericho.lib.html.StringOutputSegment
StringOutputSegment | final class StringOutputSegment implements OutputSegment(Code) | | Implements an
OutputSegment whose content is a CharSequence .
This class has been removed from the pulic API and the functionality replaced with the
OutputDocument#replace(Segment, CharSequence text) method.
|
StringOutputSegment | public StringOutputSegment(int begin, int end, CharSequence text)(Code) | | Constructs a new StringOutputSegment with the specified begin and end positions and the specified content.
Specifying a null argument to the text parameter is exactly equivalent to specifying an empty string,
and results in the segment being completely removed from the output document.
Parameters: begin - the position in the OutputDocument where this output segment begins. Parameters: end - the position in the OutputDocument where this output segment ends. Parameters: text - the textual content of the new output segment, or null if no content. |
StringOutputSegment | public StringOutputSegment(Segment segment, CharSequence text)(Code) | | Constructs a new StringOutputSegment with the same span as the specified
Segment .
Specifying a null argument to the text parameter is exactly equivalent to specifying an empty string,
and results in the segment being completely removed from the output document.
Parameters: segment - a segment defining the beginning and ending positions of the new output segment. Parameters: text - the textual content of the new output segment, or null if no content. |
getBegin | public int getBegin()(Code) | | |
getEnd | public int getEnd()(Code) | | |
getEstimatedMaximumOutputLength | public long getEstimatedMaximumOutputLength()(Code) | | |
|
|