Package org.apache.jasper.compiler
Class Node.Visitor
java.lang.Object
org.apache.jasper.compiler.Node.Visitor
- Direct Known Subclasses:
Collector.CollectVisitor
,Dumper.DumpVisitor
,ELFunctionMapper.ELFunctionVisitor
,ErrorDispatcher.ErrorVisitor
,Generator.GenerateVisitor
,PageDataImpl.FirstPassVisitor
,PageDataImpl.SecondPassVisitor
,ScriptingVariabler.CustomTagCounter
,ScriptingVariabler.ScriptingVariableVisitor
,SmapUtil.SmapGenVisitor
,TagFileProcessor.TagFileDirectiveVisitor
,TagFileProcessor.TagFileLoaderVisitor
,TextOptimizer.TextCatVisitor
,Validator.DirectiveVisitor
,Validator.TagExtraInfoVisitor
,Validator.ValidateVisitor
,Validator.ValidateVisitor.NamedAttributeVisitor
- 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.
-
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 need to.- Throws:
JasperException
-
visitBody
Visit the body of a node, using the current visitor- 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
-