public class JspElement extends JspContainerNode
_attributeNames, _attributeValues, _children, _hasJspAttribute
_endAttributeLine, _endLine, _filename, _gen, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
JspElement() |
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 |
endElement()
When the element complets.
|
void |
generate(JspJavaWriter out)
Generates the code for the tag
|
boolean |
hasCustomTag()
Set true if the node contains a child tag.
|
boolean |
isStatic()
Return true if the node only has static text.
|
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, hasScripting, hasScriptingElement, hasTag, isChildrenStatic, isEmpty, isJsfParentRequired, isSingleExpression, isWhitespace, printXmlChildren
addNamespace, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, endAttributes, 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, 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 addAttribute(QName name, java.lang.String value) throws JspParseException
addAttribute
in class JspContainerNode
name
- the attribute namevalue
- the attribute valueJspParseException
public void addAttribute(QName name, JspAttribute value) throws JspParseException
addAttribute
in class JspContainerNode
name
- the attribute namevalue
- the attribute valueJspParseException
public void endElement() throws JspParseException
endElement
in class JspNode
JspParseException
public boolean isStatic()
public boolean hasCustomTag()
JspContainerNode
hasCustomTag
in class JspContainerNode
public void printXml(WriteStream os) throws java.io.IOException
public void generate(JspJavaWriter out) throws java.lang.Exception