org.loom.tags
Class PrintWriterWrapper

java.lang.Object
  extended by org.loom.tags.AbstractWriterWrapper<java.io.PrintWriter>
      extended by org.loom.tags.PrintWriterWrapper
All Implemented Interfaces:
WriterWrapper<java.io.PrintWriter>

public class PrintWriterWrapper
extends AbstractWriterWrapper<java.io.PrintWriter>

A wrapper around the default writer of an HttpResponse object.


Field Summary
 
Fields inherited from class org.loom.tags.AbstractWriterWrapper
writer
 
Constructor Summary
PrintWriterWrapper(java.io.PrintWriter writer)
           
 
Method Summary
 PrintWriterWrapper print(java.lang.CharSequence s)
          Print a String
 
Methods inherited from class org.loom.tags.AbstractWriterWrapper
end, endJavascript, flush, getWriter, print, printAttribute, printHiddenField, start, startEnd, startJavascript
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintWriterWrapper

public PrintWriterWrapper(java.io.PrintWriter writer)
Method Detail

print

public PrintWriterWrapper print(java.lang.CharSequence s)
                         throws java.io.IOException
Description copied from interface: WriterWrapper
Print a String

Parameters:
s - the text to be written
Returns:
this same instance
Throws:
java.io.IOException