public abstract class JstlNode extends JspContainerNode
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
JSTL_CORE_NS |
protected static java.lang.String |
JSTL_FMT_NS |
protected static java.lang.String |
JSTL_XML_NS |
_attributeNames, _attributeValues, _children, _hasJspAttribute_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine| Constructor and Description |
|---|
JstlNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(QName name,
java.lang.String value)
Adds an attribute.
|
protected void |
generateSetNotNull(JspJavaWriter out,
java.lang.String var,
java.lang.String scope,
java.lang.String value)
Generates the code to set a non-null value.
|
protected void |
generateSetOrRemove(JspJavaWriter out,
java.lang.String var,
java.lang.String scope,
java.lang.String value) |
boolean |
isJstl()
True if this is a jstl node.
|
addAttribute, 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, printXmlChildrenaddNamespace, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, endAttributes, endElement, error, error, error, escapeJavaString, generate, 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, printXml, printXmlAttribute, printXmlOpen, printXmlText, setEndAttributeLocation, setEndLocation, setGenerator, setNamespace, setParent, setParseState, setQName, setStartLocation, toELObject, toString, xmlAttrText, xmlTextprotected static final java.lang.String JSTL_CORE_NS
protected static final java.lang.String JSTL_FMT_NS
protected static final java.lang.String JSTL_XML_NS
public void addAttribute(QName name, java.lang.String value) throws JspParseException
addAttribute in class JspContainerNodename - the name of the attribute.value - the value of the attribute.JspParseExceptionprotected void generateSetNotNull(JspJavaWriter out, java.lang.String var, java.lang.String scope, java.lang.String value) throws java.lang.Exception
out - the writer to the *.java filevar - the EL namescope - the scope namevalue - the valuejava.lang.Exceptionprotected void generateSetOrRemove(JspJavaWriter out, java.lang.String var, java.lang.String scope, java.lang.String value) throws java.lang.Exception
java.lang.Exception