|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.quiotix.html.parser.HtmlDocument
Represents an HTML document as a sequence of elements. The defined element types are: Tag, EndTag, TagBlock (matched tag..end tag, with the intervening elements), Comment, Text, Newline, and Annotation.
The various element types are defined as nested classes within HtmlDocument. Many have fields defined as public instead of properties for efficient access.
com.quiotix.html.HtmlVisitor
Inner Class Summary | |
static class |
HtmlDocument.Annotation
Annotations. |
static class |
HtmlDocument.Attribute
|
static class |
HtmlDocument.AttributeList
|
static class |
HtmlDocument.Comment
HTML comments. |
static class |
HtmlDocument.ElementSequence
A sequence of HTML elements. |
static class |
HtmlDocument.EndTag
Html end tag. |
static class |
HtmlDocument.HtmlElement
Abstract class for HTML elements. |
static class |
HtmlDocument.Newline
End of line indicator. |
static class |
HtmlDocument.Tag
HTML start tag. |
static class |
HtmlDocument.TagBlock
A tag block is a composite structure consisting of a start tag a sequence of HTML elements, and a matching end tag. |
static class |
HtmlDocument.Text
Plain text |
Constructor Summary | |
HtmlDocument(HtmlDocument.ElementSequence s)
|
Method Summary | |
void |
accept(HtmlVisitor v)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HtmlDocument(HtmlDocument.ElementSequence s)
Method Detail |
public void accept(HtmlVisitor v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |