|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a DOM serializer implementation.
The DOM serializer is a facet of a serializer. A serializer may or may not support a DOM serializer.
Example:
Document doc; Serializer ser; OutputStream os; ser.setOutputStream( os ); ser.asDOMSerializer( doc );
Method Summary | |
void |
serialize(org.w3c.dom.Document doc)
Serializes the DOM document. |
void |
serialize(org.w3c.dom.DocumentFragment frag)
Serializes the DOM document fragment. |
void |
serialize(org.w3c.dom.Element elem)
Serializes the DOM element. |
Method Detail |
public void serialize(org.w3c.dom.Element elem) throws java.io.IOException
elem
- The element to serializejava.io.IOException
- An I/O exception occured while serializingpublic void serialize(org.w3c.dom.Document doc) throws java.io.IOException
doc
- The document to serializejava.io.IOException
- An I/O exception occured while serializingpublic void serialize(org.w3c.dom.DocumentFragment frag) throws java.io.IOException
frag
- The document fragment to serializejava.io.IOException
- An I/O exception occured while serializing
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |