public class JstlCoreWhen extends JstlNode
JSTL_CORE_NS, JSTL_FMT_NS, JSTL_XML_NS_attributeNames, _attributeValues, _children, _hasJspAttribute_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine| Constructor and Description |
|---|
JstlCoreWhen() |
| 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 |
endAttributes()
Called after all the attributes from the tag.
|
void |
endElement()
Called after the element from the tag.
|
void |
generate(JspJavaWriter out)
Generates the code for the c:if tag.
|
boolean |
hasScripting()
Returns true if the tag has scripting values.
|
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation.
|
generateSetNotNull, generateSetOrRemove, isJstladdAttributeChild, addChild, addChildEnd, addText, findScriptingNode, generateChildren, generateChildrenEmpty, generateClassEpilogueChildren, generateDeclarationChildren, generatePrologueChildren, generateStatic, generateTagReleaseChildren, generateTagStateChildren, getAttribute, getChildren, getStaticText, hasChildren, hasCustomTag, hasScriptingElement, hasTag, isChildrenStatic, isEmpty, isJsfParentRequired, isSingleExpression, isWhitespace, printXmlChildrenaddNamespace, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, 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, isPre21Taglib, isSimpleTag, isStatic, loadClass, printJspId, printXmlAttribute, printXmlOpen, printXmlText, setEndAttributeLocation, setEndLocation, setGenerator, setNamespace, setParent, setParseState, setQName, setStartLocation, toELObject, toString, xmlAttrText, xmlTextpublic void addAttribute(QName name, java.lang.String value) throws JspParseException
addAttribute in class JstlNodename - the name of the attribute.value - the value of the attribute.JspParseExceptionpublic void addAttribute(QName name, JspAttribute value) throws JspParseException
addAttribute in class JspContainerNodename - the name of the attribute.value - the value of the attribute.JspParseExceptionpublic void endAttributes()
throws JspParseException
endAttributes in class JspNodeJspParseExceptionpublic void endElement()
throws JspParseException
endElement in class JspNodeJspParseExceptionpublic boolean hasScripting()
hasScripting in class JspContainerNodepublic void printXml(WriteStream os) throws java.io.IOException
public void generate(JspJavaWriter out) throws java.lang.Exception