Class Node.Visitor
java.lang.Object
org.apache.jasper.compiler.Node.Visitor
- Enclosing class:
Node
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.
- Author:
- Kin-man Chung, Jan Luehe, Shawn Bayern, Mark Roth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
This method provides a place to put actions that are common to all nodes.void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
visit
(Node.PlugIn n) void
void
void
void
void
void
void
void
void
protected void
Visit the body of a node, using the current visitor
-
Constructor Details
-
Visitor
public Visitor()
-
-
Method Details
-
doVisit
This method provides a place to put actions that are common to all nodes. Override this in the child visitor class if needed.- Parameters:
n
- The node to visit- Throws:
JasperException
-
visitBody
Visit the body of a node, using the current visitor- Parameters:
n
- The node to visit- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-
visit
- Throws:
JasperException
-