@Deprecated public final class ELResolverImpl extends ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
Constructor and Description |
---|
ELResolverImpl(VariableResolver variableResolver)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getCommonPropertyType(ELContext context,
Object base)
Deprecated.
|
static ELResolver |
getDefaultResolver()
Deprecated.
Use
ELContextImpl.getDefaultResolver() instead. This
method will be removed in Tomcat 8.0.x onwards. |
Iterator<FeatureDescriptor> |
getFeatureDescriptors(ELContext context,
Object base)
Deprecated.
|
Class<?> |
getType(ELContext context,
Object base,
Object property)
Deprecated.
|
Object |
getValue(ELContext context,
Object base,
Object property)
Deprecated.
|
boolean |
isReadOnly(ELContext context,
Object base,
Object property)
Deprecated.
|
void |
setValue(ELContext context,
Object base,
Object property,
Object value)
Deprecated.
|
invoke
public ELResolverImpl(VariableResolver variableResolver)
public Object getValue(ELContext context, Object base, Object property) throws NullPointerException, PropertyNotFoundException, ELException
getValue
in class 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 returnedNullPointerException
- If the supplied context is null
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 readableELException
- Wraps any exception throw whilst resolving the propertypublic Class<?> getType(ELContext context, Object base, Object property) throws NullPointerException, PropertyNotFoundException, ELException
getType
in class 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 returnedNullPointerException
- If the supplied context is null
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 readableELException
- Wraps any exception throw whilst resolving the propertypublic void setValue(ELContext context, Object base, Object property, Object value) throws NullPointerException, PropertyNotFoundException, PropertyNotWritableException, ELException
setValue
in class 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 toNullPointerException
- If the supplied context is null
PropertyNotFoundException
- 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 propertypublic boolean isReadOnly(ELContext context, Object base, Object property) throws NullPointerException, PropertyNotFoundException, ELException
isReadOnly
in class 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
NullPointerException
- If the supplied context is null
PropertyNotFoundException
- If the base/property combination provided to the resolver is
one that the resolver can handle but no match was foundELException
- Wraps any exception throw whilst resolving the propertypublic Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
getFeatureDescriptors
in class ELResolver
public Class<?> getCommonPropertyType(ELContext context, Object base)
getCommonPropertyType
in class ELResolver
@Deprecated public static ELResolver getDefaultResolver()
ELContextImpl.getDefaultResolver()
instead. This
method will be removed in Tomcat 8.0.x onwards.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.