Package org.w3c.tidy
Class DOMAttrMapImpl
java.lang.Object
org.w3c.tidy.DOMAttrMapImpl
- All Implemented Interfaces:
NamedNodeMap
Tidy implementation of org.w3c.dom.NamedNodeMap.
- Version:
- $Revision: 738 $ ($Author: fgiust $)
- Author:
- Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DOMAttrMapImpl
(AttVal firstAttVal) instantiates a new DOMAttrMapImpl for the given AttVal. -
Method Summary
Modifier and TypeMethodDescriptionint
getNamedItem
(String name) getNamedItemNS
(String namespaceURI, String localName) Not supported, returnsDOMException.NOT_SUPPORTED_ERR
.item
(int index) removeNamedItem
(String name) removeNamedItemNS
(String namespaceURI, String localName) Not supported, returnsDOMException.NOT_SUPPORTED_ERR
.setNamedItem
(Node arg) setNamedItemNS
(Node arg) Not supported, returnsDOMException.NOT_SUPPORTED_ERR
.
-
Constructor Details
-
DOMAttrMapImpl
instantiates a new DOMAttrMapImpl for the given AttVal.- Parameters:
firstAttVal
- wrapped AttVal
-
-
Method Details
-
getNamedItem
- Specified by:
getNamedItem
in interfaceNamedNodeMap
- See Also:
-
item
- Specified by:
item
in interfaceNamedNodeMap
- See Also:
-
getLength
public int getLength()- Specified by:
getLength
in interfaceNamedNodeMap
- See Also:
-
setNamedItem
- Specified by:
setNamedItem
in interfaceNamedNodeMap
- Throws:
DOMException
- See Also:
- To do:
- DOM level 2 setNamedItem() Not implemented. Throws NOT_SUPPORTED_ERR.
-
removeNamedItem
- Specified by:
removeNamedItem
in interfaceNamedNodeMap
- Throws:
DOMException
- See Also:
-
getNamedItemNS
Not supported, returnsDOMException.NOT_SUPPORTED_ERR
.- Specified by:
getNamedItemNS
in interfaceNamedNodeMap
- See Also:
-
setNamedItemNS
Not supported, returnsDOMException.NOT_SUPPORTED_ERR
.- Specified by:
setNamedItemNS
in interfaceNamedNodeMap
- Throws:
DOMException
- See Also:
-
removeNamedItemNS
Not supported, returnsDOMException.NOT_SUPPORTED_ERR
.- Specified by:
removeNamedItemNS
in interfaceNamedNodeMap
- Throws:
DOMException
- See Also:
-