@ConsumerType public abstract class ELResolverBase extends javax.el.ELResolver implements Serializable
ELResolver. A subclasses must be designed to be instantiated as
a singleton because the JavaDoc for Application.getELResolver() indicates that an ELResolver should
be a singleton instance. This class implements the Serializable interface as a clue to subclasses that they
should implement a stateless, thread-safe singleton design. Subclasses should call the static addFeatureDescriptor(String, Class) method from a static block in order to add to the list of feature
descriptors.| Modifier | Constructor and Description |
|---|---|
|
ELResolverBase() |
protected |
ELResolverBase(FeatureDescriptor... featureDescriptors) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addFeatureDescriptor(String featureName,
Class<?> classType)
Deprecated.
|
Iterator<FeatureDescriptor> |
getFeatureDescriptors(javax.el.ELContext elContext,
Object base) |
Class<?> |
getType(javax.el.ELContext elContext,
Object base,
Object property) |
Object |
getValue(javax.el.ELContext elContext,
Object base,
Object property) |
boolean |
isReadOnly(javax.el.ELContext elContext,
Object base,
Object property) |
protected static FeatureDescriptor |
newFeatureDescriptor(String featureName,
Class<?> classType) |
protected abstract Object |
resolveProperty(javax.el.ELContext elContext,
Object base,
String property) |
protected abstract Object |
resolveVariable(javax.el.ELContext elContext,
String varName) |
void |
setValue(javax.el.ELContext elContext,
Object base,
Object property,
Object value) |
public ELResolverBase()
protected ELResolverBase(FeatureDescriptor... featureDescriptors)
@Deprecated protected static void addFeatureDescriptor(String featureName, Class<?> classType)
newFeatureDescriptor(java.lang.String, java.lang.Class) and ELResolverBase(java.beans.FeatureDescriptor...) instead.featureName - classType - protected static FeatureDescriptor newFeatureDescriptor(String featureName, Class<?> classType)
public Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext elContext, Object base)
getFeatureDescriptors in class javax.el.ELResolverpublic Class<?> getType(javax.el.ELContext elContext, Object base, Object property)
getType in class javax.el.ELResolverpublic Object getValue(javax.el.ELContext elContext, Object base, Object property)
getValue in class javax.el.ELResolverpublic boolean isReadOnly(javax.el.ELContext elContext,
Object base,
Object property)
isReadOnly in class javax.el.ELResolverpublic void setValue(javax.el.ELContext elContext,
Object base,
Object property,
Object value)
setValue in class javax.el.ELResolverprotected abstract Object resolveProperty(javax.el.ELContext elContext, Object base, String property)
Copyright © 2020 Liferay, Inc.. All rights reserved.