Package net.ontopia.utils.ontojsp
Class DefaultJspWriter
java.lang.Object
java.io.Writer
javax.servlet.jsp.JspWriter
net.ontopia.utils.ontojsp.DefaultJspWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public class DefaultJspWriter
extends javax.servlet.jsp.JspWriter
Fake the JspWriter, needed for execution of a JSP.
-
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 TypeMethodDescriptionfinal voidclear()voidvoidclose()voidflush()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) Prints a boolean value and then terminate the line.voidprintln(char x) Prints a character and then terminate the line.voidprintln(char[] x) Prints an array of characters and then terminate the line.voidprintln(double x) Prints a double-precision floating-point number and then terminate the line.voidprintln(float x) Prints a floating-point number and then terminate the line.voidprintln(int x) Prints an integer and then terminate the line.voidprintln(long x) Prints a long integer and then terminate the line.voidPrints an Object and then terminate the line.voidPrints a String and then terminate the line.voidwrite(char[] ch, int start, int length) Methods inherited from class javax.servlet.jsp.JspWriter
getBufferSize, isAutoFlush
-
Constructor Details
-
DefaultJspWriter
-
-
Method Details
-
clear
- Specified by:
clearin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
clearBuffer
- Specified by:
clearBufferin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin 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
-
newLine
- Specified by:
newLinein classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
write
- Specified by:
writein classWriter- 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
Prints a boolean value and then terminate the line. This method behaves as though it invokesand thenprint(boolean).println()- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
Prints a character and then terminate the line. This method behaves as though it invokesand thenprint(char).println()- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
Prints an integer and then terminate the line. This method behaves as though it invokesand thenprint(int).println()- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
Prints a long integer and then terminate the line. This method behaves as though it invokesand thenprint(long).println()- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
Prints a floating-point number and then terminate the line. This method behaves as though it invokesand thenprint(float).println()- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
Prints a double-precision floating-point number and then terminate the line. This method behaves as though it invokesand thenprint(double).println()- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
Prints an array of characters and then terminate the line. This method behaves as though it invokesand thenprint(char[]).println()- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
Prints a String and then terminate the line. This method behaves as though it invokesand thenprint(String).println()- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
Prints an Object and then terminate the line. This method behaves as though it invokesand thenprint(Object).println()- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-