javax.servlet.jsp
Class JspWriter

java.lang.Object
  extended by java.io.Writer
      extended by javax.servlet.jsp.JspWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable
Direct Known Subclasses:
BodyContent

public abstract class JspWriter
extends java.io.Writer


Field Summary
protected  boolean autoFlush
           
protected  int bufferSize
           
static int DEFAULT_BUFFER
           
static int NO_BUFFER
           
static int UNBOUNDED_BUFFER
           
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
protected JspWriter(int bufferSize, boolean autoFlush)
           
 
Method Summary
abstract  void clear()
           
abstract  void clearBuffer()
           
abstract  void flush()
           
 int getBufferSize()
           
abstract  int getRemaining()
           
 boolean isAutoFlush()
           
abstract  void newLine()
           
abstract  void print(boolean b)
           
abstract  void print(char c)
           
abstract  void print(char[] s)
           
abstract  void print(double d)
           
abstract  void print(float f)
           
abstract  void print(int i)
           
abstract  void print(long l)
           
abstract  void print(java.lang.Object o)
           
abstract  void print(java.lang.String s)
           
abstract  void println()
           
abstract  void println(boolean b)
           
abstract  void println(char c)
           
abstract  void println(char[] s)
           
abstract  void println(double d)
           
abstract  void println(float f)
           
abstract  void println(int i)
           
abstract  void println(long l)
           
abstract  void println(java.lang.Object o)
           
abstract  void println(java.lang.String s)
           
 
Methods inherited from class java.io.Writer
append, append, append, close, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BUFFER

public static final int DEFAULT_BUFFER
See Also:
Constant Field Values

NO_BUFFER

public static final int NO_BUFFER
See Also:
Constant Field Values

UNBOUNDED_BUFFER

public static final int UNBOUNDED_BUFFER
See Also:
Constant Field Values

bufferSize

protected int bufferSize

autoFlush

protected boolean autoFlush
Constructor Detail

JspWriter

protected JspWriter(int bufferSize,
                    boolean autoFlush)
Method Detail

print

public abstract void print(boolean b)
                    throws java.io.IOException
Throws:
java.io.IOException

print

public abstract void print(char c)
                    throws java.io.IOException
Throws:
java.io.IOException

print

public abstract void print(int i)
                    throws java.io.IOException
Throws:
java.io.IOException

print

public abstract void print(long l)
                    throws java.io.IOException
Throws:
java.io.IOException

print

public abstract void print(float f)
                    throws java.io.IOException
Throws:
java.io.IOException

print

public abstract void print(double d)
                    throws java.io.IOException
Throws:
java.io.IOException

print

public abstract void print(char[] s)
                    throws java.io.IOException
Throws:
java.io.IOException

print

public abstract void print(java.lang.String s)
                    throws java.io.IOException
Throws:
java.io.IOException

print

public abstract void print(java.lang.Object o)
                    throws java.io.IOException
Throws:
java.io.IOException

newLine

public abstract void newLine()
                      throws java.io.IOException
Throws:
java.io.IOException

println

public abstract void println()
                      throws java.io.IOException
Throws:
java.io.IOException

println

public abstract void println(boolean b)
                      throws java.io.IOException
Throws:
java.io.IOException

println

public abstract void println(char c)
                      throws java.io.IOException
Throws:
java.io.IOException

println

public abstract void println(int i)
                      throws java.io.IOException
Throws:
java.io.IOException

println

public abstract void println(long l)
                      throws java.io.IOException
Throws:
java.io.IOException

println

public abstract void println(float f)
                      throws java.io.IOException
Throws:
java.io.IOException

println

public abstract void println(double d)
                      throws java.io.IOException
Throws:
java.io.IOException

println

public abstract void println(char[] s)
                      throws java.io.IOException
Throws:
java.io.IOException

println

public abstract void println(java.lang.String s)
                      throws java.io.IOException
Throws:
java.io.IOException

println

public abstract void println(java.lang.Object o)
                      throws java.io.IOException
Throws:
java.io.IOException

clear

public abstract void clear()
                    throws java.io.IOException
Throws:
java.io.IOException

clearBuffer

public abstract void clearBuffer()
                          throws java.io.IOException
Throws:
java.io.IOException

flush

public abstract void flush()
                    throws java.io.IOException
Specified by:
flush in interface java.io.Flushable
Specified by:
flush in class java.io.Writer
Throws:
java.io.IOException

getBufferSize

public int getBufferSize()

getRemaining

public abstract int getRemaining()

isAutoFlush

public boolean isAutoFlush()