1 package com.explosion.utilities.preferences.impl.xml;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 import org.w3c.dom.Document;
24 import org.w3c.dom.Node;
25
26 /***
27 * @author Stephen Cowx
28 * Contains all the stuff needed for an XMLPreferencePersister
29 * Created on 14-Mar-2005
30 */
31 public class XMLPreferencePersistenceRequirement
32 {
33 private Node node;
34 private Document document;
35
36 /***
37 * @param node
38 * @param document
39 */
40 public XMLPreferencePersistenceRequirement(Node node, Document document)
41 {
42 this.node = node;
43 this.document = document;
44 }
45
46 /***
47 * @return Returns the document.
48 */
49 public Document getDocument()
50 {
51 return document;
52 }
53 /***
54 * @param document The document to set.
55 */
56 public void setDocument(Document document)
57 {
58 this.document = document;
59 }
60 /***
61 * @return Returns the node.
62 */
63 public Node getNode()
64 {
65 return node;
66 }
67 /***
68 * @param node The node to set.
69 */
70 public void setNode(Node node)
71 {
72 this.node = node;
73 }
74 }