summaryrefslogtreecommitdiff
blob: 4d499699537686242585f258a866e5df0fd0d0c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
diff -Naur XMLutil.bak/src/src/org/enhydra/xml/AttrImpl.java XMLutil/src/src/org/enhydra/xml/AttrImpl.java
--- XMLutil/src/src/org/enhydra/xml/AttrImpl.java	2009-09-18 17:39:19.000000000 +1200
+++ XMLutil/src/src/org/enhydra/xml/AttrImpl.java	2009-09-18 18:03:36.000000000 +1200
@@ -20,6 +20,7 @@
 
 import org.w3c.dom.Attr;
 import org.w3c.dom.Element;
+import org.w3c.dom.TypeInfo;
 
 
 /**
@@ -186,4 +187,18 @@
 	public Element getOwnerElement() {
 		return owner;
 	}
-}
\ No newline at end of file
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public TypeInfo getSchemaTypeInfo() {
+		return null;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public boolean isId() {
+		return false;
+	}
+}
diff -Naur XMLutil.bak/src/src/org/enhydra/xml/CharacterDataImpl.java XMLutil/src/src/org/enhydra/xml/CharacterDataImpl.java
--- XMLutil/src/src/org/enhydra/xml/CharacterDataImpl.java	2009-09-18 17:39:19.000000000 +1200
+++ XMLutil/src/src/org/enhydra/xml/CharacterDataImpl.java	2009-09-18 18:06:38.000000000 +1200
@@ -177,5 +177,4 @@
 		return super.getNamespaceURI();
 	}
 
-
 }
diff -Naur XMLutil.bak/src/src/org/enhydra/xml/ElementImpl.java XMLutil/src/src/org/enhydra/xml/ElementImpl.java
--- XMLutil/src/src/org/enhydra/xml/ElementImpl.java	2009-09-18 17:39:19.000000000 +1200
+++ XMLutil/src/src/org/enhydra/xml/ElementImpl.java	2009-09-18 18:25:24.000000000 +1200
@@ -33,6 +33,7 @@
 import org.w3c.dom.NamedNodeMap;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
+import org.w3c.dom.TypeInfo;
 
 /**
  * @author Tweety
@@ -564,4 +565,33 @@
 			    sb.append("</" + this.nodeName + ">");
 //        }
 	}
+	
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public TypeInfo getSchemaTypeInfo() {
+		return null;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public void setIdAttribute(String name,
+			boolean idId)
+		throws DOMException { }
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public void setIdAttributeNS(String name,
+			String localName,
+			boolean isId)
+		throws DOMException {}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public void setIdAttributeNode(Attr idAttr,
+			boolean isId)
+		throws DOMException {}
 }
diff -Naur XMLutil.bak/src/src/org/enhydra/xml/NodeImpl.java XMLutil/src/src/org/enhydra/xml/NodeImpl.java
--- XMLutil/src/src/org/enhydra/xml/NodeImpl.java	2009-09-18 17:39:19.000000000 +1200
+++ XMLutil/src/src/org/enhydra/xml/NodeImpl.java	2009-09-18 18:19:58.000000000 +1200
@@ -33,6 +33,7 @@
 import org.w3c.dom.NamedNodeMap;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
+import org.w3c.dom.UserDataHandler;
 
 /**
  * @author Tweety
@@ -784,6 +785,92 @@
 		return sb.toString();
 	}
 
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public String getBaseURI() {
+		return null;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public short compareDocumentPosition(Node other)
+		throws DOMException {
+		throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
+			"Unimplemented method");
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public String getTextContent() throws DOMException {
+		return null;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public void setTextContent(String textContent)
+		throws DOMException { }
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public boolean isSameNode(Node other) {
+		return false;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public String lookupPrefix(String namespaceURI) {
+		return null;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public boolean isDefaultNamespace(String namespaceURI) {
+		return true;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public String lookupNamespaceURI(String prefix) {
+		return null;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public boolean isEqualNode(Node arg) {
+		return false;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public Object getFeature(String feature, String version) {
+		return null;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public Object setUserData(String key, Object data,
+		UserDataHandler handler) {
+		return null;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public Object getUserData(String key) {
+		return null;
+	}
+
 
 	/**
 	 * Method beginToString should be redefined in extended classes.
diff -Naur XMLutil.bak/src/src/org/enhydra/xml/TextImpl.java XMLutil/src/src/org/enhydra/xml/TextImpl.java
--- XMLutil/src/src/org/enhydra/xml/TextImpl.java	2009-09-18 17:39:19.000000000 +1200
+++ XMLutil/src/src/org/enhydra/xml/TextImpl.java	2009-09-18 18:27:04.000000000 +1200
@@ -161,4 +161,26 @@
 
     }
 
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public boolean isElementContentWhitespace() {
+		return false;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public String getWholeText() {
+		return null;
+	}
+
+	/**
+	 * Unimplemented method included in DOM Level 3 (aka 1.5).
+	 */
+	public Text replaceWholeText(String content)
+		throws DOMException {
+		return null;
+	}
+
 }