|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.apache.jasper.compiler.ServletWriter
public class ServletWriter
This is what is used to generate servlets.
| 字段摘要 | |
|---|---|
static String |
SPACES
|
static int |
TAB_WIDTH
|
| 构造方法摘要 | |
|---|---|
ServletWriter(PrintWriter writer)
|
|
| 方法摘要 | |
|---|---|
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 |
printComment(org.apache.jasper.compiler.Mark start,
org.apache.jasper.compiler.Mark stop,
char[] chars)
Print a standard comment for echo outputed chunk. |
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()
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final int TAB_WIDTH
public static final String SPACES
| 构造方法详细信息 |
|---|
public ServletWriter(PrintWriter writer)
| 方法详细信息 |
|---|
public void close()
throws IOException
IOExceptionpublic int getJavaLine()
public void pushIndent()
public void popIndent()
public void printComment(org.apache.jasper.compiler.Mark start,
org.apache.jasper.compiler.Mark stop,
char[] chars)
start - The starting position of the JSP chunk being processed.stop - The ending position of the JSP chunk being processed.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)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||