org.apache.jasper.compiler
Class Node.Visitor
public static
class
Node.Visitor
extends Object
A visitor class for visiting the node. This class also provides the
default action (i.e. nop) for each of the child class of the Node. An
actual visitor should extend this class and supply the visit method for
the nodes that it cares.
protected void doVisit(Node n)
This method provides a place to put actions that are common to all
nodes. Override this in the child visitor class if need to.
protected void visitBody(Node n)
Visit the body of a node, using the current visitor
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.