|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.jsp.java.JspNode
com.caucho.jsp.java.JspText
public class JspText
Represents static text.
Field Summary |
---|
Fields inherited from class com.caucho.jsp.java.JspNode |
---|
_endAttributeLine, _endLine, _filename, _gen, _name, _ns, _parent, _parseState, _sourcePath, _startLine |
Constructor Summary | |
---|---|
JspText()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JspText()
Method Detail |
---|
public JspNode addText(java.lang.String text)
addText
in class JspNode
public void addChild(JspNode node) throws JspParseException
addChild
in class JspNode
JspParseException
public boolean isStatic()
isStatic
in class JspNode
public void getStaticText(CharBuffer cb)
getStaticText
in class JspNode
public boolean isWhitespace()
public void printXml(WriteStream os) throws java.io.IOException
printXml
in class JspNode
os
- write stream to the generated XML.
java.io.IOException
public void generateStartLocation(JspJavaWriter out) throws java.io.IOException
generateStartLocation
in class JspNode
java.io.IOException
public void generate(JspJavaWriter out) throws java.lang.Exception
generate
in class JspNode
out
- the output writer for the generated java.
java.lang.Exception
public void generatePrologue(JspJavaWriter out) throws java.lang.Exception
JspNode
generatePrologue
in class JspNode
java.lang.Exception
public void generateTagStateChildren(JspJavaWriter out) throws java.lang.Exception
JspNode
generateTagStateChildren
in class JspNode
java.lang.Exception
public boolean hasCustomTag()
JspNode
hasCustomTag
in class JspNode
public void generateStatic(JspJavaWriter out) throws java.lang.Exception
generateStatic
in class JspNode
out
- the output writer for the generated java.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |