KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > gulden > util > xml > serializer > XMLSerializer


1 /*
2  * Project: Gulden Utilies
3  * Class: de.gulden.util.xml.serializer.XMLSerializer
4  * Version: snapshot-beautyj-1.1
5  *
6  * Date: 2004-09-29
7  *
8  * This is a snapshot version of the Gulden Utilities,
9  * 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 JavaDoc;
25 import org.w3c.dom.Element JavaDoc;
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 JavaDoc xmlSerialize(Object JavaDoc object, Document JavaDoc document) throws XMLException;
40
41     public void xmlDeserialize(Object JavaDoc object, Element JavaDoc element) throws XMLException;
42
43     public Object JavaDoc xmlDeserialize(Element JavaDoc element) throws XMLException;
44
45 } // end XMLSerializer
46
Popular Tags