railo.runtime.debug
Class DebugCFMLWriter

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

public class DebugCFMLWriter
extends CFMLWriter
implements DebugOutputLog


Field Summary
 
Fields inherited from class javax.servlet.jsp.JspWriter
DEFAULT_BUFFER, NO_BUFFER, UNBOUNDED_BUFFER
 
Constructor Summary
DebugCFMLWriter(CFMLWriter writer)
           
 
Method Summary
 Writer append(char c)
           
 Writer append(CharSequence csq)
           
 Writer append(CharSequence csq, int start, int end)
           
 void appendHTMLHead(String text)
           
 void clear()
           
 void clearBuffer()
           
 void close()
           
 void doCache(CacheItem ci)
           
 void flush()
           
 int getBufferSize()
           
 CacheItem getCacheItem()
           
 DebugTextFragment[] getFragments()
           
 String getHTMLHead()
           
 int getRemaining()
           
 OutputStream getResponseStream()
           
 boolean isAutoFlush()
           
 void newLine()
           
 void print(boolean b)
           
 void print(char c)
           
 void print(char[] carr)
           
 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[] carr)
           
 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 resetHTMLHead()
           
 void setAllowCompression(boolean allowCompression)
           
 void setBufferConfig(int interval, boolean b)
           
 void setClosed(boolean b)
           
 void write(char[] cbuf)
           
 void write(char[] carr, int off, int len)
           
 void write(int i)
           
 void write(String str)
           
 void write(String str, int off, int len)
           
 void writeHTMLHead(String text)
           
 void writeRaw(String str)
          write the given string without removing whitespace.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugCFMLWriter

public DebugCFMLWriter(CFMLWriter writer)
Method Detail

getBufferSize

public int getBufferSize()
Overrides:
getBufferSize in class javax.servlet.jsp.JspWriter

isAutoFlush

public boolean isAutoFlush()
Overrides:
isAutoFlush in class javax.servlet.jsp.JspWriter

append

public Writer append(CharSequence csq)
              throws IOException
Specified by:
append in interface Appendable
Overrides:
append in class Writer
Throws:
IOException

append

public Writer append(char c)
              throws IOException
Specified by:
append in interface Appendable
Overrides:
append in class Writer
Throws:
IOException

append

public Writer append(CharSequence csq,
                     int start,
                     int end)
              throws IOException
Specified by:
append in interface Appendable
Overrides:
append in class Writer
Throws:
IOException

write

public void write(int i)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(char[] cbuf)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(String str)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(String str,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

getResponseStream

public OutputStream getResponseStream()
                               throws IOException
Specified by:
getResponseStream in class CFMLWriter
Throws:
IOException

setClosed

public void setClosed(boolean b)
Specified by:
setClosed in class CFMLWriter

setBufferConfig

public void setBufferConfig(int interval,
                            boolean b)
                     throws IOException
Specified by:
setBufferConfig in class CFMLWriter
Throws:
IOException

appendHTMLHead

public void appendHTMLHead(String text)
                    throws IOException
Specified by:
appendHTMLHead in class CFMLWriter
Throws:
IOException

writeHTMLHead

public void writeHTMLHead(String text)
                   throws IOException
Specified by:
writeHTMLHead in class CFMLWriter
Throws:
IOException

getHTMLHead

public String getHTMLHead()
                   throws IOException
Specified by:
getHTMLHead in class CFMLWriter
Throws:
IOException

resetHTMLHead

public void resetHTMLHead()
                   throws IOException
Specified by:
resetHTMLHead in class CFMLWriter
Throws:
IOException

writeRaw

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

Specified by:
writeRaw in class CFMLWriter
Throws:
IOException

clear

public void clear()
           throws IOException
Specified by:
clear in class javax.servlet.jsp.JspWriter
Throws:
IOException

clearBuffer

public void clearBuffer()
                 throws IOException
Specified by:
clearBuffer in class javax.servlet.jsp.JspWriter
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in class javax.servlet.jsp.JspWriter
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Specified by:
flush in class javax.servlet.jsp.JspWriter
Throws:
IOException

getRemaining

public int getRemaining()
Specified by:
getRemaining in class javax.servlet.jsp.JspWriter

newLine

public void newLine()
             throws IOException
Specified by:
newLine in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(boolean b)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(char c)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(int i)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(long l)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(float f)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(double d)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(char[] carr)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(String str)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

print

public void print(Object obj)
           throws IOException
Specified by:
print in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println()
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(boolean b)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(char c)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(int i)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(long l)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(float f)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(double d)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(char[] carr)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(String str)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

println

public void println(Object obj)
             throws IOException
Specified by:
println in class javax.servlet.jsp.JspWriter
Throws:
IOException

write

public void write(char[] carr,
                  int off,
                  int len)
           throws IOException
Specified by:
write in class Writer
Throws:
IOException

getFragments

public DebugTextFragment[] getFragments()
Specified by:
getFragments in interface DebugOutputLog

setAllowCompression

public void setAllowCompression(boolean allowCompression)
Specified by:
setAllowCompression in class CFMLWriter

doCache

public void doCache(CacheItem ci)
Specified by:
doCache in class CFMLWriter

getCacheItem

public CacheItem getCacheItem()
Specified by:
getCacheItem in class CFMLWriter
Returns:
the cacheResource


Copyright © 2012 Railo