public class ExpressionBuilder extends Object implements NodeVisitor
| Modifier and Type | Field and Description |
|---|---|
protected String |
expression |
protected FunctionMapper |
fnMapper |
protected VariableMapper |
varMapper |
| Constructor and Description |
|---|
ExpressionBuilder(String expression,
ELContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
build() |
MethodExpression |
createMethodExpression(Class<?> expectedReturnType,
Class<?>[] expectedParamTypes) |
static Node |
createNode(String expr) |
ValueExpression |
createValueExpression(Class<?> expectedType) |
void |
visit(Node node) |
protected FunctionMapper fnMapper
protected VariableMapper varMapper
protected String expression
public ExpressionBuilder(String expression, ELContext ctx) throws ELException
ELExceptionpublic static final Node createNode(String expr) throws ELException
ELExceptionprotected Node build() throws ELException
ELExceptionpublic void visit(Node node) throws ELException
visit in interface NodeVisitorELExceptionpublic ValueExpression createValueExpression(Class<?> expectedType) throws ELException
ELExceptionpublic MethodExpression createMethodExpression(Class<?> expectedReturnType, Class<?>[] expectedParamTypes) throws ELException
ELExceptionCopyright © 2022. All rights reserved.