public class TilesContextBeanELResolver
extends ELResolver
Constructor and Description |
---|
TilesContextBeanELResolver() |
Modifier and Type | Method and Description |
---|---|
protected void |
collectBeanInfo(java.util.Map<java.lang.String,? extends java.lang.Object> map,
java.util.List<java.beans.FeatureDescriptor> list)
Collects bean infos from a map's values and filling a list.
|
protected java.lang.Object |
findObjectByProperty(ELContext context,
java.lang.Object property)
Finds an object in request, session or application scope, in this order.
|
java.lang.Class<?> |
getCommonPropertyType(ELContext context,
java.lang.Object base) |
java.util.Iterator<java.beans.FeatureDescriptor> |
getFeatureDescriptors(ELContext context,
java.lang.Object base) |
protected java.lang.Object |
getObject(java.util.Map<java.lang.String,? extends java.lang.Object> map,
java.lang.String property)
Returns an object from a map in a null-safe manner.
|
java.lang.Class<?> |
getType(ELContext context,
java.lang.Object base,
java.lang.Object property) |
java.lang.Object |
getValue(ELContext context,
java.lang.Object base,
java.lang.Object property) |
boolean |
isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property) |
void |
setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value) |
public java.lang.Class<?> getCommonPropertyType(ELContext context, java.lang.Object base)
public java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(ELContext context, java.lang.Object base)
public java.lang.Class<?> getType(ELContext context, java.lang.Object base, java.lang.Object property)
public java.lang.Object getValue(ELContext context, java.lang.Object base, java.lang.Object property)
public boolean isReadOnly(ELContext context, java.lang.Object base, java.lang.Object property)
public void setValue(ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)
protected void collectBeanInfo(java.util.Map<java.lang.String,? extends java.lang.Object> map, java.util.List<java.beans.FeatureDescriptor> list)
map
- The map containing the bean to be inspected.list
- The list to fill.protected java.lang.Object findObjectByProperty(ELContext context, java.lang.Object property)
context
- The context to use.property
- The property used as an attribute name.null
otherwise.protected java.lang.Object getObject(java.util.Map<java.lang.String,? extends java.lang.Object> map, java.lang.String property)
map
- The map to use.property
- The property to use as a key.null
otherwise.