org.apache.xml.serialize.DOMSerializer |
Known Indirect Subclasses
BaseMarkupSerializer |
This class is deprecated.
This class was deprecated in Xerces 2.9.0. It is recommended
that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation
API for XML (TrAX) for serializing XML. See the Xerces documentation for more
information. |
HTMLSerializer |
This class is deprecated.
This class was deprecated in Xerces 2.6.2. It is
recommended that new applications use JAXP's Transformation API
for XML (TrAX) for serializing HTML. See the Xerces documentation
for more information. |
TextSerializer |
This class is deprecated.
This class was deprecated in Xerces 2.9.0. It is recommended
that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation
API for XML (TrAX) for serializing XML and HTML. See the Xerces documentation for more
information. |
XHTMLSerializer |
This class is deprecated.
This class was deprecated in Xerces 2.6.2. It is
recommended that new applications use JAXP's Transformation API
for XML (TrAX) for serializing XHTML. See the Xerces documentation
for more information. |
XML11Serializer |
This class is deprecated.
This class was deprecated in Xerces 2.9.0. It is recommended
that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation
API for XML (TrAX) for serializing XML. See the Xerces documentation for more
information. |
XMLSerializer |
This class is deprecated.
This class was deprecated in Xerces 2.9.0. It is recommended
that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation
API for XML (TrAX) for serializing XML. See the Xerces documentation for more
information. |
|
This interface is deprecated.
This class was deprecated in Xerces 2.9.0. It is recommended
that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation
API for XML (TrAX) for serializing XML. See the Xerces documentation for more
information.
Class Overview
Interface for a DOM serializer implementation.
Summary
Public Methods |
abstract
void
|
serialize(Element elem)
Serialized the DOM element.
|
abstract
void
|
serialize(Document doc)
Serializes the DOM document.
|
abstract
void
|
serialize(DocumentFragment frag)
Serializes the DOM document fragment.
|
Public Methods
public
abstract
void
serialize
(Element elem)
Serialized the DOM element. Throws an exception only if
an I/O exception occured while serializing.
Parameters
elem
| The element to serialize |
public
abstract
void
serialize
(Document doc)
Serializes the DOM document. Throws an exception only if
an I/O exception occured while serializing.
Parameters
doc
| The document to serialize |
public
abstract
void
serialize
(DocumentFragment frag)
Serializes the DOM document fragment. Throws an exception
only if an I/O exception occured while serializing.
Parameters
frag
| The document fragment to serialize |