01: /*
02: * Serializes the DOM bject into array of bytes.
03: *
04: */
05: package org.enhydra.util;
06:
07: import org.w3c.dom.Node;
08:
09: public interface DOMFormatter {
10:
11: /**
12: * The key under which the DOMFormatter implementation
13: * is stored in (XMLC) OutputOptions object
14: */
15: public static final String FORMATTER_NAME = "DOMFormatter";
16:
17: /**
18: * Returns the array of bytes
19: */
20: public byte[] toBytes(Node document);
21:
22: }
|