net.sf.easyweb4j.model
Class ModelELResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by net.sf.easyweb4j.model.ModelELResolver

public class ModelELResolver
extends javax.el.ELResolver


Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
ModelELResolver(ModelIntrospector introspector)
           
 
Method Summary
 Class<?> getCommonPropertyType(javax.el.ELContext arg0, Object arg1)
           
 Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext arg0, Object arg1)
           
 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

ModelELResolver

public ModelELResolver(ModelIntrospector introspector)
Method Detail

getCommonPropertyType

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

getFeatureDescriptors

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

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

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

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

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


Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.