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

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

public class VoidBuilder
extends Builder

This is a Builder that will create a void ElementBean. The element bean will be an empty placeholder. The HTML element will contain nothing.


Field Summary
 
Fields inherited from class org.apache.shale.clay.parser.builder.Builder
messages
 
Constructor Summary
VoidBuilder()
           
 
Method Summary
protected  String getComponentType(Node node)
           Returns a JSF component type of javax.faces.HtmlOutputText.
protected  String getJsfid(Node node)
           Returns the jsfid for the target 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

VoidBuilder

public VoidBuilder()
Method Detail

getJsfid

protected String getJsfid(Node node)

Returns the jsfid for the target ElementBean.

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

getComponentType

protected String getComponentType(Node node)

Returns a JSF component type of javax.faces.HtmlOutputText.

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


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