Class DefaultJspWriter

java.lang.Object
java.io.Writer
javax.servlet.jsp.JspWriter
javax.servlet.jsp.DefaultJspWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class DefaultJspWriter extends JspWriter
Default implementation of JspWriter for Gumdrop JSP support.

This implementation wraps a standard PrintWriter and provides the JSP-specific output methods required by generated JSP servlets.

Author:
Chris Burdess
  • Field Summary

    Fields inherited from class javax.servlet.jsp.JspWriter

    autoFlush, bufferSize, NO_BUFFER, UNBOUNDED_BUFFER

    Fields inherited from class java.io.Writer

    lock
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clear the contents of the buffer.
    void
    Clears the current contents of the buffer.
    void
    Close the stream.
    void
    Flush the stream.
    int
     
    void
    Write a line separator.
    void
    print(boolean b)
    Print a boolean value.
    void
    print(char c)
    Print a character.
    void
    print(char[] s)
    Print an array of characters.
    void
    print(double d)
    Print a double-precision floating-point number.
    void
    print(float f)
    Print a floating-point number.
    void
    print(int i)
    Print an integer.
    void
    print(long l)
    Print a long integer.
    void
    Print an object.
    void
    Print a string.
    void
    Terminate the current line by writing the line separator string.
    void
    println(boolean x)
    Print a boolean value and then terminate the line.
    void
    println(char x)
    Print a character and then terminate the line.
    void
    println(char[] x)
    Print an array of characters and then terminate the line.
    void
    println(double x)
    Print a double-precision floating-point number and then terminate the line.
    void
    println(float x)
    Print a floating-point number and then terminate the line.
    void
    println(int x)
    Print an integer and then terminate the line.
    void
    println(long x)
    Print a long integer and then terminate the line.
    void
    Print an Object and then terminate the line.
    void
    Print a String and then terminate the line.
    void
    write(char[] cbuf)
     
    void
    write(char[] cbuf, int off, int len)
     
    void
    write(int c)
     
    void
     
    void
    write(String str, int off, int len)
     

    Methods inherited from class javax.servlet.jsp.JspWriter

    getBufferSize, isAutoFlush

    Methods inherited from class java.io.Writer

    append, append, append, nullWriter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait