Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 137970
Collapse All | Expand All

(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMAttribute.java (-1 / +125 lines)
Lines 179-185 Link Here
179
    public org.w3c.dom.Element getOwnerElement() {
179
    public org.w3c.dom.Element getOwnerElement() {
180
        return DOMNodeHelper.asDOMElement(getParent());
180
        return DOMNodeHelper.asDOMElement(getParent());
181
    }
181
    }
182
}
182
183
183
184
/*
184
/*
185
 * Redistribution and use of this software and associated documentation
185
 * Redistribution and use of this software and associated documentation
Lines 217-219 Link Here
217
 * 
217
 * 
218
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
218
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
219
 */
219
 */
220
221
    /**
222
     * @see org.w3c.dom.Attr#isId()
223
     */
224
    public boolean isId()
225
    {
226
        return false;
227
//        return "id".equals(this.avAdaptee.getAttribute());
228
    }
229
230
    /**
231
     * @todo DOM level 3 getSchemaTypeInfo() Not implemented. Returns null.
232
     * @see org.w3c.dom.Attr#getSchemaTypeInfo()
233
     */
234
    public org.w3c.dom.TypeInfo getSchemaTypeInfo()
235
    {
236
        return null;
237
    }
238
239
    /**
240
     * @todo DOM level 3 compareDocumentPosition() Not implemented.
241
     * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
242
     */
243
    public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
244
    {
245
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
246
    }
247
248
    /**
249
     * @todo DOM level 3 getBaseURI() Not implemented. Returns null.
250
     * @see org.w3c.dom.Node#getBaseURI()
251
     */
252
    public String getBaseURI()
253
    {
254
        return null;
255
    }
256
257
    /**
258
     * @todo DOM level 3 getFeature() Not implemented. Returns null.
259
     * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
260
     */
261
    public Object getFeature(String feature, String version)
262
    {
263
        return null;
264
    }
265
266
    /**
267
     * @todo DOM level 3 getTextContent() Not implemented. Returns null.
268
     * @see org.w3c.dom.Node#getTextContent()
269
     */
270
    public String getTextContent() throws DOMException
271
    {
272
        return null;
273
    }
274
275
    /**
276
     * @todo DOM level 3 getUserData() Not implemented. Returns null.
277
     * @see org.w3c.dom.Node#getUserData(java.lang.String)
278
     */
279
    public Object getUserData(String key)
280
    {
281
        return null;
282
    }
283
284
    /**
285
     * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
286
     */
287
    public boolean isDefaultNamespace(String namespaceURI)
288
    {
289
        return false;
290
    }
291
292
    /**
293
     * @todo DOM level 3 isEqualNode() Not implemented. Returns false.
294
     * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
295
     */
296
    public boolean isEqualNode(org.w3c.dom.Node arg)
297
    {
298
        return false;
299
    }
300
301
    /**
302
     * @todo DOM level 3 isSameNode() Not implemented. Returns false.
303
     * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
304
     */
305
    public boolean isSameNode(org.w3c.dom.Node other)
306
    {
307
        return false;
308
    }
309
310
    /**
311
     * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
312
     */
313
    public String lookupNamespaceURI(String prefix)
314
    {
315
        return null;
316
    }
317
318
    /**
319
     * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
320
     */
321
    public String lookupPrefix(String namespaceURI)
322
    {
323
        return null;
324
    }
325
326
    /**
327
     * @todo DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR
328
     * @see org.w3c.dom.Node#setTextContent(java.lang.String)
329
     */
330
    public void setTextContent(String textContent) throws DOMException
331
    {
332
        throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, "Node is read only");
333
    }
334
335
    /**
336
     * @todo DOM level 3 setUserData() Not implemented. Returns null.
337
     * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
338
     */
339
    public Object setUserData(String key, Object data, org.w3c.dom.UserDataHandler handler)
340
    {
341
        return null;
342
    }
343
}
(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMCDATA.java (-1 / +134 lines)
Lines 225-231 Link Here
225
    protected CDATA createCDATA(String text) {
225
    protected CDATA createCDATA(String text) {
226
        return new DOMCDATA(text);
226
        return new DOMCDATA(text);
227
    }
227
    }
228
}
228
229
229
230
/*
230
/*
231
 * Redistribution and use of this software and associated documentation
231
 * Redistribution and use of this software and associated documentation
Lines 263-265 Link Here
263
 * 
263
 * 
264
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
264
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
265
 */
265
 */
266
267
    /**
268
     * @todo DOM level 3 getWholeText() Not implemented. Returns null.
269
     * @see org.w3c.dom.Text#getWholeText()
270
     */
271
    public String getWholeText()
272
    {
273
        return null;
274
    }
275
276
    /**
277
     * @todo DOM level 3 isElementContentWhitespace() Not implemented. Returns false.
278
     * @see org.w3c.dom.Text#isElementContentWhitespace()
279
     */
280
    public boolean isElementContentWhitespace()
281
    {
282
        return false;
283
    }
284
285
    /**
286
     * @todo DOM level 3 replaceWholeText() Not implemented. Returns the same node.
287
     * @see org.w3c.dom.Text#isElementContentWhitespace()
288
     */
289
    public org.w3c.dom.Text replaceWholeText(String content) throws DOMException
290
    {
291
        return this;
292
    }
293
294
    /**
295
     * @todo DOM level 3 compareDocumentPosition() Not implemented.
296
     * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
297
     */
298
    public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
299
    {
300
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
301
    }
302
303
    /**
304
     * @todo DOM level 3 getBaseURI() Not implemented. Returns null.
305
     * @see org.w3c.dom.Node#getBaseURI()
306
     */
307
    public String getBaseURI()
308
    {
309
        return null;
310
    }
311
312
    /**
313
     * @todo DOM level 3 getFeature() Not implemented. Returns null.
314
     * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
315
     */
316
    public Object getFeature(String feature, String version)
317
    {
318
        return null;
319
    }
320
321
    /**
322
     * @todo DOM level 3 getTextContent() Not implemented. Returns null.
323
     * @see org.w3c.dom.Node#getTextContent()
324
     */
325
    public String getTextContent() throws DOMException
326
    {
327
        return null;
328
    }
329
330
    /**
331
     * @todo DOM level 3 getUserData() Not implemented. Returns null.
332
     * @see org.w3c.dom.Node#getUserData(java.lang.String)
333
     */
334
    public Object getUserData(String key)
335
    {
336
        return null;
337
    }
338
339
    /**
340
     * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
341
     */
342
    public boolean isDefaultNamespace(String namespaceURI)
343
    {
344
        return false;
345
    }
346
347
    /**
348
     * @todo DOM level 3 isEqualNode() Not implemented. Returns false.
349
     * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
350
     */
351
    public boolean isEqualNode(org.w3c.dom.Node arg)
352
    {
353
        return false;
354
    }
355
356
    /**
357
     * @todo DOM level 3 isSameNode() Not implemented. Returns false.
358
     * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
359
     */
360
    public boolean isSameNode(org.w3c.dom.Node other)
361
    {
362
        return false;
363
    }
364
365
    /**
366
     * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
367
     */
368
    public String lookupNamespaceURI(String prefix)
369
    {
370
        return null;
371
    }
372
373
    /**
374
     * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
375
     */
376
    public String lookupPrefix(String namespaceURI)
377
    {
378
        return null;
379
    }
380
381
    /**
382
     * @todo DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR
383
     * @see org.w3c.dom.Node#setTextContent(java.lang.String)
384
     */
385
    public void setTextContent(String textContent) throws DOMException
386
    {
387
        throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, "Node is read only");
388
    }
389
390
    /**
391
     * @todo DOM level 3 setUserData() Not implemented. Returns null.
392
     * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
393
     */
394
    public Object setUserData(String key, Object data, org.w3c.dom.UserDataHandler handler)
395
    {
396
        return null;
397
    }
398
}
(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMComment.java (-1 / +107 lines)
Lines 187-193 Link Here
187
            throws DOMException {
187
            throws DOMException {
188
        DOMNodeHelper.replaceData(this, offset, count, arg);
188
        DOMNodeHelper.replaceData(this, offset, count, arg);
189
    }
189
    }
190
}
190
191
191
192
/*
192
/*
193
 * Redistribution and use of this software and associated documentation
193
 * Redistribution and use of this software and associated documentation
Lines 225-227 Link Here
225
 * 
225
 * 
226
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
226
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
227
 */
227
 */
228
229
    /**
230
     * @todo DOM level 3 compareDocumentPosition() Not implemented.
231
     * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
232
     */
233
    public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
234
    {
235
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
236
    }
237
238
    /**
239
     * @todo DOM level 3 getBaseURI() Not implemented. Returns null.
240
     * @see org.w3c.dom.Node#getBaseURI()
241
     */
242
    public String getBaseURI()
243
    {
244
        return null;
245
    }
246
247
    /**
248
     * @todo DOM level 3 getFeature() Not implemented. Returns null.
249
     * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
250
     */
251
    public Object getFeature(String feature, String version)
252
    {
253
        return null;
254
    }
255
256
    /**
257
     * @todo DOM level 3 getTextContent() Not implemented. Returns null.
258
     * @see org.w3c.dom.Node#getTextContent()
259
     */
260
    public String getTextContent() throws DOMException
261
    {
262
        return null;
263
    }
264
265
    /**
266
     * @todo DOM level 3 getUserData() Not implemented. Returns null.
267
     * @see org.w3c.dom.Node#getUserData(java.lang.String)
268
     */
269
    public Object getUserData(String key)
270
    {
271
        return null;
272
    }
273
274
    /**
275
     * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
276
     */
277
    public boolean isDefaultNamespace(String namespaceURI)
278
    {
279
        return false;
280
    }
281
282
    /**
283
     * @todo DOM level 3 isEqualNode() Not implemented. Returns false.
284
     * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
285
     */
286
    public boolean isEqualNode(org.w3c.dom.Node arg)
287
    {
288
        return false;
289
    }
290
291
    /**
292
     * @todo DOM level 3 isSameNode() Not implemented. Returns false.
293
     * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
294
     */
295
    public boolean isSameNode(org.w3c.dom.Node other)
296
    {
297
        return false;
298
    }
