Contents | Package | Class | Tree | Deprecated | Index | Help XML for Java 1.0.4
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface com.ibm.xml.parser.Visitee

Implementing Classes:
Child

public 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, acceptPre, acceptPre, acceptPre, acceptPre, acceptPre, acceptPre, acceptPre, acceptPre, acceptPre, acceptPre, acceptPre, acceptPre, acceptPre, acceptPre

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, 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, Visitor, TreeTraversal, NonRecursivePreorderTreeTraversal, TreeTraversalException

Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS