public abstract class JspFragmentNode extends JspContainerNode implements JspSegmentNode
_attributeNames, _attributeValues, _children, _hasJspAttribute
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
JspFragmentNode() |
Modifier and Type | Method and Description |
---|---|
JspNode |
addText(java.lang.String text)
Adds a text node.
|
void |
endAttributes()
Called after all the attributes from the tag.
|
void |
generate(JspJavaWriter out)
Generates the children.
|
void |
generateFragmentPrologue(JspJavaWriter out)
Generates code for the fragment variables.
|
protected java.lang.String |
generateValue()
Generates the code for a fragment.
|
java.lang.String |
getCustomTagName()
Returns the tag name for the current tag.
|
int |
getFragmentCode() |
java.lang.String |
getFragmentName()
Returns the fragment name.
|
boolean |
isJspFragment()
Set true if the fragment is used as a fragment object.
|
boolean |
isStatic()
Returns true if the children are static.
|
boolean |
isTrim()
Returns true if trimming is enabled.
|
boolean |
isValueFragment()
Returns true if the children are static.
|
void |
setJspFragment(boolean isFragment)
Set true if the fragment is used as a fragment object.
|
addAttribute, 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, endElement, error, error, error, escapeJavaString, generateClassEpilogue, generateDeclaration, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generatePrologue, generatePrologueDeclare, generateStartLocation, generateTagRelease, generateTagState, getBodyContent, 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, printXml, printXmlAttribute, printXmlOpen, printXmlText, setEndAttributeLocation, setEndLocation, setGenerator, setNamespace, setParent, setParseState, setQName, setStartLocation, toELObject, toString, xmlAttrText, xmlText
public void endAttributes() throws JspParseException
endAttributes
in class JspNode
JspParseException
public java.lang.String getFragmentName()
public java.lang.String getCustomTagName()
getCustomTagName
in class JspNode
public JspNode addText(java.lang.String text) throws JspParseException
addText
in class JspContainerNode
JspParseException
public boolean isTrim()
public boolean isStatic()
public boolean isValueFragment()
public int getFragmentCode()
public void setJspFragment(boolean isFragment)
public boolean isJspFragment()
public void generateFragmentPrologue(JspJavaWriter out) throws java.lang.Exception
java.lang.Exception
public void generate(JspJavaWriter out) throws java.lang.Exception
protected java.lang.String generateValue() throws java.lang.Exception
java.lang.Exception