public class JsfTagNode extends JsfNode
_attributeNames, _attributeValues, _children, _hasJspAttribute
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
JsfTagNode() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(QName qName,
JspAttribute value)
Adds a JspAttribute attribute.
|
void |
addAttribute(QName qName,
java.lang.String value)
Adds an attribute.
|
void |
endAttributes()
Called after all the attributes from the tag.
|
void |
endElement()
Called when the tag closes.
|
void |
generate(JspJavaWriter out)
Generates the code for a custom tag.
|
void |
generatePrologue(JspJavaWriter out)
generates prologue data.
|
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation.
|
void |
setComponentClass(java.lang.Class cl) |
void |
setNext(JspNode next) |
findSetter, generateChildren, getJsfBodyVar, getJsfVar, hasBodyContent
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, error, error, error, escapeJavaString, 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, printXmlAttribute, printXmlOpen, printXmlText, setEndAttributeLocation, setEndLocation, setGenerator, setNamespace, setParent, setParseState, setQName, setStartLocation, toELObject, toString, xmlAttrText, xmlText
public void setComponentClass(java.lang.Class cl)
public void setNext(JspNode next)
public void addAttribute(QName qName, java.lang.String value) throws JspParseException
addAttribute
in class JsfNode
qName
- the name of the attribute.value
- the value of the attribute.JspParseException
public void addAttribute(QName qName, JspAttribute value) throws JspParseException
addAttribute
in class JsfNode
qName
- the name of the attribute.value
- the value of the attribute.JspParseException
public void endAttributes() throws JspParseException
endAttributes
in class JspNode
JspParseException
public void endElement()
JspNode
endElement
in class JspNode
public void printXml(WriteStream os) throws java.io.IOException
public void generatePrologue(JspJavaWriter out) throws java.lang.Exception
generatePrologue
in class JsfNode
java.lang.Exception
public void generate(JspJavaWriter out) throws java.lang.Exception