299
300
    /**
301
     * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
302
     */
303
    public String lookupNamespaceURI(String prefix)
304
    {
305
        return null;
306
    }
307
308
    /**
309
     * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
310
     */
311
    public String lookupPrefix(String namespaceURI)
312
    {
313
        return null;
314
    }
315
316
    /**
317
     * @todo DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR
318
     * @see org.w3c.dom.Node#setTextContent(java.lang.String)
319
     */
320
    public void setTextContent(String textContent) throws DOMException
321
    {
322
        throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, "Node is read only");
323
    }
324
325
    /**
326
     * @todo DOM level 3 setUserData() Not implemented. Returns null.
327
     * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
328
     */
329
    public Object setUserData(String key, Object data, org.w3c.dom.UserDataHandler handler)
330
    {
331
        return null;
332
    }
333
}
(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMDocumentFactory.java (-2 / +6 lines)
Lines 174-180 Link Here
174
                    docType.getPublicId(), docType.getSystemId());
174
                    docType.getPublicId(), docType.getSystemId());
175
        }
175
        }
176
    }
176
    }
177
}
177
178
178
179
179
180
180
Lines 213-216 Link Here
213
 * POSSIBILITY OF SUCH DAMAGE.
213
 * POSSIBILITY OF SUCH DAMAGE.
214
 * 
214
 * 
215
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
215
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
216
 */
216
 */
217
	public java.lang.Object getFeature(java.lang.String feature,java.lang.String version) {
218
	  return null;
219
	}
220
}
(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMDocument.java (-1 / +236 lines)
Lines 301-307 Link Here
301
            return super.getDocumentFactory();
301
            return super.getDocumentFactory();
302
        }
302
        }
303
    }
303
    }
304
}
304
305
305
306
/*
306
/*
307
 * Redistribution and use of this software and associated documentation
307
 * Redistribution and use of this software and associated documentation
Lines 339-341 Link Here
339
 * 
339
 * 
340
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
340
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
341
 */
341
 */
342
343
    /**
344
     * @todo DOM level 3 adoptNode() Not implemented.
345
     * @see org.w3c.dom.Document#adoptNode(org.w3c.dom.Node)
346
     */
347
    public org.w3c.dom.Node adoptNode(org.w3c.dom.Node source) throws DOMException
348
    {
349
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
350
    }
351
352
    /**
353
     * @todo DOM level 3 getDocumentURI() Not implemented. Returns null.
354
     * @see org.w3c.dom.Document#getDocumentURI()
355
     */
356
    public String getDocumentURI()
357
    {
358
        return null;
359
    }
360
361
    /**
362
     * @todo DOM level 3 getDomConfig() Not implemented. Returns null.
363
     * @see org.w3c.dom.Document#getDomConfig()
364
     */
365
    public org.w3c.dom.DOMConfiguration getDomConfig()
366
    {
367
        return null;
368
    }
369
370
    /**
371
     * @todo DOM level 3 getInputEncoding() Not implemented. Returns null.
372
     * @see org.w3c.dom.Document#getInputEncoding()
373
     */
374
    public String getInputEncoding()
375
    {
376
        return null;
377
    }
378
379
    /**
380
     * @todo DOM level 3 getStrictErrorChecking() Not implemented. Returns true.
381
     * @see org.w3c.dom.Document#getStrictErrorChecking()
382
     */
383
    public boolean getStrictErrorChecking()
384
    {
385
        return true;
386
    }
387
388
    /**
389
     * @todo DOM level 3 getXmlEncoding() Not implemented. Returns null.
390
     * @see org.w3c.dom.Document#getXmlEncoding()
391
     */
392
    public String getXmlEncoding()
393
    {
394
        return null;
395
    }
396
397
    /**
398
     * @todo DOM level 3 getXmlStandalone() Not implemented. Returns false.
399
     * @see org.w3c.dom.Document#getXmlStandalone()
400
     */
401
    public boolean getXmlStandalone()
402
    {
403
        return false;
404
    }
405
406
    /**
407
     * @todo DOM level 3 getXmlVersion() Not implemented. Always returns "1.0".
408
     * @see org.w3c.dom.Document#getXmlVersion()
409
     */
410
    public String getXmlVersion()
411
    {
412
        // An attribute specifying, as part of the XML declaration, the version number of this document. If there is no
413
        // declaration and if this document supports the "XML" feature, the value is "1.0"
414
        return "1.0";
415
    }
416
417
    /**
418
     * @todo DOM level 3 normalizeDocument() Not implemented. Do nothing.
419
     * @see org.w3c.dom.Document#normalizeDocument()
420
     */
421
    public void normalizeDocument()
422
    {
423
        // do nothing
424
    }
425
426
    /**
427
     * @todo DOM level 3 renameNode() Not implemented. Throws NOT_SUPPORTED_ERR.
428
     * @see org.w3c.dom.Document#renameNode(org.w3c.dom.Node, java.lang.String, java.lang.String)
429
     */
430
    public org.w3c.dom.Node renameNode(org.w3c.dom.Node n, String namespaceURI, String qualifiedName)
431
        throws DOMException
432
    {
433
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
434
    }
