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

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

public class FormBuilder
extends Builder

Builds a form ElementBean from a HTML Node.


Field Summary
 
Fields inherited from class org.apache.shale.clay.parser.builder.Builder
messages
 
Constructor Summary
FormBuilder()
           
 
Method Summary
protected  String getComponentType(Node node)
           Returns the JSF componentType of javax.faces.HtmlForm to populate the ElementBean.
protected  String getJsfid(Node node)
           Returns the jsfid for the ElementBean.
 boolean isChildrenAllowed()
           This override returns true indicating that the from JSF component can have 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

FormBuilder

public FormBuilder()
Method Detail

getJsfid

protected String getJsfid(Node node)

Returns the jsfid for the ElementBean.

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

getComponentType

protected String getComponentType(Node node)

Returns the JSF componentType of javax.faces.HtmlForm to populate the ElementBean.

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

isChildrenAllowed

public boolean isChildrenAllowed()

This override returns true indicating that the from JSF component can have children.

Overrides:
isChildrenAllowed in class Builder
Returns:
true


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