Package com.sun.el.lang
Class ExpressionBuilder
java.lang.Object
com.sun.el.lang.ExpressionBuilder
- All Implemented Interfaces:
NodeVisitor
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ExpressionBuilder.SoftConcurrentHashMapprivate Stringprivate FunctionMapperprivate VariableMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Nodebuild()createMethodExpression(Class expectedReturnType, Class[] expectedParamTypes) static NodecreateNode(String expr) private static NodecreateNodeInternal(String expr) createValueExpression(Class expectedType) private voidScan the expression nodes and captures the functions and variables used in this expression.void
-
Field Details
-
cache
-
fnMapper
-
varMapper
-
expression
-
-
Constructor Details
-
ExpressionBuilder
- Throws:
ELException
-
-
Method Details
-
createNode
- Throws:
ELException
-
createNodeInternal
- Throws:
ELException
-
prepare
Scan the expression nodes and captures the functions and variables used in this expression. This ensures that any changes to the functions or variables mappings during the expression will not affect the evaluation of this expression, as the functions and variables are bound and resolved at parse time, as specified in the spec.- Throws:
ELException
-
build
- Throws:
ELException
-
visit
- Specified by:
visitin interfaceNodeVisitor- Throws:
ELException
-
createValueExpression
- Throws:
ELException
-
createMethodExpression
public MethodExpression createMethodExpression(Class expectedReturnType, Class[] expectedParamTypes) throws ELException - Throws:
ELException
-