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, ComponentImplicitObject, CompositeComponentImplicitObject, CookieImplicitObject, FacesContextImplicitObject, HeaderImplicitObject, HeaderValuesImplicitObject, InitParamImplicitObject, ParamImplicitObject, ParamValuesImplicitObject, RequestImplicitObject, RequestScopeImplicitObject, ResourceImplicitObject, SessionImplicitObject, SessionScopeImplicitObject, ViewImplicitObject, ViewScopeImplicitObject

public abstract class ImplicitObject
extends Object

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

Author:
Stan Silvert

Constructor Summary
ImplicitObject()
           
 
Method Summary
protected  ExternalContext externalContext(javax.el.ELContext context)
           
protected  FacesContext facesContext(javax.el.ELContext context)
           
abstract  FeatureDescriptor getDescriptor()
           
abstract  String getName()
          Returns an interned String representing the name of the implicit object.
abstract  Class<?> getType()
          Returns the most general type allowed for a future call to setValue()
abstract  Object getValue(javax.el.ELContext context)
           
protected  FeatureDescriptor makeDescriptor(String name, String description, 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 Object getValue(javax.el.ELContext context)

getDescriptor

public abstract FeatureDescriptor getDescriptor()

getName

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


getType

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


makeDescriptor

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

facesContext

protected FacesContext facesContext(javax.el.ELContext context)

externalContext

protected ExternalContext externalContext(javax.el.ELContext context)


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