public class ComponentRenderer extends AbstractRenderer
| Constructor and Description |
|---|
ComponentRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
body(RequestContext context,
ModelObject object)
This method must be implemented by concrete subclasses to render the body focus for artifact
being handled by the renderer.
|
void |
header(RequestContext context,
ModelObject object)
This method should be overridden by concrete subclasses to render the header focus for artifact
being handled by the renderer.
|
void |
postProcess(RequestContext context)
Post-processing of components
|
void |
setChromeRenderer(ChromeRenderer chromeRenderer) |
all, getRenderService, print, print, render, setRenderServicepublic void setChromeRenderer(ChromeRenderer chromeRenderer)
public void header(RequestContext context, ModelObject object) throws RendererExecutionException
AbstractRendererThis method should be overridden by concrete subclasses to render the header focus for artifact being handled by the renderer.
header in interface Rendererheader in class AbstractRenderercontext - The current RequestContext that contains all the information required to perform rendering.object - The current object to be rendered.RendererExecutionException - If rendering cannot be completed without error.public void body(RequestContext context, ModelObject object) throws RendererExecutionException
AbstractRendererThis method must be implemented by concrete subclasses to render the body focus for artifact being handled by the renderer.
body in interface Rendererbody in class AbstractRenderercontext - The current RequestContext that contains all the information required to perform rendering.object - The current object to be rendered.RendererExecutionException - If rendering cannot be completed without error.public void postProcess(RequestContext context) throws IOException
IOExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.