435
436
    /**
437
     * @todo DOM level 3 setDocumentURI() Not implemented. Do nothing.
438
     * @see org.w3c.dom.Document#setDocumentURI(java.lang.String)
439
     */
440
    public void setDocumentURI(String documentURI)
441
    {
442
        // do nothing
443
    }
444
445
    /**
446
     * @todo DOM level 3 setStrictErrorChecking() Not implemented. Do nothing.
447
     * @see org.w3c.dom.Document#setStrictErrorChecking(boolean)
448
     */
449
    public void setStrictErrorChecking(boolean strictErrorChecking)
450
    {
451
        // do nothing
452
    }
453
454
    /**
455
     * @todo DOM level 3 setXmlStandalone() Not implemented. Do nothing.
456
     * @see org.w3c.dom.Document#setXmlStandalone(boolean)
457
     */
458
    public void setXmlStandalone(boolean xmlStandalone) throws DOMException
459
    {
460
        // do nothing
461
    }
462
463
    /**
464
     * @todo DOM level 3 setXmlVersion() Not implemented. Do nothing.
465
     * @see org.w3c.dom.Document#setXmlVersion(java.lang.String)
466
     */
467
    public void setXmlVersion(String xmlVersion) throws DOMException
468
    {
469
        // do nothing
470
    }
471
472
    /**
473
     * @todo DOM level 3 compareDocumentPosition() Not implemented.
474
     * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
475
     */
476
    public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
477
    {
478
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
479
    }
480
481
    /**
482
     * @todo DOM level 3 getBaseURI() Not implemented. Returns null.
483
     * @see org.w3c.dom.Node#getBaseURI()
484
     */
485
    public String getBaseURI()
486
    {
487
        return null;
488
    }
489
490
    /**
491
     * @todo DOM level 3 getFeature() Not implemented. Returns null.
492
     * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
493
     */
494
    public Object getFeature(String feature, String version)
495
    {
496
        return null;
497
    }
498
499
    /**
500
     * @todo DOM level 3 getTextContent() Not implemented. Returns null.
501
     * @see org.w3c.dom.Node#getTextContent()
502
     */
503
    public String getTextContent() throws DOMException
504
    {
505
        return null;
506
    }
507
508
    /**
509
     * @todo DOM level 3 getUserData() Not implemented. Returns null.
510
     * @see org.w3c.dom.Node#getUserData(java.lang.String)
511
     */
512
    public Object getUserData(String key)
513
    {
514
        return null;
515
    }
516
517
    /**
518
     * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
519
     */
520
    public boolean isDefaultNamespace(String namespaceURI)
521
    {
522
        return false;
523
    }
524
525
    /**
526
     * @todo DOM level 3 isEqualNode() Not implemented. Returns false.
527
     * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
528
     */
529
    public boolean isEqualNode(org.w3c.dom.Node arg)
530
    {
531
        return false;
532
    }
533
534
    /**
535
     * @todo DOM level 3 isSameNode() Not implemented. Returns false.
536
     * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
537
     */
538
    public boolean isSameNode(org.w3c.dom.Node other)
539
    {
540
        return false;
541
    }
542
543
    /**
544
     * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
545
     */
546
    public String lookupNamespaceURI(String prefix)
547
    {
548
        return null;
549
    }
550
551
    /**
552
     * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
553
     */
554
    public String lookupPrefix(String namespaceURI)
555
    {
556
        return null;
557
    }
558
559
    /**
560
     * @todo DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR
561
     * @see org.w3c.dom.Node#setTextContent(java.lang.String)
562
     */
563
    public void setTextContent(String textContent) throws DOMException
564
    {
565
        throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, "Node is read only");
566
    }
567
568
    /**
569
     * @todo DOM level 3 setUserData() Not implemented. Returns null.
570
     * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
571
     */
572
    public Object setUserData(String key, Object data, org.w3c.dom.UserDataHandler handler)
573
    {
574
        return null;
575
    }
576
}
(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMDocumentType.java (-1 / +107 lines)
Lines 177-183 Link Here
177
    public String getInternalSubset() {
177
    public String getInternalSubset() {
178
        return getElementName();
178
        return getElementName();
179
    }
179
    }
180
}
180
181
181
182
/*
182
/*
183
 * Redistribution and use of this software and associated documentation
183
 * Redistribution and use of this software and associated documentation
Lines 215-217 Link Here
215
 * 
215
 * 
216
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
216
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
217
 */
217
 */
218
219
    /**
220
     * @todo DOM level 3 compareDocumentPosition() Not implemented.
221
     * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
222
     */
223
    public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
224
    {
225
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
226
    }
227
228
    /**
229
     * @todo DOM level 3 getBaseURI() Not implemented. Returns null.
230
     * @see org.w3c.dom.Node#getBaseURI()
231
     */
232
    public String getBaseURI()
233
    {
234
        return null;
235
    }
236
237
    /**
238
     * @todo DOM level 3 getFeature() Not implemented. Returns null.
239
     * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
240
     */
241
    public Object getFeature(String feature, String version)
242
    {
243
        return null;
244
    }
245
246
    /**
247
     * @todo DOM level 3 getTextContent() Not implemented. Returns null.
248
     * @see org.w3c.dom.Node#getTextContent()
249
     */
250
    public String getTextContent() throws DOMException
251
    {
252
        return null;
253
    }
254
255
    /**
256
     * @todo DOM level 3 getUserData() Not implemented. Returns null.
257
     * @see org.w3c.dom.Node#getUserData(java.lang.String)
258
     */
259
    public Object getUserData(String key)
260
    {
261
        return null;
262
    }
263
264
    /**
265
     * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
266
     */
267
    public boolean isDefaultNamespace(String namespaceURI)
268
    {
269
        return false;
270
    }
271
272
    /**
273
     * @todo DOM level 3 isEqualNode() Not implemented. Returns false.
274
     * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
275
     */
276
    public boolean isEqualNode(org.w3c.dom.Node arg)
277
    {
278
        return false;
279
    }
280
281
    /**
282
     * @todo DOM level 3 isSameNode() Not implemented. Returns false.
283
     * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
284
     */
285
    public boolean isSameNode(org.w3c.dom.Node other)
286
    {
287
        return false;
288
    }
289
290
    /**
291
     * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
292
     */
293
    public String lookupNamespaceURI(String prefix)
294
    {
295
        return null;
296
    }
297
298
    /**
299
     * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
300
     */
301
    public String lookupPrefix(String namespaceURI)
302
    {
303
        return null;
304
    }
305
306
    /**
307
     * @todo DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR
308
     * @see org.w3c.dom.Node#setTextContent(java.lang.String)
309
     */
310
    public void setTextContent(String textContent) throws DOMException
311
    {
312
        throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, "Node is read only");
313
    }
314
315
    /**
316
     * @todo DOM level 3 setUserData() Not implemented. Returns null.
317
     * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
318
     */
319
    public Object setUserData(String key, Object data, org.w3c.dom.UserDataHandler handler)
320
    {
321
        return null;
322
    }
323
}
(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMElement.java (-1 / +152 lines)
Lines 389-395 Link Here
389
389
390
        return getDocumentFactory().createQName(localName, prefix, namespace);
390
        return getDocumentFactory().createQName(localName, prefix, namespace);
391
    }
391
    }
392
}
392
393
393
394
/*
394
/*
395
 * Redistribution and use of this software and associated documentation
395
 * Redistribution and use of this software and associated documentation
Lines 427-429 Link Here
427
 * 
427
 * 
428
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
428
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
429
 */
429
 */
430
431
    /**
432
     * @todo DOM level 2 getOwnerDocument() Not supported. Do nothing.
433
     * @see org.w3c.dom.Element#normalize
434
     */
435
    public void normalize()
436
    {
437
        // do nothing
438
    }
439
440
    /**
441
     * @todo DOM level 3 getSchemaTypeInfo() Not supported. Returns null.
442
     * @see org.w3c.dom.Element#getSchemaTypeInfo()
443
     */
444
    public org.w3c.dom.TypeInfo getSchemaTypeInfo()
445
    {
446
        return null;
447
    }
448
449
    /**
450
     * @todo DOM level 3 setIdAttribute() Not supported. Throws NOT_SUPPORTED_ERR.
451
     * @see org.w3c.dom.Element#setIdAttribute(java.lang.String, boolean)
452
     */
453
    public void setIdAttribute(String name, boolean isId) throws DOMException
454
    {
455
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
456
    }
457
458
    /**
459
     * @todo DOM level 3 setIdAttributeNode() Not supported. Throws NOT_SUPPORTED_ERR.
460
     * @see org.w3c.dom.Element#setIdAttributeNode(org.w3c.dom.Attr, boolean)
461
     */
462
    public void setIdAttributeNode(org.w3c.dom.Attr idAttr, boolean isId) throws DOMException
463
    {
464
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
465
    }
466
467
    /**
468
     * @todo DOM level 3 setIdAttributeNS() Not supported. Throws NOT_SUPPORTED_ERR.
469
     * @see org.w3c.dom.Element#setIdAttributeNS(java.lang.String, java.lang.String, boolean)
470
     */
471
    public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException
472
    {
473
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
474
    }
475
476
    /**
477
     * @todo DOM level 3 compareDocumentPosition() Not implemented.
478
     * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
479
     */
480
    public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
481
    {
482
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
483
    }
484
485
    /**
486
     * @todo DOM level 3 getBaseURI() Not implemented. Returns null.
487
     * @see org.w3c.dom.Node#getBaseURI()
488
     */
489
    public String getBaseURI()
490
    {
491
        return null;
492
    }
493
494
    /**
495
     * @todo DOM level 3 getFeature() Not implemented. Returns null.
496
     * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
497
     */
498
    public Object getFeature(String feature, String version)
499
    {
500
        return null;
501
    }
502
503
    /**
504
     * @todo DOM level 3 getTextContent() Not implemented. Returns null.
505
     * @see org.w3c.dom.Node#getTextContent()
506
     */
507
    public String getTextContent() throws DOMException
508
    {
509
        return null;
510
    }
511
512
    /**
513
     * @todo DOM level 3 getUserData() Not implemented. Returns null.
514
     * @see org.w3c.dom.Node#getUserData(java.lang.String)
515
     */
