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