Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.composite
Class UINodeRenderer

java.lang.Object
  |
  +--oracle.cabo.ui.composite.UINodeRenderer
All Implemented Interfaces:
Renderer
Direct Known Subclasses:
TemplateRenderer

public abstract class UINodeRenderer
extends java.lang.Object
implements Renderer

Renderer used by composite UINode renderers to render content.


Constructor Summary
UINodeRenderer()
           
 
Method Summary
protected abstract  UINode getRenderingUINode(RenderingContext context, UINode node)
           
protected  void postrender(RenderingContext context, UINode node)
          Called to render the portion after the contents.
protected  void prerender(RenderingContext context, UINode node)
          Called to render the portion before the contents.
 void render(RenderingContext context, UINode node)
          Render a UINode in a RenderingContext.
static void renderInCompositeContext(RenderingContext context, UINode node, UINode renderingUINode)
           
protected  void renderWithNode(RenderingContext context, UINode node, UINode renderingUINode)
           
protected  boolean useGlobalCurrentDataObject(RenderingContext context)
          If true, setting the current data object inside the template immediately "escapes" to the outside world.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UINodeRenderer

public UINodeRenderer()
Method Detail

getRenderingUINode

protected abstract UINode getRenderingUINode(RenderingContext context,
                                             UINode node)

render

public void render(RenderingContext context,
                   UINode node)
            throws java.io.IOException
Render a UINode in a RenderingContext.
Specified by:
render in interface Renderer

prerender

protected void prerender(RenderingContext context,
                         UINode node)
                  throws java.io.IOException
Called to render the portion before the contents.
Parameters:
context - the rendering context
node - the current UINode

postrender

protected void postrender(RenderingContext context,
                          UINode node)
                   throws java.io.IOException
Called to render the portion after the contents. Default implementation does nothing.
Parameters:
context - the rendering context
node - the current UINode

renderWithNode

protected void renderWithNode(RenderingContext context,
                              UINode node,
                              UINode renderingUINode)
                       throws java.io.IOException
See Also:
renderInCompositeContext(RenderingContext,UINode,UINode)

renderInCompositeContext

public static void renderInCompositeContext(RenderingContext context,
                                            UINode node,
                                            UINode renderingUINode)
                                     throws java.io.IOException
Parameters:
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.

useGlobalCurrentDataObject

protected boolean useGlobalCurrentDataObject(RenderingContext context)
If true, setting the current data object inside the template immediately "escapes" to the outside world. By default, the current data object only "escapes" through ContextPoppingUINodes (and the corresponding UIX element).

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.