de.init.its.process.re
Class ODTWriter

java.lang.Object
  extended by de.init.its.process.re.ODTWriter

public class ODTWriter
extends java.lang.Object

Service class for writing ODT Files

Author:
m.kandora

Nested Class Summary
protected static class ODTWriter.ODTFileWriter
          Service class to write ODT Document Files.
 
Constructor Summary
ODTWriter()
           
 
Method Summary
 void writeXML(org.w3c.dom.Node rootDocument, java.lang.String target, ItsODTDocumentType type, java.lang.String origResource, ItsElementManager mgr)
          Deprecated.  
 void writeXML(java.net.URI source, java.net.URI target, java.lang.String xml, ItsElementManager mgr)
          Writes XML to original ODT File.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODTWriter

public ODTWriter()
Method Detail

writeXML

public void writeXML(java.net.URI source,
                     java.net.URI target,
                     java.lang.String xml,
                     ItsElementManager mgr)
              throws java.lang.Exception
Writes XML to original ODT File. Merges the XML content into content.xml

Parameters:
source - the source file
target - the target to be written
xml - the xml source as string
mgr - the mgr
Throws:
java.lang.Exception

writeXML

public void writeXML(org.w3c.dom.Node rootDocument,
                     java.lang.String target,
                     ItsODTDocumentType type,
                     java.lang.String origResource,
                     ItsElementManager mgr)
              throws java.io.IOException,
                     javax.xml.transform.TransformerException
Deprecated. 

Write XML to disk using dom documents

Parameters:
rootDocument - the processed xml root element
target - the target location
Throws:
java.io.IOException
javax.xml.transform.TransformerException