org.apache.myfaces.trinidadinternal.ui.html
Class HTMLElementRenderer

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.BaseRenderer
      extended by org.apache.myfaces.trinidadinternal.ui.ElementRenderer
          extended by org.apache.myfaces.trinidadinternal.ui.html.HTMLElementRenderer
All Implemented Interfaces:
Renderer

public class HTMLElementRenderer
extends ElementRenderer

Renderer implementation that outputs HTML elements. Copies all the attributes set on the node directly to the output method.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/html/HTMLElementRenderer.java#0 $) $Date: 10-nov-2005.18:56:25 $
Author:
The Oracle ADF Faces Team

Field Summary
 
Fields inherited from class org.apache.myfaces.trinidadinternal.ui.BaseRenderer
NO_CHILD_INDEX
 
Constructor Summary
HTMLElementRenderer()
           
 
Method Summary
protected  java.lang.String getElementName(UIXRenderingContext context, UINode node)
          Called to retrieve the element name to render.
static Renderer getRenderer()
          Returns a shared instance fo the renderer.
protected  void renderAttributes(UIXRenderingContext context, UINode node)
          Renders all attributes of the current node.
 
Methods inherited from class org.apache.myfaces.trinidadinternal.ui.ElementRenderer
postrender, prerender, renderAttribute, renderAttribute, renderAttribute, renderAttribute
 
Methods inherited from class org.apache.myfaces.trinidadinternal.ui.BaseRenderer
getNextRenderedChildIndex, getNextRenderedChildNode, getVisibleIndexedChildCount, render, renderBetweenIndexedChildren, renderBetweenIndexedChildren, renderChild, renderContent, renderIndexedChild, renderIndexedChild, renderNamedChild, renderNamedChild, skipChild, skipNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLElementRenderer

public HTMLElementRenderer()
Method Detail

getRenderer

public static Renderer getRenderer()
Returns a shared instance fo the renderer.


getElementName

protected java.lang.String getElementName(UIXRenderingContext context,
                                          UINode node)
Called to retrieve the element name to render.

Overrides:
getElementName in class ElementRenderer
Parameters:
context - the rendering context
node - the current node

renderAttributes

protected void renderAttributes(UIXRenderingContext context,
                                UINode node)
                         throws java.io.IOException
Renders all attributes of the current node.

Overrides:
renderAttributes in class ElementRenderer
Parameters:
context - the rendering context
node - the current UINode
Throws:
java.io.IOException


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.