|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.LogicalNodeRenderingContext
org.apache.myfaces.trinidadinternal.ui.RenderedNodeRenderingContext
org.apache.myfaces.trinidadinternal.ui.RootRenderingContext
@Deprecated public abstract class RootRenderingContext
Default implementation of RenderingContext used as the root for rendering
a tree of UINodes. Developers that need to render UINode content
outside of a Servlet or JSP should use this class, but all others
should use its subclass,
ServletRenderingContext.
| Field Summary |
|---|
| Fields inherited from interface org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext |
|---|
CONTEXT_PATH_PROPERTY, CONTEXT_URI_PROPERTY |
| Constructor Summary | |
|---|---|
RootRenderingContext()
Deprecated. Creates a RootRenderingContext using the default RendererManager instance. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Deprecated. Returns a clone of the RenderingContext. |
protected UIVariableResolver |
createVariableResolver()
Deprecated. creates a variable resolver to use with this render cycle |
Configuration |
getConfiguration()
Deprecated. Returns a Configuration object that will be used to locate paths and return global properties. |
DataObject |
getDataObject(java.lang.String namespaceURI,
java.lang.String name)
Deprecated. Returns the DataObject for the given namespace and name pair. |
DataObject |
getDataObject(UIXRenderingContext context,
java.lang.String namespaceURI,
java.lang.String name)
Deprecated. Returns the DataObject for the given namespace and name pair. |
protected int |
getDefaultNodeStackSize()
Deprecated. Returns the default initial number of nodes in the stack of logical nodes. |
protected int |
getDefaultPropertyMapSize()
Deprecated. Returns the default size of the PropertyMap used to store properties on the RenderingContext. |
javax.faces.context.FacesContext |
getFacesContext()
Deprecated. |
java.lang.String |
getFacet()
Deprecated. Returns the rendering facet in use. |
FormEncoder |
getFormEncoder()
Deprecated. This implementation returns an encoder that does no special encoding. |
org.apache.myfaces.trinidad.skin.Icon |
getIcon(java.lang.String iconName)
Deprecated. We'll look at the reading direction and append :rtl if needed to the name |
ImageContext |
getImageContext()
Deprecated. Get an interface that can be used for image lookups and rendering. |
abstract org.apache.myfaces.trinidad.context.LocaleContext |
getLocaleContext()
Deprecated. Returns the LocaleContext that should be used for rendering. |
LookAndFeel |
getLookAndFeel()
Deprecated. Returns the LookAndFeel to use for this render. |
UIXRenderingContext |
getParentContext()
Deprecated. Returns the RenderingContext that this context should delegate calls to pushRenderedChild, popRenderedChild,
and addDataProvider to. |
java.lang.Object |
getProperty(java.lang.String namespace,
java.lang.Object key)
Deprecated. Gets a property stored on the context. |
RendererManager |
getRendererManager()
Deprecated. Returns the RendererManager that should be used for finding renderers. |
javax.faces.context.ResponseWriter |
getResponseWriter()
Deprecated. Returns the ResponseWriter that should be used for rendering text. |
java.lang.Object |
getStyleClass(java.lang.String key)
Deprecated. |
java.lang.String |
getTranslatedString(java.lang.String key)
Deprecated. Returns a translated String from the skin's resource bundle. |
java.lang.Object |
getTranslatedValue(java.lang.String key)
Deprecated. Returns a translated value from the skin's resource bundle. |
URLEncoder |
getURLEncoder()
Deprecated. This implementation returns an encoder that does no special encoding, and returns an empty string as the default URL. |
UIVariableResolver |
getVariableResolver()
Deprecated. gets the VariableResolver to use for this render cycle |
void |
init(javax.faces.context.FacesContext fContext)
Deprecated. |
void |
setConfiguration(Configuration config)
Deprecated. Sets the configuration for use with this rendering pass. |
void |
setDataObject(java.lang.String namespaceURI,
java.lang.String name,
DataObject dataObject)
Deprecated. Stores a data object on the context. |
void |
setDataObjectMap(java.lang.String namespaceURI,
java.util.Map<java.lang.String,DataObject> dataObjectDict)
Deprecated. Registers a dictionary for use in retrieving and storing data objects for a single namespace. |
void |
setFacet(java.lang.String facet)
Deprecated. Sets the facet of the current look-and-feel. |
void |
setFormEncoder(FormEncoder formEncoder)
Deprecated. This implementation returns an encoder that does no special encoding. |
void |
setResponseWriter(javax.faces.context.ResponseWriter writer)
Deprecated. Sets the ResponseWriter that should be used for rendering text. |
void |
setURLEncoder(URLEncoder urlEncoder)
Deprecated. This implementation returns an encoder that does no special encoding, and returns an empty string as the default URL. |
| Methods inherited from class org.apache.myfaces.trinidadinternal.ui.RenderedNodeRenderingContext |
|---|
getLocalProperty, getRenderedAncestorNode, getRenderedAncestorNodeCount, getRenderingProperty, popRenderedChild, pushRenderedChild, reset, resetProperties, setLocalProperty, setProperty, setRenderingProperty |
| Methods inherited from class org.apache.myfaces.trinidadinternal.ui.LogicalNodeRenderingContext |
|---|
getAncestorNode, getAncestorNodeCount, getCurrentDataObject, getPath, getSkinResourceMappedKey, popChild, pushChild, setCurrentDataObject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.myfaces.trinidadinternal.image.ImageContext |
|---|
getAgent, getStyleContext, setProperty |
| Methods inherited from interface org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext |
|---|
getAgent, getPartialPageContext, getSkin, getSkinResourceKeyMap, getStyleContext, setSkinResourceKeyMap |
| Constructor Detail |
|---|
public RootRenderingContext()
| Method Detail |
|---|
public void init(javax.faces.context.FacesContext fContext)
public javax.faces.context.FacesContext getFacesContext()
getFacesContext in interface UIXRenderingContextgetFacesContext in class LogicalNodeRenderingContextpublic void setConfiguration(Configuration config)
public LookAndFeel getLookAndFeel()
getLookAndFeel in interface UIXRenderingContextpublic java.lang.String getFacet()
public void setFacet(java.lang.String facet)
public RendererManager getRendererManager()
getRendererManager in interface UIXRenderingContextpublic abstract org.apache.myfaces.trinidad.context.LocaleContext getLocaleContext()
getLocaleContext in interface ImageContextgetLocaleContext in interface UIXRenderingContextpublic javax.faces.context.ResponseWriter getResponseWriter()
getResponseWriter in interface UIXRenderingContextpublic void setResponseWriter(javax.faces.context.ResponseWriter writer)
setResponseWriter in interface UIXRenderingContext
public void setDataObject(java.lang.String namespaceURI,
java.lang.String name,
DataObject dataObject)
namespaceURI - the namespace of the data objectname - the namespace of the data objectdataObject - the data object
public void setDataObjectMap(java.lang.String namespaceURI,
java.util.Map<java.lang.String,DataObject> dataObjectDict)
namespaceURI - the namespace of the data objectdataObjectDict - a Map of data objects
public final DataObject getDataObject(java.lang.String namespaceURI,
java.lang.String name)
getDataObject in interface UIXRenderingContextgetDataObject in class LogicalNodeRenderingContext#addDataProvider
public DataObject getDataObject(UIXRenderingContext context,
java.lang.String namespaceURI,
java.lang.String name)
getDataObject in interface UIXRenderingContextgetDataObject in class LogicalNodeRenderingContext
public java.lang.Object getProperty(java.lang.String namespace,
java.lang.Object key)
getProperty in interface ImageContextgetProperty in interface UIXRenderingContextgetProperty in class RenderedNodeRenderingContextpublic URLEncoder getURLEncoder()
getURLEncoder in interface UIXRenderingContextUIXRenderingContext.getURLEncoder()public void setURLEncoder(URLEncoder urlEncoder)
UIXRenderingContext.getURLEncoder()public Configuration getConfiguration()
getConfiguration in interface ImageContextgetConfiguration in interface UIXRenderingContextpublic FormEncoder getFormEncoder()
getFormEncoder in interface UIXRenderingContextUIXRenderingContext.getFormEncoder()public void setFormEncoder(FormEncoder formEncoder)
UIXRenderingContext.getFormEncoder()public ImageContext getImageContext()
getImageContext in interface UIXRenderingContextpublic java.lang.Object getTranslatedValue(java.lang.String key)
getTranslatedValue in interface UIXRenderingContextpublic org.apache.myfaces.trinidad.skin.Icon getIcon(java.lang.String iconName)
getIcon in interface UIXRenderingContextnamespace - iconName -
public java.lang.String getTranslatedString(java.lang.String key)
getTranslatedString in interface UIXRenderingContextpublic java.lang.Object getStyleClass(java.lang.String key)
getStyleClass in interface UIXRenderingContextpublic final UIXRenderingContext getParentContext()
UIXRenderingContextpushRenderedChild, popRenderedChild,
and addDataProvider to. The parent context acts to
segregate the logical node structure internal to a composite UINode
from the deceloper's logical UINode structure. By calling
getParentContext.getAncestorNode(0) the composite UINode
gains access to the UINode that the composite UINode is attempting
to render.
Typically, only composite UINode implementors ever need to call this method.
getParentContext in interface UIXRenderingContextpublic java.lang.Object clone()
UIXRenderingContext
clone in interface UIXRenderingContextclone in class RenderedNodeRenderingContextpublic final UIVariableResolver getVariableResolver()
UIXRenderingContext
getVariableResolver in interface UIXRenderingContextcreateVariableResolver()protected UIVariableResolver createVariableResolver()
protected int getDefaultNodeStackSize()
getDefaultNodeStackSize in class RenderedNodeRenderingContextprotected int getDefaultPropertyMapSize()
RenderedNodeRenderingContextThe default for this property is relatively small.
getDefaultPropertyMapSize in class RenderedNodeRenderingContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||