Package writer2latex.xmerge
Class NewDOMDocument
- java.lang.Object
-
- writer2latex.xmerge.DOMDocument
-
- writer2latex.xmerge.NewDOMDocument
-
- All Implemented Interfaces:
OutputFile,Document
public class NewDOMDocument extends DOMDocument
An extension ofDOMDocumentthat overrides the write method. (This method fails with the version of xerces shipped with jre 1.5)
-
-
Constructor Summary
Constructors Constructor Description NewDOMDocument(java.lang.String sFileName, java.lang.String sExtension)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(java.io.OutputStream os)Write out content to the suppliedOutputStream.-
Methods inherited from class writer2latex.xmerge.DOMDocument
getContentDOM, getFileExtension, getFileName, getName, initContentDOM, read, setContentDOM
-
-
-
-
Method Detail
-
write
public void write(java.io.OutputStream os) throws java.io.IOExceptionWrite out content to the suppliedOutputStream. (with pretty printing)- Specified by:
writein interfaceOutputFile- Overrides:
writein classDOMDocument- Parameters:
os- XMLOutputStream.- Throws:
java.io.IOException- If any I/O error occurs.
-
-