public class JspAttribute extends JspFragmentNode
_attributeNames, _attributeValues, _children, _hasJspAttribute
_endAttributeLine, _endLine, _filename, _gen, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
JspAttribute() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute.
|
JspNode |
addText(java.lang.String text)
Adds a text node.
|
void |
endAttributes()
Called when the attributes end.
|
void |
endElement()
Adds an attribute.
|
void |
generatePrologue(JspJavaWriter out)
Generates the prologue.
|
protected java.lang.String |
generateValue()
Generates the code for a fragment.
|
QName |
getName()
Returns the attribute name.
|
TagInstance |
getTag()
Returns the root tag instance of the root.
|
boolean |
isStatic()
Returns true if the children are static.
|
boolean |
isTrim()
Returns true if trimming is enabled.
|
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation.
|
generate, generateFragmentPrologue, getCustomTagName, getFragmentCode, getFragmentName, isJspFragment, isValueFragment, setJspFragment
addAttribute, addAttributeChild, addChild, 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, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, error, error, error, escapeJavaString, generateClassEpilogue, generateDeclaration, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generatePrologueDeclare, generateStartLocation, generateTagRelease, generateTagState, getBodyContent, getEndAttributeLine, getEndLine, getFilename, getGenerator, getJsfBodyVar, getJsfVar, getNamespaceContext, getNamespacePrefix, getParent, getParentTagName, getParentTagNode, getQName, getRuntimeAttribute, getSegment, getStartLine, getStaticText, 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 QName getName()
public boolean isTrim()
isTrim
in class JspFragmentNode
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 endAttributes() throws JspParseException
endAttributes
in class JspFragmentNode
JspParseException
public JspNode addText(java.lang.String text) throws JspParseException
addText
in class JspFragmentNode
JspParseException
public void endElement() throws JspParseException
endElement
in class JspNode
JspParseException
public TagInstance getTag()
public boolean isStatic()
isStatic
in class JspFragmentNode
public void printXml(WriteStream os) throws java.io.IOException
public void generatePrologue(JspJavaWriter out) throws java.lang.Exception
generatePrologue
in class JspNode
java.lang.Exception
protected java.lang.String generateValue() throws java.lang.Exception
generateValue
in class JspFragmentNode
java.lang.Exception