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 classfinal classclassRepresents an HTML Character Entity Reference.classRepresents an HTML Character Reference, implemented by the subclassesCharacterEntityReferenceandNumericCharacterReference.final classfinal classclassRepresents an HTML form control.classRepresents an HTML Numeric Character Reference.final classRepresents a source HTML document.final classclassClasses in net.htmlparser.jericho that implement interfaces with type arguments of type SegmentModifier and TypeClassDescriptionclassRepresents a segment of aSourcedocument.final classRepresents a source HTML document.final classRepresents a streamed source HTML document.Methods in net.htmlparser.jericho that return SegmentModifier and TypeMethodDescriptionElement.getContent()Returns the segment representing the content of the element.StreamedSource.getCurrentSegment()Returns the currentSegmentfrom 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, ornullif 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 TypeMethodDescriptionintCompares thisSegmentobject to another object.final booleanIndicates whether thisSegmentencloses the specifiedSegment.voidRemoves the specified segment from this output document.voidOutputDocument.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 TypeMethodDescriptionvoidSource.ignoreWhenParsing(Collection<? extends Segment> segments) Causes all of the segments in the specified collection to be ignored when parsing.voidOutputDocument.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 newRendererbased on the specifiedSegment.SourceCompactor(Segment segment) Constructs a newSourceCompactorbased on the specifiedSegment.SourceFormatter(Segment segment) Constructs a newSourceFormatterbased on the specifiedSegment.TextExtractor(Segment segment) Constructs a newTextExtractorbased on the specifiedSegment. -
Uses of Segment in net.htmlparser.jericho.nodoc
Subclasses of Segment in net.htmlparser.jericho.nodocModifier and TypeClassDescriptionclassA base class used internally to simulate multiple inheritance ofSegmentandjava.util.AbstractSequentialList.