org.codehaus.groovy.grails.web.pages.ext.jsp
Class JspWriterDelegate

java.lang.Object
  extended by java.io.Writer
      extended by javax.servlet.jsp.JspWriter
          extended by org.codehaus.groovy.grails.web.pages.ext.jsp.JspWriterDelegate
All Implemented Interfaces:
Closeable, Flushable, Appendable

public class JspWriterDelegate
extends JspWriter

A JspWriter implementation that delegates to another java.io.Writer

Since:
1.0

Created: May 1, 2008

Author:
Graeme Rocher

Field Summary
(package private) static char[] LINE_BREAK
           
 
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
JspWriterDelegate(Writer out)
           
 
Method Summary
 void clear()
           
 void clearBuffer()
           
 void close()
           
 void flush()
           
 int getRemaining()
           
 void newLine()
           
 void print(boolean b)
           
 void print(char c)
           
 void print(char[] cArray)
           
 void print(double d)
           
 void print(float f)
           
 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)
           
 String toString()
           
 void write(char[] arg0, int arg1, int arg2)
           
 void write(int c)
           
 
Methods inherited from class javax.servlet.jsp.JspWriter
getBufferSize, isAutoFlush
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LINE_BREAK

static final char[] LINE_BREAK
Constructor Detail

JspWriterDelegate

JspWriterDelegate(Writer out)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

clear

public void clear()
           throws IOException
Specified by:
clear in class JspWriter
Throws:
IOException

clearBuffer

public void clearBuffer()
                 throws IOException
Specified by:
clearBuffer in class JspWriter
Throws:
IOException

close

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

flush

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

getRemaining

public int getRemaining()
Specified by:
getRemaining in class JspWriter

newLine

public void newLine()
             throws IOException
Specified by:
newLine in class JspWriter
Throws:
IOException

print

public void print(boolean b)
           throws IOException
Specified by:
print in class JspWriter
Throws:
IOException

print

public void print(char c)
           throws IOException
Specified by:
print in class JspWriter
Throws:
IOException

print

public void print(char[] cArray)
           throws IOException
Specified by:
print in class JspWriter
Throws:
IOException

print

public void print(double d)
           throws IOException
Specified by:
print in class JspWriter
Throws:
IOException

print

public void print(float f)
           throws IOException
Specified by:
print in class JspWriter
Throws:
IOException

print

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

print

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

print

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

print

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

println

public void println()
             throws IOException
Specified by:
println in class JspWriter
Throws:
IOException

println

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

println

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

println

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

println

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

println

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

println

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

println

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

println

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

println

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

write

public void write(int c)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(char[] arg0,
                  int arg1,
                  int arg2)
           throws IOException
Specified by:
write in class Writer
Throws:
IOException


Copyright (c) 2005-2009 The Grails project