org.openfaces.util
Class NullTypeELResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by org.openfaces.util.NullTypeELResolver

public class NullTypeELResolver
extends javax.el.ELResolver


Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
NullTypeELResolver()
           
 
Method Summary
 java.lang.Class<?> getCommonPropertyType(javax.el.ELContext context, java.lang.Object base)
           
 java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context, java.lang.Object base)
           
 java.lang.Class<?> getType(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)
           
 java.lang.Object getValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)
           
static boolean isActive()
           
 boolean isReadOnly(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)
           
static void setActive(boolean active)
           
 void setValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)
           
 
Methods inherited from class javax.el.ELResolver
invoke
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullTypeELResolver

public NullTypeELResolver()
Method Detail

setActive

public static void setActive(boolean active)

isActive

public static boolean isActive()

getType

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

getCommonPropertyType

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

getFeatureDescriptors

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

getValue

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

isReadOnly

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

setValue

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


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.