public class MockBodyContent
extends javax.servlet.jsp.tagext.BodyContent
BodyContent.| Constructor and Description |
|---|
MockBodyContent(javax.servlet.jsp.JspWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearBody() |
void |
clearBuffer() |
void |
close() |
String |
getOutputAsString() |
Reader |
getReader() |
int |
getRemaining() |
String |
getString() |
void |
newLine() |
void |
print(boolean arg0) |
void |
print(char arg0) |
void |
print(char[] arg0) |
void |
print(double arg0) |
void |
print(float arg0) |
void |
print(int arg0) |
void |
print(long arg0) |
void |
print(Object arg0) |
void |
print(String arg0) |
void |
println() |
void |
println(boolean arg0) |
void |
println(char arg0) |
void |
println(char[] arg0) |
void |
println(double arg0) |
void |
println(float arg0) |
void |
println(int arg0) |
void |
println(long arg0) |
void |
println(Object arg0) |
void |
println(String arg0) |
String |
toString() |
void |
write(char[] cbuf,
int off,
int len) |
void |
writeOut(Writer writer) |
public String getOutputAsString()
public Reader getReader()
getReader in class javax.servlet.jsp.tagext.BodyContentpublic String getString()
getString in class javax.servlet.jsp.tagext.BodyContentpublic void writeOut(Writer writer) throws IOException
writeOut in class javax.servlet.jsp.tagext.BodyContentIOExceptionpublic void clearBody()
clearBody in class javax.servlet.jsp.tagext.BodyContentpublic void newLine()
throws IOException
newLine in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(boolean arg0)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(char arg0)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(int arg0)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(long arg0)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(float arg0)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(double arg0)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(char[] arg0)
throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(String arg0) throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void print(Object arg0) throws IOException
print in class javax.servlet.jsp.JspWriterIOExceptionpublic void println()
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(boolean arg0)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(char arg0)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(int arg0)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(long arg0)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(float arg0)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(double arg0)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(char[] arg0)
throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(String arg0) throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic void println(Object arg0) throws IOException
println in class javax.servlet.jsp.JspWriterIOExceptionpublic 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 int getRemaining()
getRemaining in class javax.servlet.jsp.JspWriterpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionCopyright © 2003-2015. All Rights Reserved.