org.apache.myfaces.el
Class FlashELResolver

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

public class FlashELResolver
extends javax.el.ELResolver

Resolver for Flash object

Version:
$Revision: 1176074 $ $Date: 2011-09-26 16:37:33 -0500 (Mon, 26 Sep 2011) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
FlashELResolver()
           
 
Method Summary
protected  ExternalContext externalContext(javax.el.ELContext context)
           
protected  FacesContext facesContext(javax.el.ELContext context)
           
 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 elContext, Object base, Object property)
           
 boolean isReadOnly(javax.el.ELContext context, Object base, Object property)
           
protected  FeatureDescriptor makeDescriptor(String name, String description, Class<?> elResolverType)
           
 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

FlashELResolver

public FlashELResolver()
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 elContext,
                       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

facesContext

protected FacesContext facesContext(javax.el.ELContext context)

externalContext

protected ExternalContext externalContext(javax.el.ELContext context)

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

makeDescriptor

protected FeatureDescriptor makeDescriptor(String name,
                                           String description,
                                           Class<?> elResolverType)

getCommonPropertyType

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


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