516
    public Object getUserData(String key)
517
    {
518
        return null;
519
    }
520
521
    /**
522
     * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
523
     */
524
    public boolean isDefaultNamespace(String namespaceURI)
525
    {
526
        return false;
527
    }
528
529
    /**
530
     * @todo DOM level 3 isEqualNode() Not implemented. Returns false.
531
     * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
532
     */
533
    public boolean isEqualNode(org.w3c.dom.Node arg)
534
    {
535
        return false;
536
    }
537
538
    /**
539
     * @todo DOM level 3 isSameNode() Not implemented. Returns false.
540
     * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
541
     */
542
    public boolean isSameNode(org.w3c.dom.Node other)
543
    {
544
        return false;
545
    }
546
547
    /**
548
     * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
549
     */
550
    public String lookupNamespaceURI(String prefix)
551
    {
552
        return null;
553
    }
554
555
    /**
556
     * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
557
     */
558
    public String lookupPrefix(String namespaceURI)
559
    {
560
        return null;
561
    }
562
563
    /**
564
     * @todo DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR
565
     * @see org.w3c.dom.Node#setTextContent(java.lang.String)
566
     */
567
    public void setTextContent(String textContent) throws DOMException
568
    {
569
        throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, "Node is read only");
570
    }
571
572
    /**
573
     * @todo DOM level 3 setUserData() Not implemented. Returns null.
574
     * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
575
     */
576
    public Object setUserData(String key, Object data, org.w3c.dom.UserDataHandler handler)
577
    {
578
        return null;
579
    }
580
}
(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMEntityReference.java (-1 / +107 lines)
Lines 166-172 Link Here
166
    public boolean hasAttributes() {
166
    public boolean hasAttributes() {
167
        return DOMNodeHelper.hasAttributes(this);
167
        return DOMNodeHelper.hasAttributes(this);
168
    }
168
    }
169
}
169
170
170
171
/*
171
/*
172
 * Redistribution and use of this software and associated documentation
172
 * Redistribution and use of this software and associated documentation
Lines 204-206 Link Here
204
 * 
204
 * 
205
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
205
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
206
 */
206
 */
207
208
    /**
209
     * @todo DOM level 3 compareDocumentPosition() Not implemented.
210
     * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
211
     */
212
    public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
213
    {
214
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
215
    }
216
217
    /**
218
     * @todo DOM level 3 getBaseURI() Not implemented. Returns null.
219
     * @see org.w3c.dom.Node#getBaseURI()
220
     */
221
    public String getBaseURI()
222
    {
223
        return null;
224
    }
225
226
    /**
227
     * @todo DOM level 3 getFeature() Not implemented. Returns null.
228
     * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
229
     */
230
    public Object getFeature(String feature, String version)
231
    {
232
        return null;
233
    }
234
235
    /**
236
     * @todo DOM level 3 getTextContent() Not implemented. Returns null.
237
     * @see org.w3c.dom.Node#getTextContent()
238
     */
239
    public String getTextContent() throws DOMException
240
    {
241
        return null;
242
    }
243
244
    /**
245
     * @todo DOM level 3 getUserData() Not implemented. Returns null.
246
     * @see org.w3c.dom.Node#getUserData(java.lang.String)
247
     */
248
    public Object getUserData(String key)
249
    {
250
        return null;
251
    }
252
253
    /**
254
     * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
255
     */
256
    public boolean isDefaultNamespace(String namespaceURI)
257
    {
258
        return false;
259
    }
260
261
    /**
262
     * @todo DOM level 3 isEqualNode() Not implemented. Returns false.
263
     * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
264
     */
265
    public boolean isEqualNode(org.w3c.dom.Node arg)
266
    {
267
        return false;
268
    }
269
270
    /**
271
     * @todo DOM level 3 isSameNode() Not implemented. Returns false.
272
     * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
273
     */
274
    public boolean isSameNode(org.w3c.dom.Node other)
275
    {
276
        return false;
277
    }
278
279
    /**
280
     * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
281
     */
282
    public String lookupNamespaceURI(String prefix)
283
    {
284
        return null;
285
    }
286
287
    /**
288
     * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
289
     */
290
    public String lookupPrefix(String namespaceURI)
291
    {
292
        return null;
293
    }
294
295
    /**
296
     * @todo DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR
297
     * @see org.w3c.dom.Node#setTextContent(java.lang.String)
298
     */
299
    public void setTextContent(String textContent) throws DOMException
300
    {
301
        throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, "Node is read only");
302
    }
303
304
    /**
305
     * @todo DOM level 3 setUserData() Not implemented. Returns null.
306
     * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
307
     */
308
    public Object setUserData(String key, Object data, org.w3c.dom.UserDataHandler handler)
309
    {
310
        return null;
311
    }
312
}
(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMNamespace.java (-1 / +107 lines)
Lines 140-146 Link Here
140
    public boolean hasAttributes() {
140
    public boolean hasAttributes() {
141
        return DOMNodeHelper.hasAttributes(this);
141
        return DOMNodeHelper.hasAttributes(this);
142
    }
142
    }
143
}
143
144
144
145
/*
145
/*
146
 * Redistribution and use of this software and associated documentation
146
 * Redistribution and use of this software and associated documentation
Lines 178-180 Link Here
178
 * 
178
 * 
179
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
179
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
180
 */
