public class BindELContext extends XelELContext
Constructor and Description |
---|
BindELContext(XelContext xelc) |
Modifier and Type | Method and Description |
---|---|
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) |
void |
putContext(java.lang.Class key,
java.lang.Object contextObject)
Add an object to this EL context under the given key.
|
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) |
getELResolver, getFunctionMapper, getVariableMapper, getXelContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, setLocale, setPropertyResolved, setPropertyResolved
public BindELContext(XelContext xelc)
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 java.util.Set<Property> getNotifys(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.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. dependsOnPath
- the depends-on property name series; e.g. "vm.firstname"dependsOnComp
- the depends-on component associated with the depends-on property name series binding; e.g. "vm.firstname"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)
public void putContext(java.lang.Class key, java.lang.Object contextObject)
ELContext
putContext
in class ELContext
key
- The key under which to store the objectcontextObject
- The object to addCopyright © 2005-2011 Potix Corporation. All Rights Reserved.