public class NewDOMDocument extends DOMDocument
DOMDocument
that overrides the write method.
(This method fails with the version of xerces shipped with jre 1.5)| Constructor and Description |
|---|
NewDOMDocument(java.lang.String sFileName,
java.lang.String sExtension)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(java.io.OutputStream os)
Write out content to the supplied
OutputStream. |
getContentDOM, getFileExtension, getFileName, getMIMEType, getName, initContentDOM, isMasterDocument, read, setContentDOMpublic NewDOMDocument(java.lang.String sFileName,
java.lang.String sExtension)
public void write(java.io.OutputStream os)
throws java.io.IOException
OutputStream.
(with pretty printing)write in interface OutputFilewrite in class DOMDocumentos - XML OutputStream.java.io.IOException - If any I/O error occurs.