|
org.netbeans.modules.xml.xdm/1 1.19.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.xml.xdm.nodes.NamedNodeMapImpl
public final class NamedNodeMapImpl
Read-only implementation of NamedNodeMap delegating to a Java Map.
The underlaying map must use createKey(java.lang.String) as its keys. Also keeps
fidelity of the attribute order.
| Field Summary | |
|---|---|
static NamedNodeMap |
EMPTY
Read-only empty map. |
| Constructor Summary | |
|---|---|
NamedNodeMapImpl(List<Attribute> attributes)
Creates new NamedNodeMapImpl |
|
| Method Summary | |
|---|---|
static Object |
createKey(String qname)
Create proper key for map entry |
static Object |
createKey(String uri,
String local)
Create proper key for map entry |
int |
getLength()
|
Node |
getNamedItem(String str)
|
Node |
getNamedItemNS(String uri,
String local)
|
Node |
item(int param)
|
Node |
removeNamedItem(String str)
|
Node |
removeNamedItemNS(String str,
String str1)
|
Node |
setNamedItem(Node node)
|
Node |
setNamedItemNS(Node node)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final NamedNodeMap EMPTY
| Constructor Detail |
|---|
public NamedNodeMapImpl(List<Attribute> attributes)
peer - a map to delegate to. It must not be modified after this contructor call!| Method Detail |
|---|
public int getLength()
getLength in interface NamedNodeMap
public Node removeNamedItem(String str)
throws DOMException
removeNamedItem in interface NamedNodeMapDOMException
public Node setNamedItemNS(Node node)
throws DOMException
setNamedItemNS in interface NamedNodeMapDOMException
public Node setNamedItem(Node node)
throws DOMException
setNamedItem in interface NamedNodeMapDOMException
public Node getNamedItemNS(String uri,
String local)
getNamedItemNS in interface NamedNodeMappublic Node item(int param)
item in interface NamedNodeMappublic Node getNamedItem(String str)
getNamedItem in interface NamedNodeMap
public Node removeNamedItemNS(String str,
String str1)
throws DOMException
removeNamedItemNS in interface NamedNodeMapDOMExceptionpublic static Object createKey(String qname)
public static Object createKey(String uri,
String local)
|
org.netbeans.modules.xml.xdm/1 1.19.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||