|
|||||||||||||||||||
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 | |||||||||||||||
DomNonAttrOrElm.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.IDomDocument; |
|
13 |
import org.jbind.xml.dom3.types.IDomNode; |
|
14 |
import org.w3c.dom.NamedNodeMap; |
|
15 |
|
|
16 |
public abstract class DomNonAttrOrElm extends DomNode { |
|
17 |
|
|
18 | 0 |
public DomNonAttrOrElm(IDomDocument aDomDocument) { |
19 | 0 |
super(aDomDocument); |
20 |
} |
|
21 |
|
|
22 | 0 |
protected DomNonAttrOrElm(IDomNode aDomNode, boolean aDeep) { |
23 | 0 |
super(aDomNode, aDeep); |
24 |
} |
|
25 |
|
|
26 | 0 |
public String getPrefix() { |
27 | 0 |
return null; |
28 |
} |
|
29 |
|
|
30 | 0 |
public void setPrefix(String aPrefix) { |
31 | 0 |
throw new DomException(DomException.INVALID_ACCESS_ERR, "node has no prefix"); |
32 |
} |
|
33 |
|
|
34 | 0 |
public String getNamespaceURI() { |
35 | 0 |
return null; |
36 |
} |
|
37 |
|
|
38 | 0 |
public String getLocalName() { |
39 | 0 |
return null; |
40 |
} |
|
41 |
|
|
42 | 0 |
public NamedNodeMap getAttributes() { |
43 | 0 |
return null; |
44 |
} |
|
45 |
|
|
46 | 0 |
public boolean hasAttributes() { |
47 | 0 |
return false; |
48 |
} |
|
49 |
|
|
50 | 0 |
public boolean isNil() { |
51 | 0 |
return false; |
52 |
} |
|
53 | 0 |
public boolean isDefault() { |
54 | 0 |
return false; |
55 |
} |
|
56 |
|
|
57 |
} |
|
58 |
|
|