public class BodyContentStringImpl
extends javax.servlet.jsp.tagext.BodyContent
BodyContent that utilizes a StringJspWriter instead of a
JspWriter provided by the servlet container. This provides the ability to have JSP Tag classes write
their BodyContent to an underlying String rather than to a JSP, which is helpful when invoking Tag
classes directly for use with Facelets.| Constructor and Description |
|---|
BodyContentStringImpl(javax.servlet.jsp.JspWriter stringJspWriter) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearBuffer() |
void |
close() |
Reader |
getReader() |
int |
getRemaining() |
String |
getString() |
void |
newLine() |
void |
print(boolean b) |
void |
print(char c) |
void |
print(char[] s) |
void |
print(double d) |
void |
print(float f) |
void |
print(int i) |
void |
print(long l) |
void |
print(Object o) |
void |
print(String s) |
void |
println() |
void |
println(boolean b) |
void |
println(char c) |
void |
println(char[] s) |
void |
println(double d) |
void |
println(float f) |
void |
println(int i) |
void |
println(long l) |
void |
println(Object o) |
void |
println(String s) |
void |
write(char[] buf,
int off,
int len) |
void |
writeOut(Writer out) |
public BodyContentStringImpl(javax.servlet.jsp.JspWriter stringJspWriter)
public void clear()
throws IOException
clear in class javax.servlet.jsp.JspWriterIOExceptionpublic void clearBuffer()
throws IOException
clearBuffer in class javax.servlet.jsp.JspWriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class javax.servlet.jsp.JspWriterIOExceptionpublic Reader getReader()
getReader in class javax.servlet.jsp.tagext.BodyContentpublic int getRemaining()
getRemaining in class javax.servlet.jsp.JspWriterpublic String getString()
getString in class javax.servlet.jsp.tagext.BodyContentpublic void newLine()
throws IOException
newLine in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(boolean b)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(char c)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(int i)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(long l)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(float f)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(double d)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(char[] s)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(String s) throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(Object o) throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void println()
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(boolean b)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(char c)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(int i)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(long l)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(float f)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(double d)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(char[] s)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(String s) throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(Object o) throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void write(char[] buf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic void writeOut(Writer out) throws IOException
writeOut in class javax.servlet.jsp.tagext.BodyContentIOExceptionCopyright © 2016 Liferay, Inc.. All rights reserved.