Constructor and Description |
---|
JspIncludeDirectiveBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
encodeBegin(Node node,
ElementBean target,
ComponentBean root)
Calls super to populate the
target config bean with the
html node 's values. |
protected boolean |
getBuildNodeBody(Node node,
ElementBean target)
This builder handles converting the
nodes 's children. |
protected String |
getComponentType(Node node)
Returns the JSF component type of
org.apache.shale.clay.component.Clay that will populate the
componentType property of the ElementBean being created. |
protected String |
getJsfid(Node node)
Returns the
jsfid associated with the ElementBean
being build. |
boolean |
isChildrenAllowed()
Returns a boolean value that will indicate if the target JSF component
will support children.
|
assignAttributes, assignNode, createAttribute, createElement, encode, encodeChildren, encodeEnd, getBuilder, getRenderId
protected String getJsfid(Node node)
Returns the jsfid
associated with the ElementBean
being build.
protected String getComponentType(Node node)
Returns the JSF component type of
org.apache.shale.clay.component.Clay
that will populate the
componentType property of the ElementBean
being created.
getComponentType
in class Builder
node
- markuppublic boolean isChildrenAllowed()
Returns a boolean value that will indicate if the target JSF component will support children.
isChildrenAllowed
in class Builder
true
protected void encodeBegin(Node node, ElementBean target, ComponentBean root)
Calls super to populate the target
config bean with the
html node
's values.
When processing a "jsp:directive.include", the "file" attribute doesn't have a
corresponding clay value so it will become a symbol aliased to
clay's "clayJsfid" attribute. The same goes for the "jsp:include". The
"page" symbol is aliased to the "clayJsfid" attribute. Nested "param"
nodes are converted into symbols.
encodeBegin
in class Builder
node
- markup nodetarget
- config beanroot
- parent config beanprotected boolean getBuildNodeBody(Node node, ElementBean target)
This builder handles converting the nodes
's children.
getBuildNodeBody
in class Builder
node
- markup nodetarget
- config beantrue
indicating that children of the node
should be ignored.Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.