180
 */
181
182
    /**
183
     * @todo DOM level 3 compareDocumentPosition() Not implemented.
184
     * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
185
     */
186
    public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
187
    {
188
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
189
    }
190
191
    /**
192
     * @todo DOM level 3 getBaseURI() Not implemented. Returns null.
193
     * @see org.w3c.dom.Node#getBaseURI()
194
     */
195
    public String getBaseURI()
196
    {
197
        return null;
198
    }
199
200
    /**
201
     * @todo DOM level 3 getFeature() Not implemented. Returns null.
202
     * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
203
     */
204
    public Object getFeature(String feature, String version)
205
    {
206
        return null;
207
    }
208
209
    /**
210
     * @todo DOM level 3 getTextContent() Not implemented. Returns null.
211
     * @see org.w3c.dom.Node#getTextContent()
212
     */
213
    public String getTextContent() throws DOMException
214
    {
215
        return null;
216
    }
217
218
    /**
219
     * @todo DOM level 3 getUserData() Not implemented. Returns null.
220
     * @see org.w3c.dom.Node#getUserData(java.lang.String)
221
     */
222
    public Object getUserData(String key)
223
    {
224
        return null;
225
    }
226
227
    /**
228
     * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
229
     */
230
    public boolean isDefaultNamespace(String namespaceURI)
231
    {
232
        return false;
233
    }
234
235
    /**
236
     * @todo DOM level 3 isEqualNode() Not implemented. Returns false.
237
     * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
238
     */
239
    public boolean isEqualNode(org.w3c.dom.Node arg)
240
    {
241
        return false;
242
    }
243
244
    /**
245
     * @todo DOM level 3 isSameNode() Not implemented. Returns false.
246
     * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
247
     */
248
    public boolean isSameNode(org.w3c.dom.Node other)
249
    {
250
        return false;
251
    }
252
253
    /**
254
     * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
255
     */
256
    public String lookupNamespaceURI(String prefix)
257
    {
258
        return null;
259
    }
260
261
    /**
262
     * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
263
     */
264
    public String lookupPrefix(String namespaceURI)
265
    {
266
        return null;
267
    }
268
269
    /**
270
     * @todo DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR
271
     * @see org.w3c.dom.Node#setTextContent(java.lang.String)
272
     */
273
    public void setTextContent(String textContent) throws DOMException
274
    {
275
        throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, "Node is read only");
276
    }
277
278
    /**
279
     * @todo DOM level 3 setUserData() Not implemented. Returns null.
280
     * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
281
     */
282
    public Object setUserData(String key, Object data, org.w3c.dom.UserDataHandler handler)
283
    {
284
        return null;
285
    }
286
}
(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMProcessingInstruction.java (-1 / +107 lines)
Lines 179-185 Link Here
179
179
180
    // Implementation methods
180
    // Implementation methods
181
    // -------------------------------------------------------------------------
181
    // -------------------------------------------------------------------------
182
}
182
183
183
184
/*
184
/*
185
 * Redistribution and use of this software and associated documentation
185
 * Redistribution and use of this software and associated documentation
Lines 217-219 Link Here
217
 * 
217
 * 
218
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
218
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
219
 */
219
 */
220
221
    /**
222
     * @todo DOM level 3 compareDocumentPosition() Not implemented.
223
     * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
224
     */
225
    public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
226
    {
227
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
228
    }
229
230
    /**
231
     * @todo DOM level 3 getBaseURI() Not implemented. Returns null.
232
     * @see org.w3c.dom.Node#getBaseURI()
233
     */
234
    public String getBaseURI()
235
    {
236
        return null;
237
    }
238
239
    /**
240
     * @todo DOM level 3 getFeature() Not implemented. Returns null.
241
     * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
242
     */
243
    public Object getFeature(String feature, String version)
244
    {
245
        return null;
246
    }
247
248
    /**
249
     * @todo DOM level 3 getTextContent() Not implemented. Returns null.
250
     * @see org.w3c.dom.Node#getTextContent()
251
     */
252
    public String getTextContent() throws DOMException
253
    {
254
        return null;
255
    }
256
257
    /**
258
     * @todo DOM level 3 getUserData() Not implemented. Returns null.
259
     * @see org.w3c.dom.Node#getUserData(java.lang.String)
260
     */
261
    public Object getUserData(String key)
262
    {
263
        return null;
264
    }
265
266
    /**
267
     * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
268
     */
269
    public boolean isDefaultNamespace(String namespaceURI)
270
    {
271
        return false;
272
    }
273
274
    /**
275
     * @todo DOM level 3 isEqualNode() Not implemented. Returns false.
276
     * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
277
     */
278
    public boolean isEqualNode(org.w3c.dom.Node arg)
279
    {
280
        return false;
281
    }
282
283
    /**
284
     * @todo DOM level 3 isSameNode() Not implemented. Returns false.
285
     * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
286
     */
287
    public boolean isSameNode(org.w3c.dom.Node other)
