|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jasper.compiler.ServletWriter
public class ServletWriter
This is what is used to generate servlets.
Field Summary | |
---|---|
static String |
SPACES
|
static int |
TAB_WIDTH
|
Constructor Summary | |
---|---|
ServletWriter(PrintWriter writer)
|
Method Summary | |
---|---|
void |
close()
|
int |
getJavaLine()
|
void |
popIndent()
|
void |
print(char c)
Prints the given char. |
void |
print(int i)
Prints the given int. |
void |
print(String s)
Prints the given string. |
void |
printil(String s)
Prints the current indention, and then the string, and a '\n'. |
void |
printin()
Prints the current indention |
void |
printin(String s)
Prints the current indention, followed by the given string |
void |
println()
Prints a '\n' |
void |
println(String s)
Prints the given string followed by '\n' |
void |
printMultiLn(String s)
Prints the given string. |
void |
pushIndent()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TAB_WIDTH
public static final String SPACES
Constructor Detail |
---|
public ServletWriter(PrintWriter writer)
Method Detail |
---|
public void close()
public int getJavaLine()
public void pushIndent()
public void popIndent()
public void println(String s)
public void println()
public void printin()
public void printin(String s)
public void printil(String s)
public void print(char c)
public void print(int i)
public void print(String s)
public void printMultiLn(String s)
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |