public abstract class JsfNode extends JspContainerNode
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_bodyVar |
protected java.lang.String |
_var |
_attributeNames, _attributeValues, _children, _hasJspAttribute
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
JsfNode() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(QName name,
JspAttribute value)
Adds a JspAttribute attribute.
|
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute.
|
protected java.lang.reflect.Method |
findSetter(java.lang.Class cl,
java.lang.String name) |
void |
generateChildren(JspJavaWriter out)
Generates the code for the children.
|
void |
generatePrologue(JspJavaWriter out)
generates prologue data.
|
java.lang.String |
getJsfBodyVar()
Returns the variable containing the jsf body
|
java.lang.String |
getJsfVar()
Returns the variable containing the jsf parent
|
protected boolean |
hasBodyContent()
Generates the code for the children.
|
addAttributeChild, addChild, addChildEnd, addText, findScriptingNode, generateChildrenEmpty, generateClassEpilogueChildren, generateDeclarationChildren, generatePrologueChildren, generateStatic, generateTagReleaseChildren, generateTagStateChildren, getAttribute, getChildren, getStaticText, hasChildren, hasCustomTag, hasScripting, hasScriptingElement, hasTag, isChildrenStatic, isEmpty, isJsfParentRequired, isSingleExpression, isWhitespace, printXmlChildren
addNamespace, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, endAttributes, endElement, error, error, error, escapeJavaString, generate, generateClassEpilogue, generateDeclaration, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generatePrologueDeclare, generateStartLocation, generateTagRelease, generateTagState, getBodyContent, getCustomTagName, getEndAttributeLine, getEndLine, getFilename, getGenerator, getNamespaceContext, getNamespacePrefix, getParent, getParentTagName, getParentTagNode, getQName, getRuntimeAttribute, getSegment, getStartLine, getStaticText, getTag, getTagName, hasDeferredAttribute, hasDeferredAttribute, hasELAttribute, hasELAttribute, hasNamespace, hasNamespace, hasRuntimeAttribute, hasScripting, hasScripting, invokeFragment, isInFragment, isJsp21, isJstl, isPre21Taglib, isSimpleTag, isStatic, loadClass, printJspId, printXml, printXmlAttribute, printXmlOpen, printXmlText, setEndAttributeLocation, setEndLocation, setGenerator, setNamespace, setParent, setParseState, setQName, setStartLocation, toELObject, toString, xmlAttrText, xmlText
public java.lang.String getJsfVar()
public java.lang.String getJsfBodyVar()
getJsfBodyVar
in class JspNode
public void addAttribute(QName name, java.lang.String value) throws JspParseException
addAttribute
in class JspContainerNode
name
- the name of the attribute.value
- the value of the attribute.JspParseException
public void addAttribute(QName name, JspAttribute value) throws JspParseException
addAttribute
in class JspContainerNode
name
- the name of the attribute.value
- the value of the attribute.JspParseException
public void generatePrologue(JspJavaWriter out) throws java.lang.Exception
generatePrologue
in class JspNode
java.lang.Exception
public void generateChildren(JspJavaWriter out) throws java.lang.Exception
generateChildren
in class JspContainerNode
out
- the output writer for the generated java.java.lang.Exception
protected boolean hasBodyContent() throws java.lang.Exception
out
- the output writer for the generated java.java.lang.Exception
protected java.lang.reflect.Method findSetter(java.lang.Class cl, java.lang.String name)