288
    {
289
        return false;
290
    }
291
292
    /**
293
     * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
294
     */
295
    public String lookupNamespaceURI(String prefix)
296
    {
297
        return null;
298
    }
299
300
    /**
301
     * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
302
     */
303
    public String lookupPrefix(String namespaceURI)
304
    {
305
        return null;
306
    }
307
308
    /**
309
     * @todo DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR
310
     * @see org.w3c.dom.Node#setTextContent(java.lang.String)
311
     */
312
    public void setTextContent(String textContent) throws DOMException
313
    {
314
        throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, "Node is read only");
315
    }
316
317
    /**
318
     * @todo DOM level 3 setUserData() Not implemented. Returns null.
319
     * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
320
     */
321
    public Object setUserData(String key, Object data, org.w3c.dom.UserDataHandler handler)
322
    {
323
        return null;
324
    }
325
}
(-)dom4j-1.6.1.orig/src/java/org/dom4j/dom/DOMText.java (-1 / +134 lines)
Lines 224-230 Link Here
224
    protected Text createText(String text) {
224
    protected Text createText(String text) {
225
        return new DOMText(text);
225
        return new DOMText(text);
226
    }
226
    }
227
}
227
228
228
229
/*
229
/*
230
 * Redistribution and use of this software and associated documentation
230
 * Redistribution and use of this software and associated documentation
Lines 262-264 Link Here
262
 * 
262
 * 
263
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
263
 * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
264
 */
264
 */
265
266
    /**
267
     * @todo DOM level 3 getWholeText() Not implemented. Returns null.
268
     * @see org.w3c.dom.Text#getWholeText()
269
     */
270
    public String getWholeText()
271
    {
272
        return null;
273
    }
274
275
    /**
276
     * @todo DOM level 3 isElementContentWhitespace() Not implemented. Returns false.
277
     * @see org.w3c.dom.Text#isElementContentWhitespace()
278
     */
279
    public boolean isElementContentWhitespace()
280
    {
281
        return false;
282
    }
283
284
    /**
285
     * @todo DOM level 3 replaceWholeText() Not implemented. Returns the same node.
286
     * @see org.w3c.dom.Text#isElementContentWhitespace()
287
     */
288
    public org.w3c.dom.Text replaceWholeText(String content) throws DOMException
289
    {
290
        return this;
291
    }
292
293
    /**
294
     * @todo DOM level 3 compareDocumentPosition() Not implemented.
295
     * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
296
     */
297
    public short compareDocumentPosition(org.w3c.dom.Node other) throws DOMException
298
    {
299
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "DOM method not supported");
300
    }
301
302
    /**
303
     * @todo DOM level 3 getBaseURI() Not implemented. Returns null.
304
     * @see org.w3c.dom.Node#getBaseURI()
305
     */
306
    public String getBaseURI()
307
    {
308
        return null;
309
    }
310
311
    /**
312
     * @todo DOM level 3 getFeature() Not implemented. Returns null.
313
     * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
314
     */
315
    public Object getFeature(String feature, String version)
316
    {
317
        return null;
318
    }
319
320
    /**
321
     * @todo DOM level 3 getTextContent() Not implemented. Returns null.
322
     * @see org.w3c.dom.Node#getTextContent()
323
     */
324
    public String getTextContent() throws DOMException
325
    {
326
        return null;
327
    }
328
329
    /**
330
     * @todo DOM level 3 getUserData() Not implemented. Returns null.
331
     * @see org.w3c.dom.Node#getUserData(java.lang.String)
332
     */
333
    public Object getUserData(String key)
334
    {
335
        return null;
336
    }
337
338
    /**
339
     * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
340
     */
341
    public boolean isDefaultNamespace(String namespaceURI)
342
    {
343
        return false;
344
    }
345
346
    /**
347
     * @todo DOM level 3 isEqualNode() Not implemented. Returns false.
348
     * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
349
     */
350
    public boolean isEqualNode(org.w3c.dom.Node arg)
351
    {
352
        return false;
353
    }
354
355
    /**
356
     * @todo DOM level 3 isSameNode() Not implemented. Returns false.
357
     * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
358
     */
359
    public boolean isSameNode(org.w3c.dom.Node other)
360
    {
361
        return false;
362
    }
363
364
    /**
365
     * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
366
     */
367
    public String lookupNamespaceURI(String prefix)
368
    {
369
        return null;
370
    }
371
372
    /**
373
     * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
374
     */
375
    public String lookupPrefix(String namespaceURI)
376
    {
377
        return null;
378
    }
379
380
    /**
381
     * @todo DOM level 3 setTextContent() Not implemented. Throws NO_MODIFICATION_ALLOWED_ERR
382
     * @see org.w3c.dom.Node#setTextContent(java.lang.String)
383
     */
384
    public void setTextContent(String textContent) throws DOMException
385
    {
386
        throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, "Node is read only");
387
    }
388
389
    /**
390
     * @todo DOM level 3 setUserData() Not implemented. Returns null.
391
     * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
392
     */
393
    public Object setUserData(String key, Object data, org.w3c.dom.UserDataHandler handler)
394
    {
395
        return null;
396
    }
397
}

Return to bug 137970