Package org.zkoss.zkmax.bind.impl
Class BindExpressionBuilderEx
- java.lang.Object
-
- org.zkoss.zel.impl.lang.ExpressionBuilder
-
- org.zkoss.bind.xel.zel.BindExpressionBuilder
-
- org.zkoss.zkmax.bind.impl.BindExpressionBuilderEx
-
- All Implemented Interfaces:
NodeVisitor
public class BindExpressionBuilderEx extends BindExpressionBuilder
An extension of BindExpressionBuilder to do a lazy initiating EL expression construction.- Since:
- 8.0.0
- Author:
- jumperchen
-
-
Field Summary
-
Fields inherited from class org.zkoss.bind.xel.zel.BindExpressionBuilder
_ctx
-
Fields inherited from class org.zkoss.zel.impl.lang.ExpressionBuilder
expression, fnMapper, varMapper
-
-
Constructor Summary
Constructors Constructor Description BindExpressionBuilderEx(java.lang.String expression, ELContext ctx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildTrackerNode(java.lang.Object root)
ValueExpression
createValueExpression(java.lang.Class<?> expectedType)
java.lang.String
getFieldNameIfAny()
java.util.List<java.lang.String>
getFieldNamesIfAny()
Node
getTargetNode()
static java.lang.String
toNodeString(Node next, java.lang.StringBuilder path)
protected void
visitNode(Node node)
-
Methods inherited from class org.zkoss.bind.xel.zel.BindExpressionBuilder
addTracking, visit
-
Methods inherited from class org.zkoss.zel.impl.lang.ExpressionBuilder
build, createMethodExpression, createNode
-
-
-
-
Constructor Detail
-
BindExpressionBuilderEx
public BindExpressionBuilderEx(java.lang.String expression, ELContext ctx) throws ELException
- Throws:
ELException
-
-
Method Detail
-
visitNode
protected void visitNode(Node node)
- Overrides:
visitNode
in classBindExpressionBuilder
-
getTargetNode
public Node getTargetNode()
-
toNodeString
public static java.lang.String toNodeString(Node next, java.lang.StringBuilder path)
-
getFieldNameIfAny
public java.lang.String getFieldNameIfAny()
-
getFieldNamesIfAny
public java.util.List<java.lang.String> getFieldNamesIfAny()
-
buildTrackerNode
public void buildTrackerNode(java.lang.Object root)
-
createValueExpression
public ValueExpression createValueExpression(java.lang.Class<?> expectedType) throws ELException
- Overrides:
createValueExpression
in classExpressionBuilder
- Throws:
ELException
-
-