com.liferay.portal.kernel.servlet
Class BodyContentWrapper
java.lang.Object
java.io.Writer
javax.servlet.jsp.JspWriter
javax.servlet.jsp.tagext.BodyContent
com.liferay.portal.kernel.servlet.BodyContentWrapper
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class BodyContentWrapper
- extends javax.servlet.jsp.tagext.BodyContent
View Source
- Author:
- Shuyang Zhou
Fields inherited from class javax.servlet.jsp.JspWriter |
autoFlush, bufferSize, DEFAULT_BUFFER, NO_BUFFER, UNBOUNDED_BUFFER |
Fields inherited from class java.io.Writer |
lock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BodyContentWrapper
public BodyContentWrapper(javax.servlet.jsp.tagext.BodyContent bodyContent,
UnsyncStringWriter unsyncStringWriter)
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 charSequence)
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 charSequence,
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
clear
public void clear()
throws java.io.IOException
- Specified by:
clear
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.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 java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class javax.servlet.jsp.tagext.BodyContent
- Throws:
java.io.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 java.io.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 java.lang.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 java.io.IOException
- Specified by:
newLine
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(boolean b)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(char c)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(char[] chars)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(double d)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(float f)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(int i)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(long l)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(java.lang.Object object)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
print
public void print(java.lang.String string)
throws java.io.IOException
- Specified by:
print
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println()
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(boolean b)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(char c)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(char[] charArray)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(double d)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(float f)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(int i)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(long l)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(java.lang.Object object)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
println
public void println(java.lang.String string)
throws java.io.IOException
- Specified by:
println
in class javax.servlet.jsp.JspWriter
- Throws:
java.io.IOException
write
public void write(char[] charArray)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
write
public void write(char[] charArray,
int offset,
int length)
throws java.io.IOException
- Specified by:
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
write
public void write(java.lang.String string)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
write
public void write(java.lang.String string,
int offset,
int length)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
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