|
||||||||||
| 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.StaticText
public class StaticText
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 | |
|---|---|
StaticText(JavaJspGenerator gen,
java.lang.String text,
JspNode parent)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StaticText(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 void getStaticText(CharBuffer cb)
getStaticText 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 generateStartLocation(JspJavaWriter out)
throws java.io.IOException
generateStartLocation in class JspNodejava.io.IOException
public void generateEndLocation(JspJavaWriter out)
throws java.io.IOException
generateEndLocation in class JspNodejava.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 | |||||||||