Interface DOMSerializer
-
- All Known Implementing Classes:
BaseMarkupSerializer,XMLSerializer
public interface DOMSerializerInterface for a DOM serializer implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidserialize(org.w3c.dom.Document doc)Serializes the DOM document.voidserialize(org.w3c.dom.DocumentFragment frag)Serializes the DOM document fragment.voidserialize(org.w3c.dom.Element elem)Serialized the DOM element.
-
-
-
Method Detail
-
serialize
void serialize(org.w3c.dom.Element elem) throws java.io.IOExceptionSerialized the DOM element. Throws an exception only if an I/O exception occured while serializing.- Parameters:
elem- The element to serialize- Throws:
java.io.IOException- An I/O exception occured while serializing
-
serialize
void serialize(org.w3c.dom.Document doc) throws java.io.IOExceptionSerializes the DOM document. Throws an exception only if an I/O exception occured while serializing.- Parameters:
doc- The document to serialize- Throws:
java.io.IOException- An I/O exception occured while serializing
-
serialize
void serialize(org.w3c.dom.DocumentFragment frag) throws java.io.IOExceptionSerializes the DOM document fragment. Throws an exception only if an I/O exception occured while serializing.- Parameters:
frag- The document fragment to serialize- Throws:
java.io.IOException- An I/O exception occured while serializing
-
-