org.zkoss.zkmax.bind.impl
Class BindExpressionBuilderEx

java.lang.Object
  extended by org.zkoss.zel.impl.lang.ExpressionBuilder
      extended by org.zkoss.bind.xel.zel.BindExpressionBuilder
          extended by 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
BindExpressionBuilderEx(java.lang.String expression, ELContext ctx)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class BindExpressionBuilder

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 class ExpressionBuilder
Throws:
ELException


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo