org.apache.myfaces.el.unified.resolver
Class ScopedAttributeResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by org.apache.myfaces.el.unified.resolver.ScopedAttributeResolver

public final class ScopedAttributeResolver
extends javax.el.ELResolver

See JSF 1.2 spec section 5.6.2.7

Author:
Stan Silvert

Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
ScopedAttributeResolver()
          Creates a new instance of ScopedAttributeResolver
 
Method Summary
 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
 

Constructor Detail

ScopedAttributeResolver

public ScopedAttributeResolver()
Creates a new instance of ScopedAttributeResolver

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


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