|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zel.ELContext org.zkoss.xel.zel.XelELContext org.zkoss.bind.xel.zel.BindELContext
public class BindELContext
ELContext for Binding.
Constructor Summary | |
---|---|
BindELContext(XelContext xelc)
|
Method Summary | |
---|---|
static void |
addDependsOnTracking(Binding srcBinding,
java.util.List<java.lang.String> srcPath,
Component srcComp,
java.lang.String dependsOnPath,
Component dependsOnComp)
Prepare the dependsOn nodes |
static void |
addDependsOnTracking(Binding srcBinding,
java.util.List<java.lang.String> srcPath,
java.lang.String dependsOnBasepath,
java.lang.String dependsOnProp)
Prepare the dependsOn nodes |
static void |
addDependsOnTrackings(java.lang.reflect.Method m,
java.lang.String basepath,
java.util.List<java.lang.String> srcpath,
Binding binding,
BindContext ctx)
|
static void |
addModel(Component comp,
java.lang.Object model)
|
static void |
addNotifys(java.lang.reflect.Method m,
java.lang.Object base,
java.lang.String prop,
java.lang.Object value,
BindContext ctx)
|
static void |
addNotifys(java.lang.Object base,
java.lang.String prop,
java.lang.Object value,
BindContext ctx)
|
static void |
addNotifys(java.util.Set<Property> props,
BindContext ctx)
|
static java.lang.String |
appendFields(java.lang.String prefix,
java.lang.String field)
|
java.lang.Object |
getAttribute(java.lang.String name)
|
BindContext |
getBindContext()
|
Binding |
getBinding()
|
static java.lang.String |
getModelName(Component comp)
|
static java.util.Set<Property> |
getNotifys(BindContext ctx)
|
static java.util.Set<Property> |
getNotifys(java.lang.reflect.Method m,
java.lang.Object base,
java.lang.String prop,
java.lang.Object value,
BindContext ctx)
|
boolean |
ignoreTracker()
|
static boolean |
isBracket(java.lang.String script)
|
static boolean |
isImmutable(java.lang.Object value)
Returns whether the specified Object is an immutable object |
protected ELResolver |
newELResolver(XelContext xelc)
|
static java.lang.String |
pathToString(java.util.List<java.lang.String> path)
|
static Property |
prepareProperty(java.lang.Object base,
java.lang.String prop,
java.lang.Object value,
BindContext ctx)
|
java.lang.Object |
removeAttribute(java.lang.String name)
Removes the attribute, if any. |
static java.lang.Object |
removeModel(Component comp)
|
java.lang.Object |
setAttribute(java.lang.String name,
java.lang.Object value)
|
static java.lang.String |
toNodeString(Node next,
java.lang.StringBuffer path)
|
static java.lang.String |
toNodeString(Node next,
java.lang.StringBuilder path)
|
Methods inherited from class org.zkoss.xel.zel.XelELContext |
---|
getELResolver, getFunctionMapper, getVariableMapper, getXelContext |
Methods inherited from class org.zkoss.zel.ELContext |
---|
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, putContext, setLocale, setPropertyResolved, setPropertyResolved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BindELContext(XelContext xelc)
Method Detail |
---|
protected ELResolver newELResolver(XelContext xelc)
newELResolver
in class XelELContext
public Binding getBinding()
public BindContext getBindContext()
public boolean ignoreTracker()
public java.lang.Object getAttribute(java.lang.String name)
public java.lang.Object setAttribute(java.lang.String name, java.lang.Object value)
public java.lang.Object removeAttribute(java.lang.String name)
public static Property prepareProperty(java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)
public static java.util.Set<Property> getNotifys(java.lang.reflect.Method m, java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)
public static void addNotifys(java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)
public static void addNotifys(java.lang.reflect.Method m, java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)
public static void addNotifys(java.util.Set<Property> props, BindContext ctx)
public static java.util.Set<Property> getNotifys(BindContext ctx)
public static java.lang.String toNodeString(Node next, java.lang.StringBuilder path)
public static java.lang.String toNodeString(Node next, java.lang.StringBuffer path)
public static boolean isBracket(java.lang.String script)
public static java.lang.String appendFields(java.lang.String prefix, java.lang.String field)
public static void addDependsOnTrackings(java.lang.reflect.Method m, java.lang.String basepath, java.util.List<java.lang.String> srcpath, Binding binding, BindContext ctx)
public static java.lang.String pathToString(java.util.List<java.lang.String> path)
public static void addDependsOnTracking(Binding srcBinding, java.util.List<java.lang.String> srcPath, java.lang.String dependsOnBasepath, java.lang.String dependsOnProp)
srcBinding
- associated binding of the source dependent field; e.g. srcPath
- the source dependent field name series in list. e.g. "vm", "fullname" for "vm.fullname".dependsOnBasepath
- the base path for the depends-on field; e.g. the "vm" of the "vm.firstname"dependsOnProp
- the property name of the depends-on field; e.g. the "firstname" of the "vm.firstname"public static void addDependsOnTracking(Binding srcBinding, java.util.List<java.lang.String> srcPath, Component srcComp, java.lang.String dependsOnPath, Component dependsOnComp)
srcBinding
- the binding with the source dependent field; e.g. srcPath
- the source dependent field name series in list; e.g. ["vm", "fullname"] for "vm.fullname".srcComp
- the source component associated with the binding; e.g. public static boolean isImmutable(java.lang.Object value)
public static java.lang.String getModelName(Component comp)
public static void addModel(Component comp, java.lang.Object model)
public static java.lang.Object removeModel(Component comp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |