Liferay 6.2-ce-ga5

com.liferay.portal.kernel.servlet
Class BodyContentWrapper

java.lang.Object
  extended by java.io.Writer
      extended by javax.servlet.jsp.JspWriter
          extended by javax.servlet.jsp.tagext.BodyContent
              extended by com.liferay.portal.kernel.servlet.BodyContentWrapper
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class BodyContentWrapper
extends javax.servlet.jsp.tagext.BodyContent


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
BodyContentWrapper(javax.servlet.jsp.tagext.BodyContent bodyContent, UnsyncStringWriter unsyncStringWriter)
           
 
Method Summary
 Writer append(char c)
           
 Writer append(CharSequence charSequence)
           
 Writer append(CharSequence charSequence, int start, int end)
           
 void clear()
           
 void clearBody()
           
 void clearBuffer()
           
 void close()
           
 void flush()
           
 int getBufferSize()
           
 javax.servlet.jsp.JspWriter getEnclosingWriter()
           
 Reader getReader()
           
 int getRemaining()
           
 String getString()
           
 StringBundler getStringBundler()
           
 boolean isAutoFlush()
           
 void newLine()
           
 void print(boolean b)
           
 void print(char c)
           
 void print(char[] chars)
           
 void print(double d)
           
 void print(float f)
           
 void print(int i)
           
 void print(long l)
           
 void print(Object object)
           
 void print(String string)
           
 void println()
           
 void println(boolean b)
           
 void println(char c)
           
 void println(char[] chars)
           
 void println(double d)
           
 void println(float f)
           
 void println(int i)
           
 void println(long l)
           
 void println(Object object)
           
 void println(String string)
           
 void write(char[] chars)
           
 void write(char[] chars, int offset, int length)
           
 void write(int c)
           
 void write(String string)
           
 void write(String string, int offset, int length)
           
 void writeOut(Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyContentWrapper

public BodyContentWrapper(javax.servlet.jsp.tagext.BodyContent bodyContent,
                          UnsyncStringWriter unsyncStringWriter)
Method Detail

append

public Writer append(char c)
              throws IOException
Specified by:
append in interface Appendable
Overrides:
append in class Writer
Throws:
IOException

append

public Writer append(CharSequence charSequence)
              throws IOException
Specified by:
append in interface Appendable
Overrides:
append in class Writer
Throws:
IOException

append

public Writer append(CharSequence charSequence,
                     int start,
                     int end)
              throws IOException
Specified by:
append in interface Appendable
Overrides:
append in class Writer
Throws:
IOException

clear

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

clearBody

public void clearBody()
Overrides:
clearBody in class javax.servlet.jsp.tagext.BodyContent

clearBuffer

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

close

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

flush

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

getBufferSize

public int getBufferSize()
Overrides:
getBufferSize in class javax.servlet.jsp.JspWriter

getEnclosingWriter

public javax.servlet.jsp.JspWriter getEnclosingWriter()
Overrides:
getEnclosingWriter in class javax.servlet.jsp.tagext.BodyContent

getReader

public Reader getReader()
Specified by:
getReader in class javax.servlet.jsp.tagext.BodyContent

getRemaining

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

getString

public String getString()
Specified by:
getString in class javax.servlet.jsp.tagext.BodyContent

getStringBundler

public StringBundler getStringBundler()

isAutoFlush

public boolean isAutoFlush()
Overrides:
isAutoFlush in class javax.servlet.jsp.JspWriter

newLine

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

print

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

print

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

print

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

print

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

print

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

print

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

print

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

print

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

print

public void print(String string)
           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 b)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

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

println

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

println

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

println

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

println

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

println

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

println

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

println

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

write

public void write(char[] chars)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(char[] chars,
                  int offset,
                  int length)
           throws IOException
Specified by:
write in class Writer
Throws:
IOException

write

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

write

public void write(String string)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(String string,
                  int offset,
                  int length)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

writeOut

public void writeOut(Writer writer)
              throws IOException
Specified by:
writeOut in class javax.servlet.jsp.tagext.BodyContent
Throws:
IOException

Liferay 6.2-ce-ga5