public class JspTop extends JspContainerNode implements JspSegmentNode
_attributeNames, _attributeValues, _children, _hasJspAttribute
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
JspTop() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(JspNode child)
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 |
generate(JspJavaWriter out)
Generates the code for the tag
|
int |
getMaxFragmentIndex()
Returns the largest fragment index.
|
int |
getMaxStaticFragmentIndex()
Returns the largest static fragment index.
|
java.lang.String |
getNamespacePrefix(java.lang.String uri)
Adds a namespace, e.g.
|
JspSegmentNode |
getSegment()
Returns the containing segment.
|
boolean |
hasNamespace(java.lang.String prefix,
java.lang.String uri)
Returns true if the namespace decl has been printed.
|
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 |
setMaxFragmentIndex(int index)
Sets the largest fragment index.
|
void |
setMaxStaticFragmentIndex(int index)
Sets the largest static fragment index.
|
addAttribute, 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, endAttributes, 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, getStartLine, getStaticText, getTag, getTagName, hasDeferredAttribute, hasDeferredAttribute, hasELAttribute, hasELAttribute, 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 JspNode addText(java.lang.String text) throws JspParseException
addText
in class JspContainerNode
JspParseException
public void addChild(JspNode child) throws JspParseException
addChild
in class JspContainerNode
JspParseException
public boolean isStatic()
public JspSegmentNode getSegment()
getSegment
in class JspNode
public int getMaxFragmentIndex()
public void setMaxFragmentIndex(int index)
public int getMaxStaticFragmentIndex()
public void setMaxStaticFragmentIndex(int index)
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 void printXml(WriteStream os) throws java.io.IOException
public boolean hasNamespace(java.lang.String prefix, java.lang.String uri)
hasNamespace
in class JspNode
public void generate(JspJavaWriter out) throws java.lang.Exception