XML Parser for Java 1.1.9

com.ibm.xml.parser
Interface Visitee

All Known Implementing Classes:
Child

public abstract interface Visitee

An interface of the visitor design pattern which defines the accept operations when a Node is recognized when traversing the document object tree.

Version:
Revision: %M% %I% %W% %Q%
See Also:
Child, TXDocument.acceptPre(com.ibm.xml.parser.Visitor), TXElement.acceptPre(com.ibm.xml.parser.Visitor), TXAttribute.acceptPre(com.ibm.xml.parser.Visitor), TXPI.acceptPre(com.ibm.xml.parser.Visitor), TXComment.acceptPre(com.ibm.xml.parser.Visitor), TXText.acceptPre(com.ibm.xml.parser.Visitor), DTD.acceptPre(com.ibm.xml.parser.Visitor), ElementDecl.acceptPre(com.ibm.xml.parser.Visitor), Attlist.acceptPre(com.ibm.xml.parser.Visitor), AttDef.acceptPre(com.ibm.xml.parser.Visitor), EntityDecl.acceptPre(com.ibm.xml.parser.Visitor), TXNotation.acceptPre(com.ibm.xml.parser.Visitor), GeneralReference.acceptPre(com.ibm.xml.parser.Visitor), PseudoNode.acceptPre(com.ibm.xml.parser.Visitor)

Method Summary
 void acceptPost(Visitor visitor)
          Interface to be implemented which defines the accept operation of the visitor design pattern when the end of a Node is recognized when traversing the document object tree.
 void acceptPre(Visitor visitor)
          Interface to be implemented which defines the accept operation of the visitor design pattern when the start of a Node is recognized when traversing the document object tree.
 

Method Detail

acceptPre

public void acceptPre(Visitor visitor)
               throws java.lang.Exception
Interface to be implemented which defines the accept operation of the visitor design pattern when the start of a Node is recognized when traversing the document object tree.
Parameters:
visitor - The implemention of the Visitor operation (toXMLString, digest, ...)
Throws:
java.lang.Exception - Thrown if this Node can not be visitted, or traversal modification is requested.
See Also:
acceptPost(com.ibm.xml.parser.Visitor), Visitor, TreeTraversal, NonRecursivePreorderTreeTraversal, TreeTraversalException

acceptPost

public void acceptPost(Visitor visitor)
                throws java.lang.Exception
Interface to be implemented which defines the accept operation of the visitor design pattern when the end of a Node is recognized when traversing the document object tree.
Parameters:
visitor - The implemention of the Visitor operation (toXMLString, digest, ...)
Throws:
java.lang.Exception - Thrown if this Node can not be visitted, or traversal modification is requested.
See Also:
acceptPre(com.ibm.xml.parser.Visitor), Visitor, TreeTraversal, NonRecursivePreorderTreeTraversal, TreeTraversalException

XML Parser for Java 1.1.9