org.japano.pagenode.legacy
Class BodyContentAdapter
java.lang.Object
java.io.Writer
javax.servlet.jsp.JspWriter
javax.servlet.jsp.tagext.BodyContent
org.japano.pagenode.legacy.BodyContentAdapter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class BodyContentAdapter
- extends javax.servlet.jsp.tagext.BodyContent
A BodyContent facade for a Buffer
- Version:
- $Id: BodyContentAdapter.java,v 1.5 2005/09/27 21:30:51 fforw Exp $
- Author:
- Sven Helmberger ( sven dot helmberger at gmx dot de )
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 |
BodyContentAdapter(javax.servlet.jsp.JspWriter enclosing)
Creates a new instance of BodyContent |
Methods inherited from class javax.servlet.jsp.tagext.BodyContent |
flush, getEnclosingWriter |
Methods inherited from class javax.servlet.jsp.JspWriter |
isAutoFlush |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BodyContentAdapter
public BodyContentAdapter(javax.servlet.jsp.JspWriter enclosing)
- Creates a new instance of BodyContent
print
public void print(java.lang.Object obj)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(java.lang.Object obj)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(boolean param)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(boolean param)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(double param)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(double param)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(char param)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(char param)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Specified by:
write
in class java.io.Writer
- Throws:
java.io.IOException
print
public void print(float param)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(float param)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(java.lang.String str)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(java.lang.String str)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(int param)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(int param)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(long param)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(long param)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(char[] values)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(char[] values)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
newLine
public void newLine()
throws java.io.IOException
- Specified by:
newLine
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
getRemaining
public int getRemaining()
- Specified by:
getRemaining
in class javax.servlet.jsp.JspWriter
getBufferSize
public int getBufferSize()
- Overrides:
getBufferSize
in class javax.servlet.jsp.JspWriter
getString
public java.lang.String getString()
- Specified by:
getString
in class javax.servlet.jsp.tagext.BodyContent
writeOut
public void writeOut(java.io.Writer writer)
throws java.io.IOException
- Specified by:
writeOut
in class javax.servlet.jsp.tagext.BodyContent
- Throws:
java.io.IOException
getReader
public java.io.Reader getReader()
- Specified by:
getReader
in class javax.servlet.jsp.tagext.BodyContent
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
clearBuffer
public void clearBuffer()
- Specified by:
clearBuffer
in class javax.servlet.jsp.JspWriter
clear
public void clear()
- Specified by:
clear
in class javax.servlet.jsp.JspWriter
println
public void println()
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
write
public void write(java.lang.String str)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
write
public void write(char[] cbuf)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
append
public java.io.Writer append(char c)
throws java.io.IOException
- Specified by:
append
in interface java.lang.Appendable
- Overrides:
append
in class java.io.Writer
- Throws:
java.io.IOException
append
public java.io.Writer append(java.lang.CharSequence csq,
int start,
int end)
throws java.io.IOException
- Specified by:
append
in interface java.lang.Appendable
- Overrides:
append
in class java.io.Writer
- Throws:
java.io.IOException
append
public java.io.Writer append(java.lang.CharSequence csq)
throws java.io.IOException
- Specified by:
append
in interface java.lang.Appendable
- Overrides:
append
in class java.io.Writer
- Throws:
java.io.IOException
write
public void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
write
public void write(int c)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
clearBody
public void clearBody()
- Overrides:
clearBody
in class javax.servlet.jsp.tagext.BodyContent
getBuffer
public Buffer getBuffer()