|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.composite.UINodeRenderer
public abstract class UINodeRenderer
Renderer used by composite UINode renderers to render content.
Constructor Summary | |
---|---|
UINodeRenderer()
|
Method Summary | |
---|---|
protected abstract UINode |
getRenderingUINode(UIXRenderingContext context,
UINode node)
|
protected void |
postrender(UIXRenderingContext context,
UINode node)
Called to render the portion after the contents. |
protected void |
prerender(UIXRenderingContext context,
UINode node)
Called to render the portion before the contents. |
void |
render(UIXRenderingContext context,
UINode node)
Render a UINode in a RenderingContext. |
static void |
renderInCompositeContext(UIXRenderingContext context,
UINode node,
UINode renderingUINode)
|
protected void |
renderWithNode(UIXRenderingContext context,
UINode node,
UINode renderingUINode)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UINodeRenderer()
Method Detail |
---|
protected abstract UINode getRenderingUINode(UIXRenderingContext context, UINode node)
public void render(UIXRenderingContext context, UINode node) throws java.io.IOException
render
in interface Renderer
java.io.IOException
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 renderWithNode(UIXRenderingContext context, UINode node, UINode renderingUINode) throws java.io.IOException
java.io.IOException
renderInCompositeContext(UIXRenderingContext,UINode,UINode)
public static void renderInCompositeContext(UIXRenderingContext context, UINode node, UINode renderingUINode) throws java.io.IOException
context
- the context that node
is defined in.node
- this is the node that will be used for data.renderingUINode
- this UINode subtree will be used to do the actual
rendering (ie: this is the template UINode). It may pull attributes
and/or indexed/named children from node
. It renders in its
own RenderingContext.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |