|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.commons.xml.tokenizer.wellformed.AbsTokenVisitor
org.millscript.commons.xml.tokenizer.wellformed.ContentTokenVisitor
public class ContentTokenVisitor
This class provides a token visitor the for content part of an
XML document. This is the a sub token visitor of the element
token visitor, in the chain that provides the well formedness checks
required of an XML processor.
| Constructor Summary | |
|---|---|
ContentTokenVisitor(WellFormedXmlTokenizer xt,
TokenVisitor p,
StartTagToken stToken)
Constructs a new content section token visitor, with the
specified tokenizer, next-in-the-chain token visitor and start tag. |
|
| Method Summary | |
|---|---|
void |
visit(CharDataToken token)
Visit the specified character data token. |
void |
visit(CommentToken token)
Visit the specified comment token. |
void |
visit(DTDToken token)
Visit the specified dtd token. |
void |
visit(EmptyElementToken token)
Visit the specified empty element token. |
void |
visit(EndTagToken token)
Visit the specified end tag token. |
void |
visit(PIToken token)
Visit the specified processing instruction token. |
void |
visit(StartTagToken token)
Visit the specified start tag token. |
| Methods inherited from class org.millscript.commons.xml.tokenizer.wellformed.AbsTokenVisitor |
|---|
visit, visit, visit, visit, visit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentTokenVisitor(WellFormedXmlTokenizer xt,
TokenVisitor p,
StartTagToken stToken)
content section token visitor, with the
specified tokenizer, next-in-the-chain token visitor and start tag.
xt - the well-formed XML tokenizer our tokens come fromp - the next token visitor in the well-formedness chainstToken - the start tag token for the tag that began this content
section| Method Detail |
|---|
public void visit(CharDataToken token)
TokenVisitor
token - the character data token to visitTokenVisitor.visit(org.millscript.commons.xml.api.token.CharDataToken)public void visit(CommentToken token)
TokenVisitor
token - the comment token to visitTokenVisitor.visit(org.millscript.commons.xml.api.token.CommentToken)public void visit(DTDToken token)
TokenVisitor
token - the dtd token to visitTokenVisitor.visit(org.millscript.commons.xml.api.token.DTDToken)public void visit(EmptyElementToken token)
TokenVisitor
token - the empty element token to visitTokenVisitor.visit(org.millscript.commons.xml.api.token.EmptyElementToken)public void visit(EndTagToken token)
TokenVisitor
token - the end tag token to visitTokenVisitor.visit(org.millscript.commons.xml.api.token.EndTagToken)public void visit(PIToken token)
TokenVisitor
token - the processing instruction token to visitTokenVisitor.visit(org.millscript.commons.xml.api.token.PIToken)public void visit(StartTagToken token)
TokenVisitor
token - the start tag token to visitTokenVisitor.visit(org.millscript.commons.xml.api.token.StartTagToken)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||