01: /*
02: * Project: Gulden Utilies
03: * Class: de.gulden.util.xml.serializer.XMLSerializer
04: * Version: snapshot-beautyj-1.1
05: *
06: * Date: 2004-09-29
07: *
08: * This is a snapshot version of the Gulden Utilities,
09: * it is not released as a seperate version.
10: *
11: * Note: Contains auto-generated Javadoc comments created by BeautyJ.
12: *
13: * This is licensed under the GNU Lesser General Public License (LGPL)
14: * and comes with NO WARRANTY.
15: *
16: * Author: Jens Gulden
17: * Email: amoda@jensgulden.de
18: */
19:
20: package de.gulden.util.xml.serializer;
21:
22: import de.gulden.util.xml.XMLException;
23: import java.util.*;
24: import org.w3c.dom.Document;
25: import org.w3c.dom.Element;
26:
27: /**
28: * Class XMLSerializer.
29: *
30: * @author Jens Gulden
31: * @version snapshot-beautyj-1.1
32: */
33: public interface XMLSerializer {
34:
35: // ------------------------------------------------------------------------
36: // --- methods ---
37: // ------------------------------------------------------------------------
38:
39: public Element xmlSerialize(Object object, Document document)
40: throws XMLException;
41:
42: public void xmlDeserialize(Object object, Element element)
43: throws XMLException;
44:
45: public Object xmlDeserialize(Element element) throws XMLException;
46:
47: } // end XMLSerializer
|