org.japano.pagenode.legacy
Class BodyContentAdapter

java.lang.Object
  extended by java.io.Writer
      extended by javax.servlet.jsp.JspWriter
          extended by javax.servlet.jsp.tagext.BodyContent
              extended by 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 $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )

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
BodyContentAdapter(javax.servlet.jsp.JspWriter enclosing)
          Creates a new instance of BodyContent
 
Method Summary
 java.io.Writer append(char c)
           
 java.io.Writer append(java.lang.CharSequence csq)
           
 java.io.Writer append(java.lang.CharSequence csq, int start, int end)
           
 void clear()
           
 void clearBody()
           
 void clearBuffer()
           
 void close()
           
 Buffer getBuffer()
           
 int getBufferSize()
           
 java.io.Reader getReader()
           
 int getRemaining()
           
 java.lang.String getString()
           
 void newLine()
           
 void print(boolean param)
           
 void print(char param)
           
 void print(char[] values)
           
 void print(double param)
           
 void print(float param)
           
 void print(int param)
           
 void print(long param)
           
 void print(java.lang.Object obj)
           
 void print(java.lang.String str)
           
 void println()
           
 void println(boolean param)
           
 void println(char param)
           
 void println(char[] values)
           
 void println(double param)
           
 void println(float param)
           
 void println(int param)
           
 void println(long param)
           
 void println(java.lang.Object obj)
           
 void println(java.lang.String str)
           
 void write(char[] cbuf)
           
 void write(char[] cbuf, int off, int len)
           
 void write(int c)
           
 void write(java.lang.String str)
           
 void write(java.lang.String str, int off, int len)
           
 void writeOut(java.io.Writer writer)
           
 
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
 

Constructor Detail

BodyContentAdapter

public BodyContentAdapter(javax.servlet.jsp.JspWriter enclosing)
Creates a new instance of BodyContent

Method Detail

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()