org.barracudamvc.core.comp.renderer.html
Class HTMLLinkRenderer

java.lang.Object
  extended byorg.barracudamvc.core.comp.renderer.DOMComponentRenderer
      extended byorg.barracudamvc.core.comp.renderer.html.HTMLComponentRenderer
          extended byorg.barracudamvc.core.comp.renderer.html.HTMLActionRenderer
              extended byorg.barracudamvc.core.comp.renderer.html.HTMLLinkRenderer
All Implemented Interfaces:
Renderer

public class HTMLLinkRenderer
extends HTMLActionRenderer

This class handles the default rendering of a link into an HTML view.


Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
HTMLLinkRenderer()
           
 
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)
          Render the data from the component into the view, taking into consideration the specified ViewContext
 
Methods inherited from class org.barracudamvc.core.comp.renderer.html.HTMLActionRenderer
manipulateActionElement, manipulateActionElement, manipulateActionElement, manipulateActionElement, manipulateActionElement, manipulateActionElement
 
Methods inherited from class org.barracudamvc.core.comp.renderer.html.HTMLComponentRenderer
addChildToParent
 
Methods inherited from class org.barracudamvc.core.comp.renderer.DOMComponentRenderer
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

HTMLLinkRenderer

public HTMLLinkRenderer()
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 BLink, it will attempt to use the default template node if possible (ie. if it is an ,

renderComponent

public void renderComponent(BComponent comp,
                            View view,
                            ViewContext vc)
                     throws RenderException
Description copied from class: HTMLActionRenderer
Render the data from the component into the view, taking into consideration the specified ViewContext

Specified by:
renderComponent in interface Renderer
Overrides:
renderComponent in class HTMLActionRenderer
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 © 2004 BarracudaMVC.org All Rights Reserved.