Interface DOMSerializer
-
- All Known Implementing Classes:
BaseMarkupSerializer,XMLSerializer
@Deprecated(since="2021-09-01") public interface DOMSerializer
Deprecated.Util Classes related to Xerces are removed in subsequent releases causing a major version change. As these utils are for internal use in Filevault the API is getting deprecated from public API surface.Interface for a DOM serializer implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidserialize(Document doc)Deprecated.Serializes the DOM document.voidserialize(DocumentFragment frag)Deprecated.Serializes the DOM document fragment.voidserialize(Element elem)Deprecated.Serialized the DOM element.
-
-
-
Method Detail
-
serialize
void serialize(Element elem) throws IOException
Deprecated.Serialized the DOM element. Throws an exception only if an I/O exception occured while serializing.- Parameters:
elem- The element to serialize- Throws:
IOException- An I/O exception occured while serializing
-
serialize
void serialize(Document doc) throws IOException
Deprecated.Serializes the DOM document. Throws an exception only if an I/O exception occured while serializing.- Parameters:
doc- The document to serialize- Throws:
IOException- An I/O exception occured while serializing
-
serialize
void serialize(DocumentFragment frag) throws IOException
Deprecated.Serializes the DOM document fragment. Throws an exception only if an I/O exception occured while serializing.- Parameters:
frag- The document fragment to serialize- Throws:
IOException- An I/O exception occured while serializing
-
-