org.springframework.extensions.surf.util
Class FakeJspWriter

java.lang.Object
  extended by java.io.Writer
      extended by javax.servlet.jsp.JspWriter
          extended by org.springframework.extensions.surf.util.FakeJspWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable

public class FakeJspWriter
extends javax.servlet.jsp.JspWriter

akeJspWriter.


Field Summary
 
Fields inherited from class javax.servlet.jsp.JspWriter
autoFlush, bufferSize, DEFAULT_BUFFER, NO_BUFFER, UNBOUNDED_BUFFER
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
FakeJspWriter()
          Instantiates a new fake jsp writer.
FakeJspWriter(int arg0, boolean arg1)
          Instantiates a new fake jsp writer.
FakeJspWriter(Writer myWriter)
          Instantiates a new fake jsp writer.
 
Method Summary
 void clear()
           
 void clearBuffer()
           
 void close()
           
 void flush()
           
 PrintWriter getPrintWriter()
          Gets the print writer.
 int getRemaining()
           
 Writer getRootWriter()
          Gets the root writer.
 void newLine()
           
 void print(boolean arg0)
           
 void print(char arg0)
           
 void print(char[] arg0)
           
 void print(double arg0)
           
 void print(float arg0)
           
 void print(int arg0)
           
 void print(long arg0)
           
 void print(Object arg0)
           
 void print(String arg0)
           
 void println()
           
 void println(boolean arg0)
           
 void println(char arg0)
           
 void println(char[] arg0)
           
 void println(double arg0)
           
 void println(float arg0)
           
 void println(int arg0)
           
 void println(long arg0)
           
 void println(Object arg0)
           
 void println(String arg0)
           
 void write(char[] cbuf, int off, int len)
           
 
Methods inherited from class javax.servlet.jsp.JspWriter
getBufferSize, isAutoFlush
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeJspWriter

public FakeJspWriter()
Instantiates a new fake jsp writer.


FakeJspWriter

public FakeJspWriter(Writer myWriter)
Instantiates a new fake jsp writer.

Parameters:
myWriter - the my writer

FakeJspWriter

public FakeJspWriter(int arg0,
                     boolean arg1)
Instantiates a new fake jsp writer.

Parameters:
arg0 - the arg0
arg1 - the arg1
Method Detail

getPrintWriter

public PrintWriter getPrintWriter()
Gets the print writer.

Returns:
the print writer

getRootWriter

public Writer getRootWriter()
Gets the root writer.

Returns:
the root writer

newLine

public void newLine()
             throws IOException
Specified by:
newLine in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(boolean arg0)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(char arg0)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(int arg0)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(long arg0)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(float arg0)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(double arg0)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(char[] arg0)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(String arg0)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(Object arg0)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println()
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(boolean arg0)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(char arg0)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(int arg0)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(long arg0)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(float arg0)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(double arg0)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(char[] arg0)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(String arg0)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(Object arg0)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

clear

public void clear()
           throws IOException
Specified by:
clear in class javax.servlet.jsp.JspWriter
Throws:
IOException

clearBuffer

public void clearBuffer()
                 throws IOException
Specified by:
clearBuffer in class javax.servlet.jsp.JspWriter
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Specified by:
flush in class javax.servlet.jsp.JspWriter
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in class javax.servlet.jsp.JspWriter
Throws:
IOException

getRemaining

public int getRemaining()
Specified by:
getRemaining in class javax.servlet.jsp.JspWriter

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException
Specified by:
write in class Writer
Throws:
IOException


Copyright © 2009 SpringSource, Inc. All Rights Reserved.