railo.runtime.writer
Class CFMLWriterWhiteSpace

java.lang.Object
  extended by java.io.Writer
      extended by javax.servlet.jsp.JspWriter
          extended by railo.runtime.writer.CFMLWriter
              extended by railo.runtime.writer.CFMLWriterImpl
                  extended by railo.runtime.writer.CFMLWriterWhiteSpace
All Implemented Interfaces:
Closeable, Flushable, Appendable, WhiteSpaceWriter

public final class CFMLWriterWhiteSpace
extends CFMLWriterImpl
implements WhiteSpaceWriter

JSP Writer that Remove WhiteSpace from given content


Field Summary
static char CHAR_BS
           
static char CHAR_EMPTY
           
static char CHAR_FW
           
static char CHAR_NL
           
static char CHAR_RETURN
           
static char CHAR_SPACE
           
static char CHAR_TAB
           
 
Fields inherited from class javax.servlet.jsp.JspWriter
DEFAULT_BUFFER, NO_BUFFER, UNBOUNDED_BUFFER
 
Constructor Summary
CFMLWriterWhiteSpace(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, int bufferSize, boolean autoFlush, boolean closeConn, boolean showVersion, boolean contentLength, boolean allowCompression)
          constructor of the class
 
Method Summary
 void clear()
           
 void clearBuffer()
           
 void close()
           
 void flush()
           
 int getRemaining()
           
 void initHeaderBuffer()
          just a wrapper function for ACF
 void newLine()
           
 void print(boolean b)
           
 void print(char c)
           
 void print(char[] chars)
           
 void print(double d)
           
 void print(float f)
           
 void print(int i)
           
 void print(long l)
           
 void print(Object obj)
           
 void print(String str)
           
 void println()
           
 void println(boolean b)
           
 void println(char c)
           
 void println(char[] chars)
           
 void println(double d)
           
 void println(float f)
           
 void println(int i)
           
 void println(long l)
           
 void println(Object obj)
           
 void println(String str)
           
 void write(char[] chars)
           
 void write(char[] chars, int off, int len)
           
 void write(int i)
           
 void write(String str)
           
 void write(String str, int off, int len)
           
 void writeRaw(String str)
          write the given string without removing whitespace.
 
Methods inherited from class railo.runtime.writer.CFMLWriterImpl
appendHTMLHead, doCache, getCacheItem, getHTMLHead, getResponseStream, getString, isFlushed, resetHTMLHead, setBufferConfig, setClosed, toString, writeHTMLHead
 
Methods inherited from class javax.servlet.jsp.JspWriter
getBufferSize, isAutoFlush
 
Methods inherited from class java.io.Writer
append, append, append
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CHAR_EMPTY

public static final char CHAR_EMPTY
See Also:
Constant Field Values

CHAR_NL

public static final char CHAR_NL
See Also:
Constant Field Values

CHAR_SPACE

public static final char CHAR_SPACE
See Also:
Constant Field Values

CHAR_TAB

public static final char CHAR_TAB
See Also:
Constant Field Values

CHAR_BS

public static final char CHAR_BS
See Also:
Constant Field Values

CHAR_FW

public static final char CHAR_FW
See Also:
Constant Field Values

CHAR_RETURN

public static final char CHAR_RETURN
See Also:
Constant Field Values
Constructor Detail

CFMLWriterWhiteSpace

public CFMLWriterWhiteSpace(javax.servlet.http.HttpServletRequest req,
                            javax.servlet.http.HttpServletResponse rsp,
                            int bufferSize,
                            boolean autoFlush,
                            boolean closeConn,
                            boolean showVersion,
                            boolean contentLength,
                            boolean allowCompression)
constructor of the class

Parameters:
rsp -
bufferSize -
autoFlush -
Method Detail

clear

public void clear()
           throws IOException
Overrides:
clear in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.clear()

clearBuffer

public void clearBuffer()
Overrides:
clearBuffer in class CFMLWriterImpl
See Also:
CFMLWriterImpl.clearBuffer()

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.close()

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.flush()

getRemaining

public int getRemaining()
Overrides:
getRemaining in class CFMLWriterImpl
See Also:
CFMLWriterImpl.getRemaining()

newLine

public void newLine()
             throws IOException
Overrides:
newLine in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.newLine()

print

public void print(boolean b)
           throws IOException
Overrides:
print in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.print(boolean)

print

public void print(char c)
           throws IOException
Overrides:
print in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.print(char)

print

public void print(char[] chars)
           throws IOException
Overrides:
print in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.print(char[])

print

public void print(double d)
           throws IOException
Overrides:
print in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.print(double)

print

public void print(float f)
           throws IOException
Overrides:
print in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.print(float)

print

public void print(int i)
           throws IOException
Overrides:
print in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.print(int)

print

public void print(long l)
           throws IOException
Overrides:
print in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.print(long)

print

public void print(Object obj)
           throws IOException
Overrides:
print in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.print(java.lang.Object)

print

public void print(String str)
           throws IOException
Overrides:
print in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.print(java.lang.String)

println

public void println()
             throws IOException
Overrides:
println in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.println()

println

public void println(boolean b)
             throws IOException
Overrides:
println in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.println(boolean)

println

public void println(char c)
             throws IOException
Overrides:
println in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.println(char)

println

public void println(char[] chars)
             throws IOException
Overrides:
println in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.println(char[])

println

public void println(double d)
             throws IOException
Overrides:
println in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.println(double)

println

public void println(float f)
             throws IOException
Overrides:
println in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.println(float)

println

public void println(int i)
             throws IOException
Overrides:
println in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.println(int)

println

public void println(long l)
             throws IOException
Overrides:
println in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.println(long)

println

public void println(Object obj)
             throws IOException
Overrides:
println in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.println(java.lang.Object)

println

public void println(String str)
             throws IOException
Overrides:
println in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.println(java.lang.String)

write

public void write(char[] chars,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.write(char[], int, int)

write

public void write(String str,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.write(java.lang.String, int, int)

write

public void write(char[] chars)
           throws IOException
Overrides:
write in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.write(char[])

write

public void write(int i)
           throws IOException
Overrides:
write in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.write(int)

write

public void write(String str)
           throws IOException
Overrides:
write in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriterImpl.write(java.lang.String)

writeRaw

public void writeRaw(String str)
              throws IOException
Description copied from class: CFMLWriter
write the given string without removing whitespace.

Overrides:
writeRaw in class CFMLWriterImpl
Throws:
IOException
See Also:
CFMLWriter.writeRaw(java.lang.String)

initHeaderBuffer

public void initHeaderBuffer()
                      throws IOException
just a wrapper function for ACF

Overrides:
initHeaderBuffer in class CFMLWriterImpl
Throws:
IOException


Copyright © 2012 Railo