org.enhydra.barracuda.core.comp.renderer.xml
Class XMLComponentRenderer

java.lang.Object
  extended byorg.enhydra.barracuda.core.comp.renderer.DOMComponentRenderer
      extended byorg.enhydra.barracuda.core.comp.renderer.xml.XMLComponentRenderer
All Implemented Interfaces:
Renderer
Direct Known Subclasses:
XMLTemplateRenderer, XMLTextRenderer

public class XMLComponentRenderer
extends DOMComponentRenderer

This interface defines the methods needed to implement a Renderer.


Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
XMLComponentRenderer()
           
 
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 org.enhydra.barracuda.core.comp.renderer.DOMComponentRenderer
addChildToParent, createDefaultNode, showNodeInterfaces
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger
Constructor Detail

XMLComponentRenderer

public XMLComponentRenderer()
Method Detail

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 DOMComponentRenderer
Parameters:
comp - the component to be rendered
view - the view the component should be rendered in
vc - the view context
Throws:
RenderException - if unable to render the component in the specified view


Copyright © 2003 BarracudaMVC.org All Rights Reserved.