com.liferay.faces.util.jsp
Class JspWriterWrapper

java.lang.Object
  extended by java.io.Writer
      extended by javax.servlet.jsp.JspWriter
          extended by com.liferay.faces.util.jsp.JspWriterWrapper
All Implemented Interfaces:
Closeable, Flushable, Appendable, javax.faces.FacesWrapper<javax.servlet.jsp.JspWriter>

public abstract class JspWriterWrapper
extends javax.servlet.jsp.JspWriter
implements javax.faces.FacesWrapper<javax.servlet.jsp.JspWriter>

Author:
Kyle Stiemann

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
protected JspWriterWrapper(int bufferSize, boolean autoFlush)
           
 
Method Summary
 Writer append(char c)
           
 Writer append(CharSequence csq)
           
 Writer append(CharSequence csq, int start, int end)
           
 void clear()
           
 void clearBuffer()
           
 void close()
           
 void flush()
           
 int getBufferSize()
           
 int getRemaining()
           
abstract  javax.servlet.jsp.JspWriter getWrapped()
           
 boolean isAutoFlush()
           
 void newLine()
           
 void print(boolean bln)
           
 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 o)
           
 void print(String string)
           
 void println()
           
 void println(boolean bln)
           
 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 o)
           
 void println(String string)
           
 String toString()
           
 void write(char[] cbuf)
           
 void write(char[] cbuf, int off, int len)
           
 void write(int c)
           
 void write(String str)
           
 void write(String str, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JspWriterWrapper

protected JspWriterWrapper(int bufferSize,
                           boolean autoFlush)
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 csq)
              throws IOException
Specified by:
append in interface Appendable
Overrides:
append in class Writer
Throws:
IOException

append

public Writer append(CharSequence csq,
                     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

clearBuffer

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

close

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

flush

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

newLine

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

print

public void print(boolean bln)
           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(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(float f)
           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(char[] chars)
           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

print

public void print(Object o)
           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 bln)
             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(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(float f)
             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(char[] chars)
             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

println

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

toString

public String toString()
Overrides:
toString in class Object

write

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

write

public void write(char[] cbuf)
           throws IOException
Overrides:
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 str,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException
Specified by:
write in class Writer
Throws:
IOException

getBufferSize

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

isAutoFlush

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

getRemaining

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

getWrapped

public abstract javax.servlet.jsp.JspWriter getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.servlet.jsp.JspWriter>


Copyright © 2015 Liferay, Inc.. All rights reserved.