Class ELFunctionMapper.ELFunctionVisitor
java.lang.Object
org.apache.jasper.compiler.Node.Visitor
org.apache.jasper.compiler.ELFunctionMapper.ELFunctionVisitor
- Enclosing class:
ELFunctionMapper
A visitor for the page. The places where EL is allowed are scanned
for functions, and if found functions mappers are created.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddoMap(ELNode.Nodes el) Creates function mappers, if needed, from ELNodesprivate voiddoMap(Node.JspAttribute attr) private Stringprivate StringmatchMap(ArrayList<ELNode.Function> functions) Find the name of the function mapper for an EL.voidvoidvoidvoidvoidvoidvoidvisit(Node.PlugIn n) voidvoidvoid
-
Field Details
-
gMap
-
-
Constructor Details
-
ELFunctionVisitor
ELFunctionVisitor()
-
-
Method Details
-
visit
- Overrides:
visitin classNode.Visitor- Throws:
JasperException
-
visit
- Overrides:
visitin classNode.Visitor- Throws:
JasperException
-
visit
- Overrides:
visitin classNode.Visitor- Throws:
JasperException
-
visit
- Overrides:
visitin classNode.Visitor- Throws:
JasperException
-
visit
- Overrides:
visitin classNode.Visitor- Throws:
JasperException
-
visit
- Overrides:
visitin classNode.Visitor- Throws:
JasperException
-
visit
- Overrides:
visitin classNode.Visitor- Throws:
JasperException
-
visit
- Overrides:
visitin classNode.Visitor- Throws:
JasperException
-
visit
- Overrides:
visitin classNode.Visitor- Throws:
JasperException
-
visit
- Overrides:
visitin classNode.Visitor- Throws:
JasperException
-
doMap
- Throws:
JasperException
-
doMap
Creates function mappers, if needed, from ELNodes- Throws:
JasperException
-
matchMap
Find the name of the function mapper for an EL. Reuse a previously generated one if possible.- Parameters:
functions- An ArrayList of ELNode.Function instances that represents the functions in an EL- Returns:
- A previous generated function mapper name that can be used by this EL; null if none found.
-
getMapName
-