org.barracudamvc.core.comp.renderer.html
Class HTMLTemplateRenderer
java.lang.Object
org.barracudamvc.core.comp.renderer.DOMComponentRenderer
org.barracudamvc.core.comp.renderer.html.HTMLComponentRenderer
org.barracudamvc.core.comp.renderer.html.HTMLTemplateRenderer
- All Implemented Interfaces:
- Renderer
public class HTMLTemplateRenderer
- extends HTMLComponentRenderer
This class handles the default rendering of a template into an HTML view.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
th
protected TemplateHelper th
HTMLTemplateRenderer
public HTMLTemplateRenderer()
HTMLTemplateRenderer
public HTMLTemplateRenderer(TemplateHelper ith)
setTemplateHelper
public void setTemplateHelper(TemplateHelper ith)
getTemplateHelper
public TemplateHelper getTemplateHelper()
renderComponent
public void renderComponent(BComponent comp,
View view,
ViewContext vc)
throws RenderException
- Description copied from class:
DOMComponentRenderer
- This method should actually render the data from the component
into the view, taking into consideration the specified ViewContext.
Generally, every renderer will implement this method.
- Specified by:
renderComponent
in interface Renderer
- Overrides:
renderComponent
in class HTMLComponentRenderer
- Parameters:
comp
- the component to be renderedview
- the view the component should be rendered invc
- the view context
- Throws:
RenderException
- if unable to render the component in the
specified view
Copyright © 2006 BarracudaMVC.org All Rights Reserved.