Package org.ametys.core.util.dom
Class AmetysNamedNodeMap
java.lang.Object
org.ametys.core.util.dom.AmetysNamedNodeMap
- All Implemented Interfaces:
NamedNodeMap
Implementation of
NamedNodeMap
to store attributes names and values.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getNamedItem
(String name) getNamedItemNS
(String namespaceURI, String localName) item
(int index) removeNamedItem
(String name) removeNamedItemNS
(String namespaceURI, String localName) setNamedItem
(Node arg) setNamedItemNS
(Node arg)
-
Constructor Details
-
AmetysNamedNodeMap
Contructor.- Parameters:
map
- a <name, attribute> map.
-
-
Method Details
-
getNamedItem
- Specified by:
getNamedItem
in interfaceNamedNodeMap
-
item
- Specified by:
item
in interfaceNamedNodeMap
-
getLength
- Specified by:
getLength
in interfaceNamedNodeMap
-
getNamedItemNS
- Specified by:
getNamedItemNS
in interfaceNamedNodeMap
- Throws:
DOMException
-
setNamedItemNS
- Specified by:
setNamedItemNS
in interfaceNamedNodeMap
- Throws:
DOMException
-
removeNamedItemNS
- Specified by:
removeNamedItemNS
in interfaceNamedNodeMap
- Throws:
DOMException
-
setNamedItem
- Specified by:
setNamedItem
in interfaceNamedNodeMap
- Throws:
DOMException
-
removeNamedItem
- Specified by:
removeNamedItem
in interfaceNamedNodeMap
- Throws:
DOMException
-