|
||||||||||
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
org.apache.myfaces.trinidadinternal.uinode.FacesRenderingContext
public class FacesRenderingContext
RenderingContext implementation that supports JSF.
Field Summary |
---|
Fields inherited from interface org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext |
---|
CONTEXT_PATH_PROPERTY, CONTEXT_URI_PROPERTY |
Method Summary | |
---|---|
static FacesRenderingContext |
createRenderingContext(javax.faces.context.FacesContext fContext)
|
TrinidadAgent |
getAgent()
Returns the end user's Agent. |
org.apache.myfaces.trinidad.context.LocaleContext |
getLocaleContext()
Returns the LocaleContext that should be used for rendering. |
org.apache.myfaces.trinidad.context.PartialPageContext |
getPartialPageContext()
|
static org.apache.myfaces.trinidad.context.PartialPageContext |
getPartialPageContext(javax.faces.context.FacesContext fContext)
Gets the current PartialPageContext. |
static UIXRenderingContext |
getRenderingContext(javax.faces.context.FacesContext fContext,
javax.faces.component.UIComponent component)
Gets the current RenderingContext. |
static UIXRenderingContext |
getRenderingContext(javax.faces.context.FacesContext fContext,
javax.faces.component.UIComponent component,
boolean createIfNull)
Gets the current RenderingContext. |
protected java.lang.Object |
getRenderingProperty(java.lang.Object key)
|
org.apache.myfaces.trinidad.skin.Skin |
getSkin()
Returns the Skin to use for this render. |
java.util.Map<java.lang.String,java.lang.String> |
getSkinResourceKeyMap()
Get the _skinResourceKeyMap Map. |
StyleContext |
getStyleContext()
Get an interface that can be used for style lookups and generation. |
protected void |
setRenderingProperty(java.lang.Object key,
java.lang.Object value)
|
void |
setSkinResourceKeyMap(java.util.Map<java.lang.String,java.lang.String> mapping)
Store a Map that maps a skin's resource keys from one key to another. |
Methods inherited from class org.apache.myfaces.trinidadinternal.ui.RootRenderingContext |
---|
clone, createVariableResolver, getConfiguration, getDataObject, getDataObject, getDefaultNodeStackSize, getDefaultPropertyMapSize, getFacesContext, getFacet, getFormEncoder, getIcon, getImageContext, getLookAndFeel, getParentContext, getProperty, getRendererManager, getResponseWriter, getStyleClass, getTranslatedString, getTranslatedValue, getURLEncoder, getVariableResolver, init, setConfiguration, setDataObject, setDataObjectMap, setFacet, setFormEncoder, setResponseWriter, setURLEncoder |
Methods inherited from class org.apache.myfaces.trinidadinternal.ui.RenderedNodeRenderingContext |
---|
getLocalProperty, getRenderedAncestorNode, getRenderedAncestorNodeCount, popRenderedChild, pushRenderedChild, reset, resetProperties, setLocalProperty, setProperty |
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 |
---|
setProperty |
Method Detail |
---|
public static UIXRenderingContext getRenderingContext(javax.faces.context.FacesContext fContext, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
public static UIXRenderingContext getRenderingContext(javax.faces.context.FacesContext fContext, javax.faces.component.UIComponent component, boolean createIfNull) throws java.io.IOException
java.io.IOException
public static FacesRenderingContext createRenderingContext(javax.faces.context.FacesContext fContext) throws java.io.IOException
java.io.IOException
public static org.apache.myfaces.trinidad.context.PartialPageContext getPartialPageContext(javax.faces.context.FacesContext fContext)
public org.apache.myfaces.trinidad.context.PartialPageContext getPartialPageContext()
public org.apache.myfaces.trinidad.context.LocaleContext getLocaleContext()
RootRenderingContext
getLocaleContext
in interface ImageContext
getLocaleContext
in interface UIXRenderingContext
getLocaleContext
in class RootRenderingContext
public StyleContext getStyleContext()
public org.apache.myfaces.trinidad.skin.Skin getSkin()
public TrinidadAgent getAgent()
ImageContext
protected java.lang.Object getRenderingProperty(java.lang.Object key)
getRenderingProperty
in class RenderedNodeRenderingContext
protected void setRenderingProperty(java.lang.Object key, java.lang.Object value)
setRenderingProperty
in class RenderedNodeRenderingContext
public void setSkinResourceKeyMap(java.util.Map<java.lang.String,java.lang.String> mapping)
mapping
- public java.util.Map<java.lang.String,java.lang.String> getSkinResourceKeyMap()
mapping
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |