oracle.xml.parser.v2
Class XMLOutputStream

java.lang.Object
  |
  +--oracle.xml.parser.v2.XMLOutputStream

public class XMLOutputStream
extends java.lang.Object


Field Summary
TypeField
static int COMPACT
           
static int DEFAULT
           
static int PRETTY
           
 
Constructor Summary
XMLOutputStream(java.io.OutputStream out)
           
XMLOutputStream(java.io.PrintWriter out)
           
 
Method Summary
TypeMethod
 void addIndent(int offset)
           
 void close()
           
 void flush()
           
 int getOutputStyle()
           
 void setEncoding(java.lang.String encoding, boolean lendian, boolean byteOrderMark)
           
 void setOutputStyle(int style)
           
 void write(int c)
           
 void writeChars(java.lang.String str)
           
 void writeIndent()
           
 void writeNewLine()
           
 void writeQuotedString(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static int DEFAULT

PRETTY

public static int PRETTY

COMPACT

public static int COMPACT
Constructor Detail

XMLOutputStream

public XMLOutputStream(java.io.OutputStream out)

XMLOutputStream

public XMLOutputStream(java.io.PrintWriter out)
Method Detail

setEncoding

public void setEncoding(java.lang.String encoding,
                        boolean lendian,
                        boolean byteOrderMark)
                 throws java.io.IOException

flush

public void flush()
           throws java.io.IOException

close

public void close()
           throws java.io.IOException

write

public void write(int c)
           throws java.io.IOException

writeChars

public void writeChars(java.lang.String str)
                throws java.io.IOException

writeQuotedString

public void writeQuotedString(java.lang.String str)
                       throws java.io.IOException

writeNewLine

public void writeNewLine()
                  throws java.io.IOException

addIndent

public void addIndent(int offset)

writeIndent

public void writeIndent()
                 throws java.io.IOException

setOutputStyle

public void setOutputStyle(int style)

getOutputStyle

public int getOutputStyle()