public class JstlCoreForEach 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 |
|---|
JstlCoreForEach() |
| 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 c:forEach tag.
|
void |
generateCollectionForEach(JspJavaWriter out)
Generates the code for the c:forEach tag.
|
void |
generateIntegerForEach(JspJavaWriter out)
Generates the code for the c:forEach tag.
|
void |
generatePrologue(JspJavaWriter out)
Generates the prologue for the c:forEach tag.
|
void |
generateTagState(JspJavaWriter out)
Generates code before the actual JSP.
|
java.lang.String |
getCustomTagName()
Returns the tag name for the current tag.
|
TagInstance |
getTag()
Returns the TagInstance of the enclosing parent.
|
boolean |
hasCustomTag()
Set true if the node contains a child tag.
|
boolean |
hasScripting()
Returns true if the tag has scripting values.
|
boolean |
isInteger()
Returns true for an integer forEach.
|
boolean |
isSimpleTag()
Returns true for a simple tag.
|
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, hasScriptingElement, hasTag, isChildrenStatic, isEmpty, isJsfParentRequired, isSingleExpression, isWhitespace, printXmlChildrenaddNamespace, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, endAttributes, endElement, error, error, error, escapeJavaString, generateClassEpilogue, generateDeclaration, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generatePrologueDeclare, generateStartLocation, generateTagRelease, 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, isPre21Taglib, 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 boolean hasScripting()
hasScripting in class JspContainerNodepublic boolean isInteger()
public TagInstance getTag()
JspNodepublic java.lang.String getCustomTagName()
getCustomTagName in class JspNodepublic boolean isSimpleTag()
isSimpleTag in class JspNodepublic void printXml(WriteStream os) throws java.io.IOException
public void generatePrologue(JspJavaWriter out) throws java.lang.Exception
generatePrologue in class JspNodejava.lang.Exceptionpublic void generate(JspJavaWriter out) throws java.lang.Exception
public void generateIntegerForEach(JspJavaWriter out) throws java.lang.Exception
java.lang.Exceptionpublic void generateCollectionForEach(JspJavaWriter out) throws java.lang.Exception
java.lang.Exceptionpublic boolean hasCustomTag()
JspContainerNodehasCustomTag in class JspContainerNodepublic void generateTagState(JspJavaWriter out) throws java.lang.Exception
generateTagState in class JspNodejava.lang.Exception