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: 791709 $ $Date: 2009-07-07 00:40:32 -0500 (Tue, 07 Jul 2009) $
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  java.lang.String castAndIntern(java.lang.Object o)
           
protected  javax.faces.context.ExternalContext externalContext(javax.el.ELContext context)
           
protected  javax.faces.context.FacesContext facesContext(javax.el.ELContext context)
           
 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 elContext, java.lang.Object base, java.lang.Object property)
           
 boolean isReadOnly(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)
           
protected  java.beans.FeatureDescriptor makeDescriptor(java.lang.String name, java.lang.String description, java.lang.Class<?> elResolverType)
           
 void setValue(javax.el.ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)
           
 
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,
                     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

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

getValue

public java.lang.Object getValue(javax.el.ELContext elContext,
                                 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

facesContext

protected javax.faces.context.FacesContext facesContext(javax.el.ELContext context)

externalContext

protected javax.faces.context.ExternalContext externalContext(javax.el.ELContext context)

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

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

makeDescriptor

protected java.beans.FeatureDescriptor makeDescriptor(java.lang.String name,
                                                      java.lang.String description,
                                                      java.lang.Class<?> elResolverType)

getCommonPropertyType

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

castAndIntern

protected java.lang.String castAndIntern(java.lang.Object o)


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