Uses of Class
net.htmlparser.jericho.Segment
-
Packages that use Segment Package Description net.htmlparser.jericho Jericho HTML Parser 3.3net.htmlparser.jericho.nodoc -
-
Uses of Segment in net.htmlparser.jericho
Subclasses of Segment in net.htmlparser.jericho Modifier and Type Class Description classAttributeclassAttributesclassCharacterEntityReferenceRepresents an HTML Character Entity Reference.classCharacterReferenceRepresents an HTML Character Reference, implemented by the subclassesCharacterEntityReferenceandNumericCharacterReference.classElementclassEndTagclassFormControlRepresents an HTML form control.classNumericCharacterReferenceRepresents an HTML Numeric Character Reference.classSourceRepresents a source HTML document.classStartTagclassTagMethods in net.htmlparser.jericho that return Segment Modifier and Type Method Description SegmentElement. getContent()Returns the segment representing the content of the element.SegmentStreamedSource. getCurrentSegment()Returns the currentSegmentfrom the StreamedSource.iterator().SegmentAttribute. getNameSegment()Returns the segment spanning the name of this attribute.SegmentTag. getNameSegment()Returns the segment spanning the name of this tag.SegmentOutputDocument. getSegment()Returns the original segment upon which this output document is based.SegmentStartTag. getTagContent()Returns the segment between the end of the tag's name and the start of its end delimiter.SegmentAttribute. getValueSegment()SegmentAttribute. 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 Segment Modifier and Type Method Description java.util.Iterator<Segment>Segment. getNodeIterator()Returns an iterator over every tag, character reference and plain text segment contained within this segment.java.util.List<Segment>Segment. getStyleURISegments()java.util.Iterator<Segment>Source. iterator()Returns an iterator over every tag, character reference and plain text segment contained within the source document.java.util.Iterator<Segment>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 Segment Modifier and Type Method Description intSegment. compareTo(Segment segment)Compares thisSegmentobject to another object.booleanSegment. encloses(Segment segment)Indicates whether thisSegmentencloses the specifiedSegment.voidOutputDocument. remove(Segment segment)Removes the specified segment from this output document.voidOutputDocument. replace(Segment segment, java.lang.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 Segment Modifier and Type Method Description voidSource. ignoreWhenParsing(java.util.Collection<? extends Segment> segments)Causes all of the segments in the specified collection to be ignored when parsing.voidOutputDocument. remove(java.util.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 Segment Constructor Description OutputDocument(Segment segment)Constructs a new output document based on the specifiedSegment.Renderer(Segment segment)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.nodoc Modifier and Type Class Description classSequentialListSegment<E>A base class used internally to simulate multiple inheritance ofSegmentandjava.util.AbstractSequentialList.
-