|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.clay.parser.builder.Builder org.apache.shale.clay.parser.builder.SelectItemsBuilder
public class SelectItemsBuilder
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
.
Field Summary |
---|
Fields inherited from class org.apache.shale.clay.parser.builder.Builder |
---|
messages |
Constructor Summary | |
---|---|
SelectItemsBuilder()
|
Method Summary | |
---|---|
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 . |
Methods inherited from class org.apache.shale.clay.parser.builder.Builder |
---|
assignAttributes, assignNode, createAttribute, createElement, encode, encodeBegin, encodeChildren, encodeEnd, getBuilder, getRenderId, isChildrenAllowed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectItemsBuilder()
Method Detail |
---|
protected String getJsfid(Node node)
Returns a jsfid
used to populate the target
ElementBean
.
getJsfid
in class Builder
node
- markup
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 Builder
node
- markup
protected boolean getBuildNodeBody(Node node, ElementBean target)
Returns true
by default meaning that the
parent will render children.
getBuildNodeBody
in class Builder
node
- markuptarget
- child bean
false
if the node body should be ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |