- public interface DOMSerializer
Interface for a DOM serializer implementation.
- Version:
- $Revision: 1.3 $ $Date: 2000/08/30 18:59:19 $
Serializes the DOM document.
Serializes the DOM document fragment.
Serialized the DOM element.
Method Summary |
void |
void |
void |
serialize
public void serialize(Element elem)
throws java.io.IOException
- Serialized 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
public void serialize(Document doc)
throws java.io.IOException
- Serializes 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
public void serialize(DocumentFragment frag)
throws java.io.IOException
- 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:
- java.io.IOException - An I/O exception occured while
serializing