public class JspXmlElement extends JspContainerNode
_attributeNames, _attributeValues, _children, _hasJspAttribute
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
JspXmlElement() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(QName name,
JspAttribute value)
Adds an attribute.
|
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute.
|
void |
generate(JspJavaWriter out)
Generates the code for the element.
|
boolean |
hasNamespace(java.lang.String prefix,
java.lang.String uri)
Returns true if the namespace decl has been printed.
|
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation.
|
addAttributeChild, addChild, addChildEnd, addText, findScriptingNode, generateChildren, 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, generateClassEpilogue, generateDeclaration, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generatePrologue, generatePrologueDeclare, generateStartLocation, generateTagRelease, generateTagState, getBodyContent, getCustomTagName, getEndAttributeLine, getEndLine, getFilename, getGenerator, getJsfBodyVar, getJsfVar, getNamespaceContext, getNamespacePrefix, getParent, getParentTagName, getParentTagNode, getQName, getRuntimeAttribute, getSegment, getStartLine, getStaticText, getTag, getTagName, hasDeferredAttribute, hasDeferredAttribute, hasELAttribute, hasELAttribute, 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 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 boolean hasNamespace(java.lang.String prefix, java.lang.String uri)
hasNamespace
in class JspNode
public void printXml(WriteStream os) throws java.io.IOException
public void generate(JspJavaWriter out) throws java.lang.Exception