net.datacrow.core.migration.itemexport
Class XmlWriter

java.lang.Object
  extended by net.datacrow.core.migration.itemexport.XmlBaseWriter
      extended by net.datacrow.core.migration.itemexport.XmlWriter

public class XmlWriter
extends XmlBaseWriter


Field Summary
 
Fields inherited from class net.datacrow.core.migration.itemexport.XmlBaseWriter
bos, uberTag
 
Constructor Summary
XmlWriter(java.io.BufferedOutputStream bos, java.lang.String filename, java.lang.String schemaFile, ItemExporterSettings settings)
           
XmlWriter(java.lang.String filename, java.lang.String schemaFile, ItemExporterSettings properties)
           
 
Method Summary
 void endDocument()
           
 void endEntity(DcObject dco)
           
 void endRelations(DcModule childModule)
           
 void resetIdent()
           
 void setIdent(int times)
           
 void startDocument()
           
 void startEntity(DcObject dco)
           
 void startRelations(DcModule childModule)
           
 void writeAttribute(DcObject dco, int field)
           
 
Methods inherited from class net.datacrow.core.migration.itemexport.XmlBaseWriter
getValidTag, newLine, writeLine, writeTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlWriter

public XmlWriter(java.lang.String filename,
                 java.lang.String schemaFile,
                 ItemExporterSettings properties)
          throws java.io.IOException
Throws:
java.io.IOException

XmlWriter

public XmlWriter(java.io.BufferedOutputStream bos,
                 java.lang.String filename,
                 java.lang.String schemaFile,
                 ItemExporterSettings settings)
Method Detail

resetIdent

public void resetIdent()

setIdent

public void setIdent(int times)

startDocument

public void startDocument()
                   throws java.io.IOException
Throws:
java.io.IOException

endDocument

public void endDocument()
                 throws java.io.IOException
Throws:
java.io.IOException

startEntity

public void startEntity(DcObject dco)
                 throws java.io.IOException
Throws:
java.io.IOException

endEntity

public void endEntity(DcObject dco)
               throws java.io.IOException
Throws:
java.io.IOException

writeAttribute

public void writeAttribute(DcObject dco,
                           int field)
                    throws java.io.IOException
Throws:
java.io.IOException

startRelations

public void startRelations(DcModule childModule)
                    throws java.io.IOException
Throws:
java.io.IOException

endRelations

public void endRelations(DcModule childModule)
                  throws java.io.IOException
Throws:
java.io.IOException