|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.quiotix.html.parser.HtmlDocument
public class 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.
HtmlVisitor
Nested Class Summary | |
---|---|
static class |
HtmlDocument.Annotation
Annotations. |
static class |
HtmlDocument.Attribute
A Tag Attribute. |
static class |
HtmlDocument.AttributeList
A List of Attributes. |
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)
Constructor. |
Method Summary | |
---|---|
void |
accept(HtmlVisitor v)
Allow the Visitor to visit. |
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)
Visitable
accept
in interface Visitable
v
- the visitor which has come to call
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |