|
|||||||||||||||||||
This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover. | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
DomImplementation.java | - | 0% | 0% | 0% |
|
1 |
/* |
|
2 |
* JBind |
|
3 |
* |
|
4 |
* Copyright (c) by Stefan Wachter. All rights reserved. |
|
5 |
* |
|
6 |
* Usage, modification, and redistribution is subject to license terms that are |
|
7 |
* available at 'http://www.jbind.org'. The JBind license is like the |
|
8 |
* 'Apache Software License V 1.1'. |
|
9 |
*/ |
|
10 |
package org.jbind.xml.dom3.core; |
|
11 |
|
|
12 |
import org.jbind.xml.dom3.types.IDomImplementation; |
|
13 |
import org.w3c.dom.DOMImplementation; |
|
14 |
import org.w3c.dom.Document; |
|
15 |
import org.w3c.dom.DocumentType; |
|
16 |
|
|
17 |
public class DomImplementation implements IDomImplementation { |
|
18 |
|
|
19 | 0 |
public DomImplementation() {} |
20 |
|
|
21 | 0 |
public Document createDocument(String aNamespaceUri, String aQName, DocumentType aDocumentType) throws DomException { |
22 | 0 |
return new DomDocument(this, aNamespaceUri, aQName, aDocumentType); |
23 |
} |
|
24 |
|
|
25 | 0 |
public DocumentType createDocumentType(String aQName, String aPublicId, String aSystemId) throws DomException { |
26 | 0 |
return new DomDocumentType(aQName, aPublicId, aSystemId, null, null, null); |
27 |
} |
|
28 |
|
|
29 | 0 |
public boolean hasFeature(String feature, String version) { |
30 |
// TODO |
|
31 |
assert false : "nyi"; |
|
32 | 0 |
return false; |
33 |
} |
|
34 |
|
|
35 | 0 |
public DOMImplementation getInterface(String aFeature) { |
36 |
// TODO |
|
37 |
assert false : "nyi"; |
|
38 | 0 |
return null; |
39 |
} |
|
40 |
} |
|
41 |
|
|