|
||||||||||
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(Document doc)
Serializes the DOM document. |
void |
serialize(DocumentFragment frag)
Serializes the DOM document fragment. |
void |
serialize(Element elem)
Serializes the DOM element. |
Method Detail |
public void serialize(Element elem) throws java.io.IOException
elem
- The element to serializepublic void serialize(Document doc) throws java.io.IOException
doc
- The document to serializepublic void serialize(DocumentFragment frag) throws java.io.IOException
frag
- The document fragment to serialize
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |