public class BindELResolver extends XelELResolver
XelELResolver.StandardBeanNameResolver
Modifier and Type | Field and Description |
---|---|
protected PathELResolver |
_pathResolver |
protected CompositeELResolver |
_resolver |
_ctx
RESOLVABLE_AT_DESIGN_TIME, TYPE
Constructor and Description |
---|
BindELResolver(XelContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected ELResolver |
getELResolver() |
protected ImplicitObjectELResolver |
getImplicitResolver() |
protected ELResolver |
getSuperELResolver() |
java.lang.Object |
getValue(ELContext ctx,
java.lang.Object base,
java.lang.Object property) |
protected void |
init() |
java.lang.Object |
invoke(ELContext ctx,
java.lang.Object base,
java.lang.Object method,
java.lang.Class[] paramTypes,
java.lang.Object[] params)
Invokes a method on the the given object.
|
void |
setValue(ELContext ctx,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value) |
protected void |
tieValue(ELContext elCtx,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value,
boolean allownotify) |
getCommonPropertyType, getFeatureDescriptors, getType, getXelContext, isReadOnly, resolve
convertToType
protected CompositeELResolver _resolver
protected PathELResolver _pathResolver
public BindELResolver(XelContext ctx)
protected void init()
protected ELResolver getSuperELResolver()
protected ELResolver getELResolver()
getELResolver
in class XelELResolver
protected ImplicitObjectELResolver getImplicitResolver()
public java.lang.Object getValue(ELContext ctx, java.lang.Object base, java.lang.Object property) throws PropertyNotFoundException, ELException
getValue
in class XelELResolver
ctx
- The EL context for this evaluationbase
- The base object on which the property is to be foundproperty
- The property whose value is to be returnedPropertyNotFoundException
- If the base/property combination provided to the resolver is
one that the resolver can handle but no match was found or a
match was found but was not readableELException
- Wraps any exception throw whilst resolving the propertypublic java.lang.Object invoke(ELContext ctx, java.lang.Object base, java.lang.Object method, java.lang.Class[] paramTypes, java.lang.Object[] params) throws MethodNotFoundException
ELResolver
null
.invoke
in class XelELResolver
ctx
- The EL context for this evaluationbase
- The base object on which the method is to be foundmethod
- The method to invokeparamTypes
- The types of the parameters of the method to invokeparams
- The parameters with which to invoke the methodnull
MethodNotFoundException
public void setValue(ELContext ctx, java.lang.Object base, java.lang.Object property, java.lang.Object value) throws PropertyNotFoundException, PropertyNotWritableException, ELException
setValue
in class XelELResolver
ctx
- The EL context for this evaluationbase
- The base object on which the property is to be foundproperty
- The property whose value is to be setvalue
- The value to set the property toPropertyNotFoundException
- If the base/property combination provided to the resolver is
one that the resolver can handle but no match was foundPropertyNotWritableException
- If the base/property combination provided to the resolver is
one that the resolver can handle but the property was not
writableELException
- Wraps any exception throw whilst resolving the propertyprotected void tieValue(ELContext elCtx, java.lang.Object base, java.lang.Object property, java.lang.Object value, boolean allownotify)
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.