public class SelectItemsBuilder extends Builder
This is a Builder that will create a ElementBean for a JSF
javax.faces.SelectItems component. This builder is mapped to a
Node by the OptionBuilderRule.
| Constructor and Description |
|---|
SelectItemsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
getBuildNodeBody(Node node,
ElementBean target)
Returns
true by default meaning that the
parent will render children. |
protected String |
getComponentType(Node node)
Returns the JSF component type
javax.faces.SelectItems
that will be set to the target ElementBean and used to create
options for a collection. |
protected String |
getJsfid(Node node)
Returns a
jsfid used to populate the target
ElementBean. |
assignAttributes, assignNode, createAttribute, createElement, encode, encodeBegin, encodeChildren, encodeEnd, getBuilder, getRenderId, isChildrenAllowedprotected String getJsfid(Node node)
Returns a jsfid used to populate the target
ElementBean.
protected String getComponentType(Node node)
Returns the JSF component type javax.faces.SelectItems
that will be set to the target ElementBean and used to create
options for a collection.
getComponentType in class Buildernode - markupprotected boolean getBuildNodeBody(Node node, ElementBean target)
Returns true by default meaning that the
parent will render children.
getBuildNodeBody in class Buildernode - markuptarget - child beanfalse if the node body should be ignoredCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.