org.apache.myfaces.el.unified.resolver.implicitobject
Class ImplicitObject

java.lang.Object
  extended by org.apache.myfaces.el.unified.resolver.implicitobject.ImplicitObject
Direct Known Subclasses:
ApplicationImplicitObject, ApplicationScopeImplicitObject, CookieImplicitObject, FacesContextImplicitObject, HeaderImplicitObject, HeaderValuesImplicitObject, InitParamImplicitObject, ParamImplicitObject, ParamValuesImplicitObject, RequestImplicitObject, RequestScopeImplicitObject, SessionImplicitObject, SessionScopeImplicitObject, ViewImplicitObject

public abstract class ImplicitObject
extends java.lang.Object

Implementors of this class encapsulate the information needed to resolve the implicit object.

Author:
Stan Silvert

Constructor Summary
ImplicitObject()
           
 
Method Summary
protected  javax.faces.context.ExternalContext externalContext(javax.el.ELContext context)
           
protected  javax.faces.context.FacesContext facesContext(javax.el.ELContext context)
           
abstract  java.beans.FeatureDescriptor getDescriptor()
           
abstract  java.lang.String getName()
          Returns an interned String representing the name of the implicit object.
abstract  java.lang.Class<?> getType()
          Returns the most general type allowed for a future call to setValue()
abstract  java.lang.Object getValue(javax.el.ELContext context)
           
protected  java.beans.FeatureDescriptor makeDescriptor(java.lang.String name, java.lang.String description, java.lang.Class<?> elResolverType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplicitObject

public ImplicitObject()
Method Detail

getValue

public abstract java.lang.Object getValue(javax.el.ELContext context)

getDescriptor

public abstract java.beans.FeatureDescriptor getDescriptor()

getName

public abstract java.lang.String getName()
Returns an interned String representing the name of the implicit object.


getType

public abstract java.lang.Class<?> getType()
Returns the most general type allowed for a future call to setValue()


makeDescriptor

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

facesContext

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

externalContext

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


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