public class JspRoot extends JspContainerNode
_attributeNames, _attributeValues, _children, _hasJspAttribute
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
JspRoot() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute.
|
void |
addChild(JspNode node)
Adds a child node.
|
void |
addNamespaceRec(java.lang.String prefix,
java.lang.String value)
Adds a namespace, e.g.
|
JspNode |
addText(java.lang.String text)
Adds a text node.
|
void |
endAttributes()
Called after all the attributes from the tag.
|
void |
generate(JspJavaWriter out)
Generates the code for the tag
|
java.lang.String |
getNamespacePrefix(java.lang.String uri)
Adds a namespace, e.g.
|
boolean |
isStatic()
Set true if the node only has static text.
|
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation.
|
void |
setVersion(java.lang.String version)
Sets the versino.
|
addAttribute, addAttributeChild, addChildEnd, findScriptingNode, generateChildren, generateChildrenEmpty, generateClassEpilogueChildren, generateDeclarationChildren, generatePrologueChildren, generateStatic, generateTagReleaseChildren, generateTagStateChildren, getAttribute, getChildren, getStaticText, hasChildren, hasCustomTag, hasScripting, hasScriptingElement, hasTag, isChildrenStatic, isEmpty, isJsfParentRequired, isSingleExpression, isWhitespace, printXmlChildren
addNamespace, attributeToBoolean, classToString, convertParameterValue, endElement, error, error, error, escapeJavaString, generateClassEpilogue, generateDeclaration, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generatePrologue, generatePrologueDeclare, generateStartLocation, generateTagRelease, generateTagState, getBodyContent, getCustomTagName, getEndAttributeLine, getEndLine, getFilename, getGenerator, getJsfBodyVar, getJsfVar, getNamespaceContext, 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, loadClass, printJspId, printXmlAttribute, printXmlOpen, printXmlText, setEndAttributeLocation, setEndLocation, setGenerator, setNamespace, setParent, setParseState, setQName, setStartLocation, toELObject, toString, xmlAttrText, xmlText
public void setVersion(java.lang.String version)
public void addAttribute(QName name, java.lang.String value) throws JspParseException
addAttribute
in class JspContainerNode
name
- the attribute namevalue
- the attribute valueJspParseException
public JspNode addText(java.lang.String text) throws JspParseException
addText
in class JspContainerNode
JspParseException
public void endAttributes() throws JspParseException
endAttributes
in class JspNode
JspParseException
public void addChild(JspNode node) throws JspParseException
addChild
in class JspContainerNode
JspParseException
public void addNamespaceRec(java.lang.String prefix, java.lang.String value)
addNamespaceRec
in class JspNode
public java.lang.String getNamespacePrefix(java.lang.String uri)
getNamespacePrefix
in class JspNode
public boolean isStatic()
public void printXml(WriteStream os) throws java.io.IOException
public void generate(JspJavaWriter out) throws java.lang.Exception