|
||||||||||
| 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.JspTextNode
public class JspTextNode
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 | |
|---|---|
JspTextNode(JavaJspGenerator gen,
java.lang.String text,
JspNode parent)
|
|
| Method Summary | |
|---|---|
void |
generate(JspJavaWriter out)
Generates the code for the static text |
void |
generateStatic(JspJavaWriter out)
Generates the code for 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JspTextNode(JavaJspGenerator gen,
java.lang.String text,
JspNode parent)
| Method Detail |
|---|
public java.lang.String getText()
public void setText(java.lang.String text)
public boolean isStatic()
isStatic in class JspNodepublic boolean isWhitespace()
public void printXml(WriteStream os)
throws java.io.IOException
printXml in class JspNodeos - write stream to the generated XML.
java.io.IOException
public void generate(JspJavaWriter out)
throws java.lang.Exception
generate in class JspNodeout - the output writer for the generated java.
java.lang.Exception
public void generateStatic(JspJavaWriter out)
throws java.lang.Exception
generateStatic in class JspNodeout - 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 | |||||||||