E
- node element typepublic class JsonDomNamedNodeMap<E extends Node> extends de.larssh.utils.collection.ProxiedMap<String,E> implements NamedNodeMap
Map
based NamedNodeMap
implementationConstructor and Description |
---|
JsonDomNamedNodeMap(Collection<E> nodes)
Constructor to create a
JsonDomNamedNodeMap based on nodes . |
Modifier and Type | Method and Description |
---|---|
int |
getLength() |
E |
getNamedItem(String name) |
E |
getNamedItemNS(String namespaceURI,
String localName) |
boolean |
isModifiable() |
E |
item(int index) |
E |
removeNamedItem(String name) |
E |
removeNamedItemNS(String namespaceURI,
String localName) |
E |
setNamedItem(Node node) |
E |
setNamedItemNS(Node node) |
clear, containsKey, containsValue, entrySet, equals, get, getProxiedForRead, getProxiedIfModifiable, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public JsonDomNamedNodeMap(Collection<E> nodes)
JsonDomNamedNodeMap
based on nodes
.nodes
- collections of nodespublic int getLength()
getLength
in interface NamedNodeMap
@Nullable public E getNamedItem(@Nullable String name)
getNamedItem
in interface NamedNodeMap
@NonNull public E getNamedItemNS(@Nullable String namespaceURI, @Nullable String localName)
getNamedItemNS
in interface NamedNodeMap
public boolean isModifiable()
@Nullable public E item(int index)
item
in interface NamedNodeMap
@Nullable public E removeNamedItem(@Nullable String name)
removeNamedItem
in interface NamedNodeMap
@NonNull public E removeNamedItemNS(@Nullable String namespaceURI, @Nullable String localName)
removeNamedItemNS
in interface NamedNodeMap
@NonNull public E setNamedItem(@Nullable Node node)
setNamedItem
in interface NamedNodeMap
@NonNull public E setNamedItemNS(@Nullable Node node)
setNamedItemNS
in interface NamedNodeMap
Copyright © 2024. All rights reserved.