| uk.org.ponder.rsf.renderer.ComponentRenderer
All known Subclasses: uk.org.ponder.rsf.renderer.html.BasicHTMLComponentRenderer,
ComponentRenderer | public interface ComponentRenderer (Code) | | Does the work of rendering a component, given a UIComponent and a location
in the template stream. A ComponentRenderer is specific to a particular
RenderSystem , which also contains StaticComponentRenderers for rewriting
template data without a corresponding component.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
Field Summary | |
final public static int | LEAF_TAG Returning this value signifies that a leaf tag has been consumed from the
template, and that the instruction pointer will be stepped along to
end_close + 1. | final public static int | NESTING_TAG Returning this value signifies that a trunk tag has been consumed from
the template, and that the instruction pointer will be stepped along to
end_open + 1. |
LEAF_TAG | final public static int LEAF_TAG(Code) | | Returning this value signifies that a leaf tag has been consumed from the
template, and that the instruction pointer will be stepped along to
end_close + 1.
|
NESTING_TAG | final public static int NESTING_TAG(Code) | | Returning this value signifies that a trunk tag has been consumed from
the template, and that the instruction pointer will be stepped along to
end_open + 1.
|
renderComponent | public void renderComponent(UIComponent component, View view, TagRenderContext renderContext)(Code) | | Renders the supplied component.
Parameters: component - The component to be rendered (possibly null) Parameters: view - The view in which this component is held Parameters: renderContext - A TagRenderContext object encapulating the templatelocation this component is to be rendered with. The nextpos field in this object will become suitably updated by means of one of theoutput methods. |
|
|