1 package org.dom4j.persistence;
2
3 import org.dom4j.Node;
4
5 /***
6 * @author Tobias Rademacher
7 * @version 1.0
8 */
9
10 public abstract class DocumentMarshalling implements MarshallingStrategy {
11
12 public static DocumentMarshalling getInstance(MarshallingContext context) throws Exception {
13 /*
14 * Temporarily commented out for now... Will try put back when the build works on latest XMLDb
15 *
16 if (context.getMarshallingStrategy().equals("nativ")) {
17 return new org.dom4j.persistence.nativ.XMLDBStrategy(context);
18 }
19 */
20 return null;
21 }
22
23 public abstract void marshal(String systemId, Node aNode) throws Exception;
24
25 public abstract Node unmarshal(String systemId);
26
27
28
29 }