Uses of Class net.htmlparser.jericho.Segment (Jericho HTML Parser 3.1)

Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
net.htmlparser.jericho.Segment

Uses of Segment in net.htmlparser.jericho

Subclasses of Segment in net.htmlparser.jericho
`class` | `Attribute` Represents a single attribute name/value segment within a `StartTag`.
`class` | `Attributes` Represents the list of `Attribute` objects present within a particular `StartTag`.
`class` | `CharacterEntityReference` Represents an HTML Character Entity Reference.
`class` | `CharacterReference` Represents an HTML Character Reference, implemented by the subclasses `CharacterEntityReference` and `NumericCharacterReference`.
`class` | `Element` Represents an element in a specific source document, which encompasses a start tag, an optional end tag and all content in between.
`class` | `EndTag` Represents the end tag of an element in a specific source document.
`class` | `FormControl` Represents an HTML form control.
`class` | `NumericCharacterReference` Represents an HTML Numeric Character Reference.
`class` | `Source` Represents a source HTML document.
`class` | `StartTag` Represents the start tag of an element in a specific source document.
`class` | `Tag` Represents either a `StartTag` or `EndTag` in a specific source document.

Methods in net.htmlparser.jericho that return Segment
`Segment` | `Element.getContent()` Returns the segment representing the content of the element.
`Segment` | `StreamedSource.getCurrentSegment()` Returns the current `Segment` from the StreamedSource.iterator().
`Segment` | `Tag.getNameSegment()` Returns the segment spanning the name of this tag.
`Segment` | `Attribute.getNameSegment()` Returns the segment spanning the name of this attribute.
`Segment` | `StartTag.getTagContent()` Returns the segment between the end of the tag's name and the start of its end delimiter.
`Segment` | `Attribute.getValueSegment()` Returns the segment spanning the value of this attribute, or `null` if it has no value.
`Segment` | `Attribute.getValueSegmentIncludingQuotes()` Returns the segment spanning the value of this attribute, including quotation marks if any, or `null` if it has no value.

Methods in net.htmlparser.jericho that return types with arguments of type Segment
`java.util.Iterator<Segment>` | `Segment.getNodeIterator()` Returns an iterator over every tag, character reference and plain text segment contained within this segment.
`java.util.Iterator<Segment>` | `StreamedSource.iterator()` Returns an iterator over every tag, character reference and plain text segment contained within the source document.
`java.util.Iterator<Segment>` | `Source.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
`int` | `Segment.compareTo(Segment segment)` Compares this `Segment` object to another object.
`boolean` | `Segment.encloses(Segment segment)` Indicates whether this `Segment` encloses the specified `Segment`.
`void` | `OutputDocument.remove(Segment segment)` Removes the specified segment from this output document.
`void` | `OutputDocument.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
`void` | `Source.ignoreWhenParsing(java.util.Collection<? extends Segment> segments)` Causes all of the segments in the specified collection to be ignored when parsing.
`void` | `OutputDocument.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
`OutputDocument(Segment segment)` Constructs a new output document based on the specified `Segment`.
`Renderer(Segment segment)` Constructs a new `Renderer` based on the specified `Segment`.
`SourceCompactor(Segment segment)` Constructs a new `SourceCompactor` based on the specified `Segment`.
`SourceFormatter(Segment segment)` Constructs a new `SourceFormatter` based on the specified `Segment`.
`TextExtractor(Segment segment)` Constructs a new `TextExtractor` based on the specified `Segment`.

Uses of Segment in net.htmlparser.jericho.nodoc

Subclasses of Segment in net.htmlparser.jericho.nodoc
`class` | `net.htmlparser.jericho.nodoc.SequentialListSegment<E>`

Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES