public class ScopedAttributeELResolver
extends javax.el.ELResolver
Constructor and Description |
---|
ScopedAttributeELResolver() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<java.lang.String> |
getCommonPropertyType(javax.el.ELContext context,
java.lang.Object base) |
java.util.Iterator<java.beans.FeatureDescriptor> |
getFeatureDescriptors(javax.el.ELContext context,
java.lang.Object base) |
java.lang.Class<java.lang.Object> |
getType(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property) |
java.lang.Object |
getValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property) |
boolean |
isReadOnly(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property) |
void |
setValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value) |
public java.lang.Object getValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property) throws java.lang.NullPointerException, javax.el.PropertyNotFoundException, javax.el.ELException
getValue
in class javax.el.ELResolver
java.lang.NullPointerException
javax.el.PropertyNotFoundException
javax.el.ELException
public java.lang.Class<java.lang.Object> getType(javax.el.ELContext context, java.lang.Object base, java.lang.Object property) throws java.lang.NullPointerException, javax.el.PropertyNotFoundException, javax.el.ELException
getType
in class javax.el.ELResolver
context
- The EL context for this evaluationbase
- The base object on which the property is to be foundproperty
- The property whose type is to be returnedjava.lang.NullPointerException
- If the supplied context is null
javax.el.PropertyNotFoundException
- 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 readablejavax.el.ELException
- Wraps any exception throw whilst resolving the propertypublic void setValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value) throws java.lang.NullPointerException, javax.el.PropertyNotFoundException, javax.el.PropertyNotWritableException, javax.el.ELException
setValue
in class javax.el.ELResolver
context
- 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 tojava.lang.NullPointerException
- If the supplied context is null
javax.el.PropertyNotFoundException
- If the base/property combination provided to the resolver is
one that the resolver can handle but no match was foundjavax.el.PropertyNotWritableException
- If the base/property combination provided to the resolver is
one that the resolver can handle but the property was not
writablejavax.el.ELException
- Wraps any exception throw whilst resolving the propertypublic boolean isReadOnly(javax.el.ELContext context, java.lang.Object base, java.lang.Object property) throws java.lang.NullPointerException, javax.el.PropertyNotFoundException, javax.el.ELException
isReadOnly
in class javax.el.ELResolver
context
- The EL context for this evaluationbase
- The base object on which the property is to be foundproperty
- The property to be checked for read only statustrue
if the identified property is read only,
otherwise false
java.lang.NullPointerException
- If the supplied context is null
javax.el.PropertyNotFoundException
- If the base/property combination provided to the resolver is
one that the resolver can handle but no match was foundjavax.el.ELException
- Wraps any exception throw whilst resolving the propertypublic java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context, java.lang.Object base)
getFeatureDescriptors
in class javax.el.ELResolver
public java.lang.Class<java.lang.String> getCommonPropertyType(javax.el.ELContext context, java.lang.Object base)
getCommonPropertyType
in class javax.el.ELResolver
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.