public class JspText extends JspNode
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine| Constructor and Description |
|---|
JspText() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(JspNode node)
Adds a child node.
|
JspNode |
addText(java.lang.String text)
Adds text to the scriptlet.
|
void |
generate(JspJavaWriter out)
Generates the code for the static text
|
void |
generatePrologue(JspJavaWriter out)
generates prologue data.
|
void |
generateStartLocation(JspJavaWriter out)
Generates the start location.
|
void |
generateStatic(JspJavaWriter out)
Generates the code for the static text
|
void |
generateTagStateChildren(JspJavaWriter out)
generates tag state
|
void |
getStaticText(CharBuffer cb)
Returns the static text.
|
boolean |
hasCustomTag()
True if the node contains a child tag.
|
boolean |
isStatic()
Return true if the node only has static text.
|
boolean |
isWhitespace()
Returns true if whitespace.
|
void |
printXml(WriteStream os)
Generates the XML text representation for the tag validation.
|
addAttribute, addAttribute, addChildEnd, addNamespace, addNamespaceRec, attributeToBoolean, classToString, convertParameterValue, endAttributes, endElement, error, error, error, escapeJavaString, findScriptingNode, generateChildren, generateChildrenEmpty, generateClassEpilogue, generateClassEpilogueChildren, generateDeclaration, generateDeclarationChildren, generateELValue, generateEmpty, generateEndLocation, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generatePrologueChildren, generatePrologueDeclare, generateTagRelease, generateTagReleaseChildren, generateTagState, getBodyContent, getChildren, 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, hasScripting, hasScriptingElement, hasTag, invokeFragment, isInFragment, isJsfParentRequired, isJsp21, isJstl, isPre21Taglib, isSimpleTag, loadClass, printJspId, printXmlAttribute, printXmlOpen, printXmlText, setEndAttributeLocation, setEndLocation, setGenerator, setNamespace, setParent, setParseState, setQName, setStartLocation, toELObject, toString, xmlAttrText, xmlTextpublic JspNode addText(java.lang.String text)
public void addChild(JspNode node) throws JspParseException
addChild in class JspNodeJspParseExceptionpublic boolean isStatic()
public void getStaticText(CharBuffer cb)
getStaticText in class JspNodepublic boolean isWhitespace()
public void printXml(WriteStream os) throws java.io.IOException
public void generateStartLocation(JspJavaWriter out) throws java.io.IOException
generateStartLocation in class JspNodejava.io.IOExceptionpublic void generate(JspJavaWriter out) throws java.lang.Exception
public void generatePrologue(JspJavaWriter out) throws java.lang.Exception
JspNodegeneratePrologue in class JspNodejava.lang.Exceptionpublic void generateTagStateChildren(JspJavaWriter out) throws java.lang.Exception
JspNodegenerateTagStateChildren in class JspNodejava.lang.Exceptionpublic boolean hasCustomTag()
JspNodehasCustomTag in class JspNodepublic void generateStatic(JspJavaWriter out) throws java.lang.Exception
generateStatic in class JspNodeout - the output writer for the generated java.java.lang.Exception