writer2latex.xmerge

Class NewDOMDocument

Implemented Interfaces:
Document, OutputFile

public class NewDOMDocument
extends DOMDocument

An extension of DOMDocument that overrides the write method. (This method fails with the version of xerces shipped with jre 1.5)

Constructor Summary

NewDOMDocument(String sFileName, String sExtension)
Constructor

Method Summary

void
write(OutputStream os)
Write out content to the supplied OutputStream.

Methods inherited from class writer2latex.xmerge.DOMDocument

getContentDOM, getFileExtension, getFileName, getName, initContentDOM, read, setContentDOM, write

Constructor Details

NewDOMDocument

public NewDOMDocument(String sFileName,
                      String sExtension)
Constructor

Method Details

write

public void write(OutputStream os)
            throws IOException
Write out content to the supplied OutputStream. (with pretty printing)
Specified by:
write in interface OutputFile
Overrides:
write in interface DOMDocument
Parameters:
os - XML OutputStream.