org.apache.wicket.core.util.string
Class ComponentRenderer
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMP_ID
public static final String COMP_ID
- The id to use when rendering a component
- See Also:
- Constant Field Values
ComponentRenderer
public ComponentRenderer()
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.