public class ComponentRenderer extends Object
Constructor and Description |
---|
ComponentRenderer() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static CharSequence renderPage(PageProvider pageProvider)
pageProvider
- the provider of the page class/instance and its parameterspublic static CharSequence renderComponent(Component component)
component
- the component to render.Copyright © 2006–2014 Apache Software Foundation. All rights reserved.