|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.BaseRenderer
@Deprecated public class BaseRenderer
Basic implementation of Renderer.
The protected hooks on this class are called in the following order:
| Field Summary | |
|---|---|
protected static int |
NO_CHILD_INDEX
Deprecated. Value passed to renderIndexedChild to indicate that no child exists. |
| Constructor Summary | |
|---|---|
BaseRenderer()
Deprecated. |
|
| Method Summary | |
|---|---|
protected int |
getNextRenderedChildIndex(UIXRenderingContext context,
UINode parentNode,
int afterChildIndex)
Deprecated. |
protected UINode |
getNextRenderedChildNode(UIXRenderingContext context,
UINode parentNode,
int afterChildIndex)
Deprecated. Returns the next child UINode that will be rendered after the passed in index. |
protected int |
getVisibleIndexedChildCount(UIXRenderingContext context,
UINode node)
Deprecated. Convenience function to return the number of non-skipped indexed children. |
protected void |
postrender(UIXRenderingContext context,
UINode node)
Deprecated. Called to render the portion after the contents. |
protected void |
prerender(UIXRenderingContext context,
UINode node)
Deprecated. Called to render the portion before the contents. |
void |
render(UIXRenderingContext context,
UINode node)
Deprecated. Render a UINode in a RenderingContext. |
protected void |
renderBetweenIndexedChildren(UIXRenderingContext context,
UINode node)
Deprecated. Called to render between each set of rendered indexed children. |
protected void |
renderBetweenIndexedChildren(UIXRenderingContext context,
UINode node,
int nextIndex)
Deprecated. Called to render between each set of rendered indexed children. |
protected void |
renderChild(UIXRenderingContext context,
UINode child)
Deprecated. Called to render a child. |
protected void |
renderContent(UIXRenderingContext context,
UINode node)
Deprecated. |
protected void |
renderIndexedChild(UIXRenderingContext context,
UINode node,
int childIndex)
Deprecated. Called to render an indexed child. |
protected void |
renderIndexedChild(UIXRenderingContext context,
UINode node,
int currVisChildIndex,
int prevVisChildIndex,
int nextVisChildIndex,
int ithRenderedChild)
Deprecated. Called each time an indexed child needs to be rendered. |
protected void |
renderNamedChild(UIXRenderingContext context,
UINode node,
java.lang.String childName)
Deprecated. Called to render a named child. |
protected void |
renderNamedChild(UIXRenderingContext context,
UINode node,
UINode child,
java.lang.String childName)
Deprecated. Called to render a named child. |
protected boolean |
skipChild(UIXRenderingContext context,
UINode node,
UINode child)
Deprecated. Called to determine if a specific child should be skipped. |
static boolean |
skipNode(UIXRenderingContext context,
UINode node)
Deprecated. Determines if a specific UINode should be skipped. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int NO_CHILD_INDEX
renderIndexedChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode, int, int, int, int),
Constant Field Values| Constructor Detail |
|---|
public BaseRenderer()
| Method Detail |
|---|
public static boolean skipNode(UIXRenderingContext context,
UINode node)
context - the rendering contextnode - the node under consideration
UIConstants.RENDERED_ATTR
attribute set to Boolean.FALSE.
public void render(UIXRenderingContext context,
UINode node)
throws java.io.IOException
render in interface Renderercontext - the rendering contextnode - the current UINode
java.io.IOException
protected void renderContent(UIXRenderingContext context,
UINode node)
throws java.io.IOException
java.io.IOException
protected final UINode getNextRenderedChildNode(UIXRenderingContext context,
UINode parentNode,
int afterChildIndex)
getNextRenderedChildIndex(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode, int)
protected int getNextRenderedChildIndex(UIXRenderingContext context,
UINode parentNode,
int afterChildIndex)
afterChildIndex - The indexed children coming after this index, will
be considered. To find the first rendered child use NO_CHILD_INDEX
NO_CHILD_INDEX if there is none.getNextRenderedChildNode(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode, int)
protected void renderIndexedChild(UIXRenderingContext context,
UINode node,
int currVisChildIndex,
int prevVisChildIndex,
int nextVisChildIndex,
int ithRenderedChild)
throws java.io.IOException
The default implementation is call the three-argument version of renderIndexedChild().
java.io.IOExceptionrenderChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected void prerender(UIXRenderingContext context,
UINode node)
throws java.io.IOException
context - the rendering contextnode - the current UINode
java.io.IOException
protected void postrender(UIXRenderingContext context,
UINode node)
throws java.io.IOException
context - the rendering contextnode - the current UINode
java.io.IOException
protected void renderBetweenIndexedChildren(UIXRenderingContext context,
UINode node)
throws java.io.IOException
context - the rendering contextnode - the current UINode
java.io.IOException
protected void renderBetweenIndexedChildren(UIXRenderingContext context,
UINode node,
int nextIndex)
throws java.io.IOException
context - the rendering contextnode - the current UINodeindex - the index of the next child to be rendered
java.io.IOException
protected boolean skipChild(UIXRenderingContext context,
UINode node,
UINode child)
context - the rendering contextnode - the current UINodechild - the child under consideration
getVisibleIndexedChildCount(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected void renderIndexedChild(UIXRenderingContext context,
UINode node,
int childIndex)
throws java.io.IOException
renderChild().
java.io.IOExceptionrenderChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected final void renderNamedChild(UIXRenderingContext context,
UINode node,
java.lang.String childName)
throws java.io.IOException
java.io.IOExceptionrenderChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected void renderNamedChild(UIXRenderingContext context,
UINode node,
UINode child,
java.lang.String childName)
throws java.io.IOException
java.io.IOExceptionrenderChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode)
protected void renderChild(UIXRenderingContext context,
UINode child)
throws java.io.IOException
context - the rendering contextnode - the current UINodechild - the child under consideration
java.io.IOException
protected int getVisibleIndexedChildCount(UIXRenderingContext context,
UINode node)
context - the rendering contextnode - the current UINode
skipChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.UINode, org.apache.myfaces.trinidadinternal.ui.UINode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||