org.jplate.foundation.node
Interface NodeVisitorIfc<BC,LC>

Type Parameters:
BC - The branch context representing data type stored in branches.
LC - The leaf context representing data type stored in leaves.
All Superinterfaces:
VisitorIfc

public interface NodeVisitorIfc<BC,LC>
extends VisitorIfc

Defines the API for visiting nodes. Implementations can be written to define new operations against NodeIfc's without affecting change to existing implementations.

Modifications:
    $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
    $Revision: 479 $
    $Author: sfloess $
    $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/node/NodeVisitorIfc.java $
    

See Also:
VisitableIfc

Method Summary
 void visitBranch(BranchNodeIfc<BC,LC> branch)
          Visit a branch branch.
 void visitLeaf(LeafNodeIfc<BC,LC> leaf)
          Visit a leaf node.
 

Method Detail

visitLeaf

void visitLeaf(LeafNodeIfc<BC,LC> leaf)
               throws VisitException
Visit a leaf node.

Parameters:
leaf - The leaf node to visit.
Throws:
VisitException

visitBranch

void visitBranch(BranchNodeIfc<BC,LC> branch)
                 throws VisitException
Visit a branch branch.

Parameters:
branch - The branch node to visit.
Throws:
VisitException