|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.el.ELResolver javax.el.BeanELResolver org.apache.tiles.evaluator.el.TilesContextELResolver
public class TilesContextELResolver
Resolves properties of TilesRequestContext
and
TilesApplicationContext
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.el.BeanELResolver |
---|
javax.el.BeanELResolver.BeanProperties, javax.el.BeanELResolver.BeanProperty |
Field Summary | |
---|---|
protected Set<String> |
applicationProperties
Contains the properties of TilesApplicationContext . |
protected List<FeatureDescriptor> |
descriptors
The descriptors of TilesRequestContext and
TilesApplicationContext . |
protected Set<String> |
requestProperties
Contains the properties of TilesRequestContext . |
Fields inherited from class javax.el.ELResolver |
---|
RESOLVABLE_AT_DESIGN_TIME, TYPE |
Constructor Summary | |
---|---|
TilesContextELResolver()
Constructor. |
Method Summary | |
---|---|
protected void |
collectBeanInfo(Class<?> clazz,
List<FeatureDescriptor> list,
Set<String> properties)
Collects bean infos from a class and filling a list. |
Class<?> |
getCommonPropertyType(javax.el.ELContext context,
Object base)
|
Iterator<FeatureDescriptor> |
getFeatureDescriptors(javax.el.ELContext context,
Object base)
|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<FeatureDescriptor> descriptors
TilesRequestContext
and
TilesApplicationContext
.
protected Set<String> requestProperties
TilesRequestContext
.
protected Set<String> applicationProperties
TilesApplicationContext
.
Constructor Detail |
---|
public TilesContextELResolver()
Method Detail |
---|
public Class<?> getCommonPropertyType(javax.el.ELContext context, Object base)
getCommonPropertyType
in class javax.el.BeanELResolver
public Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context, Object base)
getFeatureDescriptors
in class javax.el.BeanELResolver
public Class<?> getType(javax.el.ELContext context, Object base, Object property)
getType
in class javax.el.BeanELResolver
public Object getValue(javax.el.ELContext context, Object base, Object property)
getValue
in class javax.el.BeanELResolver
public boolean isReadOnly(javax.el.ELContext context, Object base, Object property)
isReadOnly
in class javax.el.BeanELResolver
public void setValue(javax.el.ELContext context, Object base, Object property, Object value)
setValue
in class javax.el.BeanELResolver
protected void collectBeanInfo(Class<?> clazz, List<FeatureDescriptor> list, Set<String> properties)
clazz
- The class to be inspected.list
- The list to fill.properties
- The properties set to be filled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |