ccs.xml
Class CXTStream

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by ccs.xml.CXTStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public class CXTStream
extends java.io.PrintWriter

Utility class to facilitate creating CXT documents onto a stream. It creates the boilerplate.


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
CXTStream(java.io.OutputStream out, boolean isXhtmlUA)
          don't worry about the throw; it'll never happen unless the the VM is defective.
 
Method Summary
 void close()
           
 java.io.OutputStream getOut()
          Return the OutputStream which was supplied in the first place.
 
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, clearError, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CXTStream

public CXTStream(java.io.OutputStream out,
                 boolean isXhtmlUA)
          throws java.io.UnsupportedEncodingException
don't worry about the throw; it'll never happen unless the the VM is defective.

Throws:
java.io.UnsupportedEncodingException
Method Detail

getOut

public java.io.OutputStream getOut()
Return the OutputStream which was supplied in the first place.


close

public void close()
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.PrintWriter