org.apache.wicket.core.util.string
Class ComponentRenderer

java.lang.Object
  extended by org.apache.wicket.core.util.string.ComponentRenderer

public class ComponentRenderer
extends Object

A helper class for rendering components and pages


Field Summary
static String COMP_ID
          The id to use when rendering a component
 
Constructor Summary
ComponentRenderer()
           
 
Method Summary
static CharSequence renderComponent(Component component)
          Collects the html generated by the rendering of a component.
static CharSequence renderPage(PageProvider pageProvider)
          Collects the html generated by the rendering of a page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMP_ID

public static final String COMP_ID
The id to use when rendering a component

See Also:
Constant Field Values
Constructor Detail

ComponentRenderer

public ComponentRenderer()
Method Detail

renderPage

public static CharSequence renderPage(PageProvider pageProvider)
Collects the html generated by the rendering of a page.

Parameters:
pageProvider - the provider of the page class/instance and its parameters
Returns:
the html rendered by a page

renderComponent

public static CharSequence renderComponent(Component component)
Collects the html generated by the rendering of a component.

Parameters:
component - the component to render.
Returns:
the html rendered by the component


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.