org.apache.shale.clay.parser.builder
Class OutputLabelBuilder

java.lang.Object
  extended by org.apache.shale.clay.parser.builder.Builder
      extended by org.apache.shale.clay.parser.builder.OutputLabelBuilder

public class OutputLabelBuilder
extends Builder

This Builder will create a ElementBean representing a javax.faces.HtmlOutputLabel JSF component. The mapping of the Node representing a html input element having a "text" type attribute is handled by the InputBuilderRule.


Field Summary
 
Fields inherited from class org.apache.shale.clay.parser.builder.Builder
messages
 
Constructor Summary
OutputLabelBuilder()
           
 
Method Summary
protected  String getComponentType(Node node)
           Returns the JSF component type of javax.faces.HtmlOutputLabel that will populate the ElementBean being created.
protected  String getJsfid(Node node)
           Returns the jsfid associated with the ElementBean being build.
 boolean isChildrenAllowed()
           Returns a boolean value that will indicate if the target JSF component will support children.
 
Methods inherited from class org.apache.shale.clay.parser.builder.Builder
assignAttributes, assignNode, createAttribute, createElement, encode, encodeBegin, encodeChildren, encodeEnd, getBuilder, getBuildNodeBody, getRenderId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputLabelBuilder

public OutputLabelBuilder()
Method Detail

getJsfid

protected String getJsfid(Node node)

Returns the jsfid associated with the ElementBean being build.

Specified by:
getJsfid in class Builder
Parameters:
node - markup
Returns:
jsfid

getComponentType

protected String getComponentType(Node node)

Returns the JSF component type of javax.faces.HtmlOutputLabel that will populate the ElementBean being created.

Specified by:
getComponentType in class Builder
Parameters:
node - markup
Returns:
component type

isChildrenAllowed

public boolean isChildrenAllowed()

Returns a boolean value that will indicate if the target JSF component will support children.

Overrides:
isChildrenAllowed in class Builder
Returns:
true


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