Uses of Class
net.htmlparser.jericho.Segment
Packages that use Segment
-
Uses of Segment in net.htmlparser.jericho
Subclasses of Segment in net.htmlparser.jerichoModifier and TypeClassDescriptionfinal class
final class
class
Represents an HTML Character Entity Reference.class
Represents an HTML Character Reference, implemented by the subclassesCharacterEntityReference
andNumericCharacterReference
.final class
final class
class
Represents an HTML form control.class
Represents an HTML Numeric Character Reference.final class
Represents a source HTML document.final class
class
Methods in net.htmlparser.jericho that return SegmentModifier and TypeMethodDescriptionElement.getContent()
Returns the segment representing the content of the element.StreamedSource.getCurrentSegment()
Returns the currentSegment
from the StreamedSource.iterator().Attribute.getNameSegment()
Returns the segment spanning the name of this attribute.Tag.getNameSegment()
Returns the segment spanning the name of this tag.OutputDocument.getSegment()
Returns the original segment upon which this output document is based.StartTag.getTagContent()
Returns the segment between the end of the tag's name and the start of its end delimiter.Attribute.getValueSegment()
Attribute.getValueSegmentIncludingQuotes()
Returns the segment spanning the value of this attribute, including quotation marks if any, ornull
if it has no value.Methods in net.htmlparser.jericho that return types with arguments of type SegmentModifier and TypeMethodDescriptionSegment.getNodeIterator()
Returns an iterator over every tag, character reference and plain text segment contained within this segment.Segment.getStyleURISegments()
Source.iterator()
Returns an iterator over every tag, character reference and plain text segment contained within the source document.StreamedSource.iterator()
Returns an iterator over every tag, character reference and plain text segment contained within the source document.Methods in net.htmlparser.jericho with parameters of type SegmentModifier and TypeMethodDescriptionint
Compares thisSegment
object to another object.final boolean
Indicates whether thisSegment
encloses the specifiedSegment
.void
Removes the specified segment from this output document.void
OutputDocument.replace
(Segment segment, CharSequence text) Replaces the specified segment in this output document with the specified text.Method parameters in net.htmlparser.jericho with type arguments of type SegmentModifier and TypeMethodDescriptionvoid
Source.ignoreWhenParsing
(Collection<? extends Segment> segments) Causes all of the segments in the specified collection to be ignored when parsing.void
OutputDocument.remove
(Collection<? extends Segment> segments) Removes all the segments from this output document represented by the specified source Segment objects.Constructors in net.htmlparser.jericho with parameters of type SegmentModifierConstructorDescriptionOutputDocument
(Segment segment) Constructs a new output document based on the specifiedSegment
.Constructs a newRenderer
based on the specifiedSegment
.SourceCompactor
(Segment segment) Constructs a newSourceCompactor
based on the specifiedSegment
.SourceFormatter
(Segment segment) Constructs a newSourceFormatter
based on the specifiedSegment
.TextExtractor
(Segment segment) Constructs a newTextExtractor
based on the specifiedSegment
. -
Uses of Segment in net.htmlparser.jericho.nodoc
Subclasses of Segment in net.htmlparser.jericho.nodocModifier and TypeClassDescriptionclass
A base class used internally to simulate multiple inheritance ofSegment
andjava.util.AbstractSequentialList
.