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.JspWriterFake the JspWriter, needed for execution of a JSP.
-
-
Constructor Summary
Constructors Constructor Description DefaultJspWriter(Writer out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidclearBuffer()voidclose()voidflush()intgetRemaining()voidnewLine()voidprint(boolean b)voidprint(char c)voidprint(char[] s)voidprint(double d)voidprint(float f)voidprint(int i)voidprint(long l)voidprint(Object obj)voidprint(String s)voidprintln()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.voidprintln(Object x)Prints an Object and then terminate the line.voidprintln(String x)Prints a String and then terminate the line.voidwrite(char[] ch, int start, int length)
-
-
-
Constructor Detail
-
DefaultJspWriter
public DefaultJspWriter(Writer out)
-
-
Method Detail
-
clear
public final void clear() throws IOException- Specified by:
clearin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
clearBuffer
public void clearBuffer() throws IOException- Specified by:
clearBufferin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Specified by:
flushin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
close
public void close() throws IOException- 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
public void newLine() throws IOException- Specified by:
newLinein classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
write
public void write(char[] ch, int start, int length) throws IOException- Specified by:
writein classWriter- Throws:
IOException
-
print
public void print(boolean b) throws IOException- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
public void print(char c) throws IOException- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
public void print(int i) throws IOException- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
public void print(long l) throws IOException- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
public void print(float f) throws IOException- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
public void print(double d) throws IOException- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
public void print(char[] s) throws IOException- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
public void print(String s) throws IOException
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
print
public void print(Object obj) throws IOException
- Specified by:
printin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
public void println() throws IOException- Specified by:
printlnin classjavax.servlet.jsp.JspWriter- Throws:
IOException
-
println
public void println(boolean x) throws IOExceptionPrints 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
public void println(char x) throws IOExceptionPrints 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
public void println(int x) throws IOExceptionPrints 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
public void println(long x) throws IOExceptionPrints 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
public void println(float x) throws IOExceptionPrints 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
public void println(double x) throws IOExceptionPrints 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
public void println(char[] x) throws IOExceptionPrints 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
public void println(String x) throws IOException
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
public void println(Object x) throws IOException
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
-
-