public class StaticText extends JspNode
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine
Constructor and Description |
---|
StaticText(JavaJspGenerator gen,
java.lang.String text,
JspNode parent) |
Modifier and Type | Method and Description |
---|---|
void |
generate(JspJavaWriter out)
Generates the code for the static text
|
void |
generateEndLocation(JspJavaWriter out)
Generates the end location.
|
void |
generateStartLocation(JspJavaWriter out)
Generates the start location.
|
void |
generateStatic(JspJavaWriter out)
Generates the code for the static text
|
void |
getStaticText(CharBuffer cb)
Returns the static text.
|
java.lang.String |
getText()
Gets the text.
|
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.
|
void |
setText(java.lang.String text)
sets the text.
|
addAttribute, addAttribute, addChild, addChildEnd, addNamespace, addNamespaceRec, addText, attributeToBoolean, classToString, convertParameterValue, endAttributes, endElement, error, error, error, escapeJavaString, findScriptingNode, generateChildren, generateChildrenEmpty, generateClassEpilogue, generateClassEpilogueChildren, generateDeclaration, generateDeclarationChildren, generateELValue, generateEmpty, generateFragment, generateIncludeUrl, generateObject, generateParentTag, generatePrologue, generatePrologueChildren, generatePrologueDeclare, generateTagRelease, generateTagReleaseChildren, generateTagState, generateTagStateChildren, getBodyContent, getChildren, getCustomTagName, getEndAttributeLine, getEndLine, getFilename, getGenerator, getJsfBodyVar, getJsfVar, getNamespaceContext, getNamespacePrefix, getParent, getParentTagName, getParentTagNode, getQName, getRuntimeAttribute, getSegment, getStartLine, getStaticText, getTag, getTagName, hasCustomTag, 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, xmlText
public StaticText(JavaJspGenerator gen, java.lang.String text, JspNode parent)
public java.lang.String getText()
public void setText(java.lang.String text)
public boolean isStatic()
public void getStaticText(CharBuffer cb)
getStaticText
in class JspNode
public boolean isWhitespace()
public void printXml(WriteStream os) throws java.io.IOException
public void generateStartLocation(JspJavaWriter out) throws java.io.IOException
generateStartLocation
in class JspNode
java.io.IOException
public void generateEndLocation(JspJavaWriter out) throws java.io.IOException
generateEndLocation
in class JspNode
java.io.IOException
public void generate(JspJavaWriter out) throws java.lang.Exception
public void generateStatic(JspJavaWriter out) throws java.lang.Exception
generateStatic
in class JspNode
out
- the output writer for the generated java.java.lang.Exception