org.barracudamvc.core.comp.renderer.html
Class HTMLTextRenderer
java.lang.Object
org.barracudamvc.core.comp.renderer.DOMComponentRenderer
org.barracudamvc.core.comp.renderer.html.HTMLComponentRenderer
org.barracudamvc.core.comp.renderer.html.HTMLTextRenderer
- All Implemented Interfaces:
- Renderer
- public class HTMLTextRenderer
- extends HTMLComponentRenderer
This class handles the default rendering of text into an HTML view.
Q: maybe rather than just setting the text in Text node, the text renderer
should represent the string as a CDATASection. This would enable you to
easily set text as chunks of HTML. Hmmm...need to think about this...
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
Method Summary |
void |
renderComponent(BComponent comp,
View view,
ViewContext vc)
This method should actually render the data from the component
into the view, taking into consideration the specified ViewContext.
|
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
HTMLTextRenderer
public HTMLTextRenderer()
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
- Throws:
RenderException
Copyright © 2004 BarracudaMVC.org All Rights Reserved.