javax.el
Class BeanELResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by javax.el.BeanELResolver

public class BeanELResolver
extends ELResolver


Nested Class Summary
protected static class BeanELResolver.BeanProperties
           
protected static class BeanELResolver.BeanProperty
           
 
Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
BeanELResolver()
           
BeanELResolver(boolean readOnly)
           
 
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)
           
 Object invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)
           
 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

BeanELResolver

public BeanELResolver()

BeanELResolver

public BeanELResolver(boolean readOnly)
Method Detail

getValue

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

getType

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

setValue

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

isReadOnly

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

getFeatureDescriptors

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

getCommonPropertyType

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

invoke

public Object invoke(ELContext context,
                     Object base,
                     Object method,
                     Class<?>[] paramTypes,
                     Object[] params)
Overrides:
invoke in class ELResolver
Since:
EL 2.2

(Built by coreservlets)

As of July 2010, there were no online versions of the servlet 3.0, JSP 2.2, and EL 2.2 Javadocs, except as part of the huge Java EE 6 API. So, I built them myself from the Tomcat 7 source code.

Java EE TutorialsJava EE Training