public interface XMLSave
Modifier and Type | Interface and Description |
---|---|
static interface |
XMLSave.XMLTypeInfo
This defines the methods for the interface used to determine
whether type information should be saved when the
XMLResource.OPTION_SAVE_TYPE_INFORMATION save option is enabled.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
save(XMLResource resource,
org.w3c.dom.Document document,
java.util.Map<?,?> options,
DOMHandler handler) |
void |
save(XMLResource resource,
java.io.OutputStream outputStream,
java.util.Map<?,?> options) |
void |
save(XMLResource resource,
java.io.Writer writer,
java.util.Map<?,?> options)
Saves the resource to the writer using the specified options.
|
void save(XMLResource resource, java.io.OutputStream outputStream, java.util.Map<?,?> options) throws java.io.IOException
java.io.IOException
org.w3c.dom.Document save(XMLResource resource, org.w3c.dom.Document document, java.util.Map<?,?> options, DOMHandler handler)
resource
- a resourcedocument
- a Document
(must not be null)options
- optionshandler
- a DOMHandler
(must not be null)void save(XMLResource resource, java.io.Writer writer, java.util.Map<?,?> options) throws java.io.IOException
resource
- writer
- options
- java.io.IOException