org.enhydra.barracuda.core.comp.renderer.html
Class HTMLScriptRenderer

java.lang.Object
  extended byorg.enhydra.barracuda.core.comp.renderer.DOMComponentRenderer
      extended byorg.enhydra.barracuda.core.comp.renderer.html.HTMLScriptRenderer
All Implemented Interfaces:
Renderer

public class HTMLScriptRenderer
extends DOMComponentRenderer

This class handles the default rendering script references into an HTML view.


Field Summary
protected  EnabledHelper eh
           
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
HTMLScriptRenderer()
           
 
Method Summary
 Node createDefaultNode(Document doc, BComponent comp, ViewContext vc)
          The purpose of this method is to create a default Node to be used when the component is not bound to any specific view.
 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, 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

eh

protected EnabledHelper eh
Constructor Detail

HTMLScriptRenderer

public HTMLScriptRenderer()
Method Detail

createDefaultNode

public Node createDefaultNode(Document doc,
                              BComponent comp,
                              ViewContext vc)
                       throws UnsupportedFormatException
The purpose of this method is to create a default Node to be used when the component is not bound to any specific view. In the case of BAction, it will attempt to use the default template node if possible (ie. if it is an ,
, ,