org.apache.jasper.compiler
クラス ServletWriter
java.lang.Object
|
+--org.apache.jasper.compiler.ServletWriter
- public class ServletWriter
- extends java.lang.Object
This is what is used to generate servlets.
- 作成者:
- Anil K. Vijendran
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAB_WIDTH
public static int TAB_WIDTH
SPACES
public static java.lang.String SPACES
ServletWriter
public ServletWriter(java.io.PrintWriter writer)
close
public void close()
throws java.io.IOException
getJavaLine
public int getJavaLine()
setLineMap
public void setLineMap(JspLineMap map)
getLineMap
public JspLineMap getLineMap()
pushIndent
public void pushIndent()
popIndent
public void popIndent()
printComment
public void printComment(Mark start,
Mark stop,
char[] chars)
- Print a standard comment for echo outputed chunk.
- パラメータ:
start
- The starting position of the JSP chunk being processed.stop
- The ending position of the JSP chunk being processed.
quoteString
public java.lang.String quoteString(java.lang.String s)
- Quote the given string to make it appear in a chunk of java code.
- パラメータ:
s
- The string to quote.- 戻り値:
- The quoted string.
println
public void println(java.lang.String line)
println
public void println()
indent
public void indent()
print
public void print(java.lang.String s)
printMultiLn
public void printMultiLn(java.lang.String multiline)
Copyright ? 2000 Apache Software Foundation. All Rights Reserved.