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 ofDOMDocument
that 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 void
write(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.IOException
Write out content to the suppliedOutputStream
. (with pretty printing)- Specified by:
write
in interfaceOutputFile
- Overrides:
write
in classDOMDocument
- Parameters:
os
- XMLOutputStream
.- Throws:
java.io.IOException
- If any I/O error occurs.
-
-