org.apache.myfaces.el.convert
Class PropertyResolverToELResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by org.apache.myfaces.el.convert.PropertyResolverToELResolver

public final class PropertyResolverToELResolver
extends javax.el.ELResolver

Wrapper that converts a VariableResolver into an ELResolver. See JSF 1.2 spec section 5.6.1.6

Version:
$Revision: 1215315 $ $Date: 2011-12-16 17:06:49 -0500 (Fri, 16 Dec 2011) $
Author:
Stan Silvert (latest modification by $Author: lu4242 $), Mathias Broekelmann

Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
PropertyResolverToELResolver(PropertyResolver propertyResolver)
          Creates a new instance of PropertyResolverToELResolver
 
Method Summary
 Class<?> getCommonPropertyType(javax.el.ELContext context, Object base)
           
protected  javax.el.ExpressionFactory getExpressionFactory()
           
 Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context, Object base)
           
 PropertyResolver getPropertyResolver()
           
 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 setExpressionFactory(javax.el.ExpressionFactory expressionFactory)
           
 void setValue(javax.el.ELContext context, Object base, Object property, Object value)
           
 
Methods inherited from class javax.el.ELResolver
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyResolverToELResolver

public PropertyResolverToELResolver(PropertyResolver propertyResolver)
Creates a new instance of PropertyResolverToELResolver

Method Detail

setValue

public void setValue(javax.el.ELContext context,
                     Object base,
                     Object property,
                     Object value)
              throws NullPointerException,
                     javax.el.PropertyNotFoundException,
                     javax.el.PropertyNotWritableException,
                     javax.el.ELException
Specified by:
setValue in class javax.el.ELResolver
Throws:
NullPointerException
javax.el.PropertyNotFoundException
javax.el.PropertyNotWritableException
javax.el.ELException

isReadOnly

public boolean isReadOnly(javax.el.ELContext context,
                          Object base,
                          Object property)
                   throws NullPointerException,
                          javax.el.PropertyNotFoundException,
                          javax.el.ELException
Specified by:
isReadOnly in class javax.el.ELResolver
Throws:
NullPointerException
javax.el.PropertyNotFoundException
javax.el.ELException

getValue

public Object getValue(javax.el.ELContext context,
                       Object base,
                       Object property)
                throws NullPointerException,
                       javax.el.PropertyNotFoundException,
                       javax.el.ELException
Specified by:
getValue in class javax.el.ELResolver
Throws:
NullPointerException
javax.el.PropertyNotFoundException
javax.el.ELException

getType

public Class<?> getType(javax.el.ELContext context,
                        Object base,
                        Object property)
                 throws NullPointerException,
                        javax.el.PropertyNotFoundException,
                        javax.el.ELException
Specified by:
getType in class javax.el.ELResolver
Throws:
NullPointerException
javax.el.PropertyNotFoundException
javax.el.ELException

getFeatureDescriptors

public Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context,
                                                         Object base)
Specified by:
getFeatureDescriptors in class javax.el.ELResolver

getCommonPropertyType

public Class<?> getCommonPropertyType(javax.el.ELContext context,
                                      Object base)
Specified by:
getCommonPropertyType in class javax.el.ELResolver

getExpressionFactory

protected javax.el.ExpressionFactory getExpressionFactory()

setExpressionFactory

public void setExpressionFactory(javax.el.ExpressionFactory expressionFactory)

getPropertyResolver

public PropertyResolver getPropertyResolver()


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.