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

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

public class CommandButtonBuilder
extends Builder

Builds a command button ElementBean object from a Node. The mapping of this Builder to an HTML element is handled by the InputBuilderRule.


Field Summary
 
Fields inherited from class org.apache.shale.clay.parser.builder.Builder
messages
 
Constructor Summary
CommandButtonBuilder()
           
 
Method Summary
protected  String getComponentType(Node node)
           The JSF componentType that is registered in the faces configuration giving a logical name to a JSF javax.faces.HtmlCommandButton component.
protected  String getJsfid(Node node)
           Returns the jsfid assigned to 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

CommandButtonBuilder

public CommandButtonBuilder()
Method Detail

getJsfid

protected String getJsfid(Node node)

Returns the jsfid assigned to the ElementBean.

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

getComponentType

protected String getComponentType(Node node)

The JSF componentType that is registered in the faces configuration giving a logical name to a JSF javax.faces.HtmlCommandButton component.

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


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