com.liferay.faces.util.jsp.internal
Class JspWriterStringImpl
java.lang.Object
java.io.Writer
javax.servlet.jsp.JspWriter
com.liferay.faces.util.jsp.internal.JspWriterStringImpl
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class JspWriterStringImpl
- extends javax.servlet.jsp.JspWriter
This class is an implementation of JspWriter that writes to an underlying String instead of JSP.
- Author:
- Neil Griffin
| Fields inherited from class javax.servlet.jsp.JspWriter |
autoFlush, bufferSize, DEFAULT_BUFFER, NO_BUFFER, UNBOUNDED_BUFFER |
| Methods inherited from class javax.servlet.jsp.JspWriter |
getBufferSize, isAutoFlush |
DEFAULT_AUTO_FLUSH
public static final boolean DEFAULT_AUTO_FLUSH
- See Also:
- Constant Field Values
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZE
- See Also:
- Constant Field Values
JspWriterStringImpl
public JspWriterStringImpl()
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 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(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[] s)
throws IOException
- Specified by:
print in class javax.servlet.jsp.JspWriter
- Throws:
IOException
print
public void print(String s)
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 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(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[] s)
throws IOException
- Specified by:
println in class javax.servlet.jsp.JspWriter
- Throws:
IOException
println
public void println(String s)
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(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
write in class Writer
- Throws:
IOException
getRemaining
public int getRemaining()
- Specified by:
getRemaining in class javax.servlet.jsp.JspWriter
Copyright © 2015 Liferay, Inc.. All rights reserved.