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

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

public class SelectBooleanCheckboxBuilder
extends Builder

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


Field Summary
 
Fields inherited from class org.apache.shale.clay.parser.builder.Builder
messages
 
Constructor Summary
SelectBooleanCheckboxBuilder()
           
 
Method Summary
protected  String getComponentType(Node node)
           Returns the JSF component type of javax.faces.HtmlSelectBooleanCheckbox that will create a checkbox component.
protected  String getJsfid(Node node)
           Returns a jsfid for the ElementBean.
 
Methods inherited from class org.apache.shale.clay.parser.builder.Builder
assignAttributes, assignNode, createAttribute, createElement, encode, encodeBegin, encodeChildren, encodeEnd, getBuilder, getBuildNodeBody, getRenderId, isChildrenAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectBooleanCheckboxBuilder

public SelectBooleanCheckboxBuilder()
Method Detail

getJsfid

protected String getJsfid(Node node)

Returns a jsfid for the ElementBean.

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.HtmlSelectBooleanCheckbox that will create a checkbox component.

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


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