| java.lang.Object org.apache.jasper.compiler.ServletWriter
ServletWriter | public class ServletWriter (Code) | | This is what is used to generate servlets.
author: Anil K. Vijendran author: Kin-man Chung |
TAB_WIDTH | public static int TAB_WIDTH(Code) | | |
getJavaLine | public int getJavaLine()(Code) | | |
popIndent | public void popIndent()(Code) | | |
print | public void print(char c)(Code) | | Prints the given char.
Use println() to print a '\n'.
|
print | public void print(int i)(Code) | | Prints the given int.
|
print | public void print(String s)(Code) | | Prints the given string.
The string must not contain any '\n', otherwise the line count will be
off.
|
printComment | public void printComment(Mark start, Mark stop, char[] chars)(Code) | | Print a standard comment for echo outputed chunk.
Parameters: start - The starting position of the JSP chunk being processed. Parameters: stop - The ending position of the JSP chunk being processed. |
printMultiLn | public void printMultiLn(String s)(Code) | | Prints the given string.
If the string spans multiple lines, the line count will be adjusted
accordingly.
|
printil | public void printil(String s)(Code) | | Prints the current indention, and then the string, and a '\n'.
|
printin | public void printin()(Code) | | Prints the current indention
|
printin | public void printin(String s)(Code) | | Prints the current indention, followed by the given string
|
println | public void println(String s)(Code) | | Prints the given string followed by '\n'
|
println | public void println()(Code) | | Prints a '\n'
|
pushIndent | public void pushIndent()(Code) | | |
|
|