|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.cabo.ui.LogicalNodeRenderingContext
|
+--oracle.cabo.ui.RenderedNodeRenderingContext
Abstract base class adding the following support to LogicalNodeRenderingContext
This class is subclassed by RenderingContexts that don't delegate the storage of their rendering state to another RenderingContext.
| Fields inherited from interface oracle.cabo.ui.RenderingContext |
CONTEXT_PATH_PROPERTY, CONTEXT_URI_PROPERTY, SHARED_CONTEXT_PATH_PROPERTY, SHARED_CONTEXT_URI_PROPERTY |
| Constructor Summary | |
RenderedNodeRenderingContext()
|
|
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of the RenderingContext. |
protected int |
getDefaultNodeStackSize()
Returns the default initial number of nodes in the stack of logical nodes. |
protected int |
getDefaultPropertyMapSize()
Returns the default size of the PropertyMap used to store properties on the RenderingContext. |
java.lang.Object |
getLocalProperty(int ancestorIndex,
java.lang.Object key,
java.lang.Object defaultValue)
Retrieves the specifed property from the stack frame of the currently rendering UINode. |
java.lang.Object |
getProperty(java.lang.String namespace,
java.lang.Object key)
Gets a property stored on the context. |
UINode |
getRenderedAncestorNode(int index)
Returns an ancestor of the node currently being processed. |
int |
getRenderedAncestorNodeCount()
Returns the number of rendered nodes in the path form the current node being rendered to the root of the tree of nodes being rendered. |
void |
popRenderedChild()
Removes the UINode to actually use to render from the rendered UINode stack. |
void |
pushRenderedChild(UINode renderedChild)
Adds the UINode to actually use to render to the rendered UINode stack. |
protected void |
reset()
Reset the PortletContext after use so that it can be resued without pinning unnecessary objects into memory |
protected void |
resetProperties()
Lame method needed to support resetProperties on RootRenderingContext |
void |
setLocalProperty(java.lang.Object key,
java.lang.Object value)
Sets a property on the stack frame of the currently rendering UINode. |
void |
setProperty(java.lang.String namespace,
java.lang.Object key,
java.lang.Object value)
Stores a property on the context. |
| Methods inherited from class oracle.cabo.ui.LogicalNodeRenderingContext |
addDataProvider, getAncestorNode, getAncestorNodeCount, getCurrentDataObject, getDataObject, getDataObject, getDefaultDataProviderSize, getPath, popChild, pushChild, setCurrentDataObject |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.cabo.ui.RenderingContext |
getAgent, getConfiguration, getErrorLog, getImageContext, getLocaleContext, getLookAndFeel, getOutputMethod, getParentContext, getRendererManager, getStyleContext, getURLEncoder, transformName |
| Constructor Detail |
public RenderedNodeRenderingContext()
| Method Detail |
public int getRenderedAncestorNodeCount()
oracle.cabo.ui.RenderingContextRenderingContext.getAncestorNodeCount()public UINode getRenderedAncestorNode(int index)
getRenderedAncestor(0) will always return the current
rendering node. Returns null if the index is greater than or equal to
the number of ancestors.oracle.cabo.ui.RenderingContextRenderingContext.getAncestorNode(int)public void pushRenderedChild(UINode renderedChild)
RenderingContextClients shuld never need to call this method as calls to this method are typically made on their behalf by the composite UINode framework.
pushRenderedChild in class LogicalNodeRenderingContextoracle.cabo.ui.RenderingContextRenderingContext.popRenderedChild(),
RenderingContext.getRenderedAncestorNode(int),
RenderingContext.getRenderedAncestorNodeCount()public void popRenderedChild()
RenderingContextClients shuld never need to call this method as calls to this method are typically made on their behalf by the composite UINode framework.
popRenderedChild in class LogicalNodeRenderingContextoracle.cabo.ui.RenderingContextRenderingContext.pushRenderedChild(oracle.cabo.ui.UINode),
RenderingContext.getRenderedAncestorNode(int),
RenderingContext.getRenderedAncestorNodeCount()
public java.lang.Object getProperty(java.lang.String namespace,
java.lang.Object key)
public void setProperty(java.lang.String namespace,
java.lang.Object key,
java.lang.Object value)
public void setLocalProperty(java.lang.Object key,
java.lang.Object value)
This method is for use by rendering code that needs to save some state while it is rendering.
key - Key used to identify this property on the stack frame.value - Value to store. null is an acceptable value.
getLocalProperty(int, java.lang.Object, java.lang.Object)
public java.lang.Object getLocalProperty(int ancestorIndex,
java.lang.Object key,
java.lang.Object defaultValue)
defaultValue is returned.
This method is for use by rendering code that needs to save some state while it is rendering.
key - Key used to identify the property on the stack frame to
retrieve.defaultValue - Value to return if the property doesn't exist
in the stack frame.
setLocalProperty(java.lang.Object, java.lang.Object)public java.lang.Object clone()
RenderingContextclone in class LogicalNodeRenderingContextprotected int getDefaultNodeStackSize()
The default for this property is relatively small.
getDefaultNodeStackSize in class LogicalNodeRenderingContextprotected int getDefaultPropertyMapSize()
The default for this property is relatively small.
protected void reset()
reset in class LogicalNodeRenderingContextprotected void resetProperties()
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||