public class ExpressionBuilder extends java.lang.Object implements NodeVisitor
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
expression |
protected FunctionMapper |
fnMapper |
protected VariableMapper |
varMapper |
Constructor and Description |
---|
ExpressionBuilder(java.lang.String expression,
ELContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected Node |
build() |
MethodExpression |
createMethodExpression(java.lang.Class<?> expectedReturnType,
java.lang.Class<?>[] expectedParamTypes) |
static Node |
createNode(java.lang.String expr) |
ValueExpression |
createValueExpression(java.lang.Class<?> expectedType) |
void |
visit(Node node) |
protected FunctionMapper fnMapper
protected VariableMapper varMapper
protected java.lang.String expression
public ExpressionBuilder(java.lang.String expression, ELContext ctx) throws ELException
ELException
public static final Node createNode(java.lang.String expr) throws ELException
ELException
protected Node build() throws ELException
ELException
public void visit(Node node) throws ELException
visit
in interface NodeVisitor
ELException
public ValueExpression createValueExpression(java.lang.Class<?> expectedType) throws ELException
ELException
public MethodExpression createMethodExpression(java.lang.Class<?> expectedReturnType, java.lang.Class<?>[] expectedParamTypes) throws ELException
ELException
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.