Package org.apache.jasper.compiler
Class ELFunctionMapper
java.lang.Object
org.apache.jasper.compiler.ELFunctionMapper
This class generates functions mappers for the EL expressions in the page.
Instead of a global mapper, a mapper is used for ecah call to EL
evaluator, thus avoiding the prefix overlapping and redefinition
issues.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
A visitor for the page. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
(package private) StringBuilder
(package private) StringBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
map
(Compiler compiler, Node.Nodes page) Creates the functions mappers for all EL expressions in the JSP page.
-
Field Details
-
currFunc
private int currFunc -
ds
-
ss
-
-
Constructor Details
-
ELFunctionMapper
public ELFunctionMapper()
-
-
Method Details
-
map
Creates the functions mappers for all EL expressions in the JSP page.- Parameters:
compiler
- Current compiler, mainly for accessing error dispatcher.page
- The current compilation unit.- Throws:
JasperException
-