org.apache.tiles.el
Class TilesContextELResolver

Package class diagram package TilesContextELResolver
java.lang.Object
  extended by javax.el.ELResolver
      extended by org.apache.tiles.el.TilesContextELResolver

public class TilesContextELResolver
extends ELResolver

Resolves properties of Request and ApplicationContext.

Since:
2.2.1
Version:
$Rev: 1049676 $ $Date: 2010-12-15 14:38:54 -0500 (Wed, 15 Dec 2010) $

Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
TilesContextELResolver(ELResolver beanElResolver)
          Constructor.
 
Method Summary
 Class<?> getCommonPropertyType(ELContext context, Object base)
          
 Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
          
 Class<?> getType(ELContext context, Object base, Object property)
          
 Object getValue(ELContext context, Object base, Object property)
          
 boolean isReadOnly(ELContext context, Object base, Object property)
          
 void setValue(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
 

Constructor Detail

TilesContextELResolver

public TilesContextELResolver(ELResolver beanElResolver)
Constructor.

Parameters:
beanElResolver - The used bean resolver.
Method Detail

getCommonPropertyType

public Class<?> getCommonPropertyType(ELContext context,
                                      Object base)

Specified by:
getCommonPropertyType in class ELResolver

getFeatureDescriptors

public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
                                                         Object base)

Specified by:
getFeatureDescriptors in class ELResolver

getType

public Class<?> getType(ELContext context,
                        Object base,
                        Object property)

Specified by:
getType in class ELResolver

getValue

public Object getValue(ELContext context,
                       Object base,
                       Object property)

Specified by:
getValue in class ELResolver

isReadOnly

public boolean isReadOnly(ELContext context,
                          Object base,
                          Object property)

Specified by:
isReadOnly in class ELResolver

setValue

public void setValue(ELContext context,
                     Object base,
                     Object property,
                     Object value)

Specified by:
setValue in class ELResolver


Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.