Package net.ontopia.utils.ontojsp
Class FakeBodyContent
java.lang.Object
java.io.Writer
javax.servlet.jsp.JspWriter
javax.servlet.jsp.tagext.BodyContent
net.ontopia.utils.ontojsp.FakeBodyContent
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public class FakeBodyContent
extends javax.servlet.jsp.tagext.BodyContent
INTERNAL: Fake body content for use with the ontopia fake jsp
environment.
-
Field Summary
Fields inherited from class javax.servlet.jsp.JspWriter
autoFlush, bufferSize, DEFAULT_BUFFER, NO_BUFFER, UNBOUNDED_BUFFER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidvoidclose()intvoidnewLine()voidprint(boolean b) voidprint(char c) voidprint(char[] s) voidprint(double d) voidprint(float f) voidprint(int i) voidprint(long l) voidvoidvoidprintln()voidprintln(boolean x) voidprintln(char x) voidprintln(char[] x) voidprintln(double x) voidprintln(float x) voidprintln(int x) voidprintln(long x) voidvoidvoidwrite(char[] buf) voidwrite(char[] cbuf, int off, int len) voidwrite(int c) voidvoidMethods inherited from class javax.servlet.jsp.tagext.BodyContent
clearBody, flush, getEnclosingWriterMethods inherited from class javax.servlet.jsp.JspWriter
getBufferSize, isAutoFlush
-
Constructor Details
-
FakeBodyContent
public FakeBodyContent(javax.servlet.jsp.JspWriter writer)
-
-
Method Details
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
newLine
- Specified by:
newLinein classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
clear
- Specified by:
clearin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
clearBuffer
- Specified by:
clearBufferin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
getRemaining
public int getRemaining()- Specified by:
getRemainingin classjavax.servlet.jsp.JspWriter
-
getReader
- Specified by:
getReaderin classjavax.servlet.jsp.tagext.BodyContent
-
getString
- Specified by:
getStringin classjavax.servlet.jsp.tagext.BodyContent
-
writeOut
- Specified by:
writeOutin classjavax.servlet.jsp.tagext.BodyContent- Throws:
IOException
-