org.millscript.commons.xml.tokenizer.wellformed
Class Misc1TokenVisitor

java.lang.Object
  extended by org.millscript.commons.xml.tokenizer.wellformed.AbsTokenVisitor
      extended by org.millscript.commons.xml.tokenizer.wellformed.Misc1TokenVisitor
All Implemented Interfaces:
TokenVisitor
Direct Known Subclasses:
Misc2TokenVisitor

public class Misc1TokenVisitor
extends AbsTokenVisitor

This class provides a token visitor the for first Misc section part of an XML document. This is the second token visitor in a chain that provides the well formedness checks required of an XML processor.


Constructor Summary
Misc1TokenVisitor(WellFormedXmlTokenizer xt)
          Constructs a new Misc section token visitor, with the specified token visitor.
 
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

Misc1TokenVisitor

public Misc1TokenVisitor(WellFormedXmlTokenizer xt)
Constructs a new Misc section token visitor, with the specified token visitor.

Parameters:
xt - the well-formed XML tokenizer our tokens come from
Method Detail

visit

public void visit(CharDataToken token)
Description copied from interface: TokenVisitor
Visit the specified character data token.

Parameters:
token - the character data token to visit
See Also:
TokenVisitor.visit(org.millscript.commons.xml.api.token.CharDataToken)

visit

public void visit(CommentToken token)
Description copied from interface: TokenVisitor
Visit the specified comment token.

Parameters:
token - the comment token to visit
See Also:
TokenVisitor.visit(org.millscript.commons.xml.api.token.CommentToken)

visit

public void visit(DTDToken token)
Description copied from interface: TokenVisitor
Visit the specified dtd token.

Parameters:
token - the dtd token to visit
See Also:
TokenVisitor.visit(org.millscript.commons.xml.api.token.DTDToken)

visit

public void visit(EmptyElementToken token)
Description copied from interface: TokenVisitor
Visit the specified empty element token.

Parameters:
token - the empty element token to visit
See Also:
TokenVisitor.visit(org.millscript.commons.xml.api.token.EmptyElementToken)

visit

public void visit(EndTagToken token)
Description copied from interface: TokenVisitor
Visit the specified end tag token.

Parameters:
token - the end tag token to visit
See Also:
TokenVisitor.visit(org.millscript.commons.xml.api.token.EndTagToken)

visit

public void visit(PIToken token)
Description copied from interface: TokenVisitor
Visit the specified processing instruction token.

Parameters:
token - the processing instruction token to visit
See Also:
TokenVisitor.visit(org.millscript.commons.xml.api.token.PIToken)

visit

public void visit(StartTagToken token)
Description copied from interface: TokenVisitor
Visit the specified start tag token.

Parameters:
token - the start tag token to visit
See Also:
TokenVisitor.visit(org.millscript.commons.xml.api.token.StartTagToken)


Copyright © 2005-2007 Open World Ltd. All Rights Reserved.