net.datacrow.core.migration.itemexport
Class XmlBaseWriter

java.lang.Object
  extended by net.datacrow.core.migration.itemexport.XmlBaseWriter
Direct Known Subclasses:
XmlSchemaWriter, XmlWriter

public abstract class XmlBaseWriter
extends java.lang.Object


Field Summary
protected  java.io.BufferedOutputStream bos
           
protected  java.lang.String uberTag
           
 
Constructor Summary
protected XmlBaseWriter(java.io.BufferedOutputStream bos)
           
protected XmlBaseWriter(java.lang.String filename)
           
 
Method Summary
protected  java.lang.String getValidTag(java.lang.String s)
           
protected  void newLine()
           
protected  void writeLine(java.lang.String s, int level)
           
protected  void writeTag(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uberTag

protected final java.lang.String uberTag
See Also:
Constant Field Values

bos

protected final java.io.BufferedOutputStream bos
Constructor Detail

XmlBaseWriter

protected XmlBaseWriter(java.io.BufferedOutputStream bos)

XmlBaseWriter

protected XmlBaseWriter(java.lang.String filename)
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getValidTag

protected java.lang.String getValidTag(java.lang.String s)

newLine

protected void newLine()
                throws java.io.IOException
Throws:
java.io.IOException

writeLine

protected void writeLine(java.lang.String s,
                         int level)
                  throws java.io.IOException
Throws:
java.io.IOException

writeTag

protected void writeTag(java.lang.String s)
                 throws java.io.IOException
Throws:
java.io.IOException