|
||||||||||
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.InputTextBuilder
public class InputTextBuilder
Builds a ElementBean
from a HTML Node
where the
TextareaBuilderRule
handles the mapping.
Field Summary |
---|
Fields inherited from class org.apache.shale.clay.parser.builder.Builder |
---|
messages |
Constructor Summary | |
---|---|
InputTextBuilder()
|
Method Summary | |
---|---|
protected void |
encodeEnd(Node node,
ElementBean target,
ComponentBean root)
The default for this builder is that builder will handle the children html nodes meaning that the default should be true . |
protected String |
getComponentType(Node node)
Returns the JSF componentType of javax.faces.HtmlInputTextarea used to define the
ElementBean from the HTML Node . |
protected String |
getJsfid(Node node)
Returns the jsfid used to populate the ElementBean . |
Methods inherited from class org.apache.shale.clay.parser.builder.Builder |
---|
assignAttributes, assignNode, createAttribute, createElement, encode, encodeBegin, encodeChildren, getBuilder, getBuildNodeBody, getRenderId, isChildrenAllowed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputTextBuilder()
Method Detail |
---|
protected void encodeEnd(Node node, ElementBean target, ComponentBean root)
The default for this builder is that builder will handle the children
html nodes meaning that the default should be true
. The
default can be overridden by the "allowBody" attribute in the component
metadata.
encodeEnd
in class Builder
node
- markuptarget
- child config beanroot
- parent config beanprotected String getJsfid(Node node)
Returns the jsfid
used to populate the ElementBean
.
getJsfid
in class Builder
node
- markup
protected String getComponentType(Node node)
Returns the JSF componentType of
javax.faces.HtmlInputTextarea
used to define the
ElementBean
from the HTML Node
.
getComponentType
in class Builder
node
- markup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |