Package org.w3c.tidy
Class DOMAttrMapImpl
- java.lang.Object
-
- org.w3c.tidy.DOMAttrMapImpl
-
- All Implemented Interfaces:
NamedNodeMap
public class DOMAttrMapImpl extends Object implements NamedNodeMap
Tidy implementation of org.w3c.dom.NamedNodeMap.- Version:
- $Revision$ ($Author$)
- Author:
- Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDOMAttrMapImpl(AttVal firstAttVal)instantiates a new DOMAttrMapImpl for the given AttVal.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength()NodegetNamedItem(String name)NodegetNamedItemNS(String namespaceURI, String localName)Not supported, returnsDOMException.NOT_SUPPORTED_ERR.Nodeitem(int index)NoderemoveNamedItem(String name)NoderemoveNamedItemNS(String namespaceURI, String localName)Not supported, returnsDOMException.NOT_SUPPORTED_ERR.NodesetNamedItem(Node arg)TODO DOM level 2 setNamedItem() Not implemented.NodesetNamedItemNS(Node arg)Not supported, returnsDOMException.NOT_SUPPORTED_ERR.
-
-
-
Constructor Detail
-
DOMAttrMapImpl
protected DOMAttrMapImpl(AttVal firstAttVal)
instantiates a new DOMAttrMapImpl for the given AttVal.- Parameters:
firstAttVal- wrapped AttVal
-
-
Method Detail
-
getNamedItem
public Node getNamedItem(String name)
- Specified by:
getNamedItemin interfaceNamedNodeMap- See Also:
NamedNodeMap.getNamedItem(java.lang.String)
-
item
public Node item(int index)
- Specified by:
itemin interfaceNamedNodeMap- See Also:
NamedNodeMap.item(int)
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceNamedNodeMap- See Also:
NamedNodeMap.getLength()
-
setNamedItem
public Node setNamedItem(Node arg) throws DOMException
TODO DOM level 2 setNamedItem() Not implemented. Throws NOT_SUPPORTED_ERR.- Specified by:
setNamedItemin interfaceNamedNodeMap- Throws:
DOMException- See Also:
NamedNodeMap.setNamedItem(org.w3c.dom.Node)
-
removeNamedItem
public Node removeNamedItem(String name) throws DOMException
- Specified by:
removeNamedItemin interfaceNamedNodeMap- Throws:
DOMException- See Also:
NamedNodeMap.removeNamedItem(java.lang.String)
-
getNamedItemNS
public Node getNamedItemNS(String namespaceURI, String localName)
Not supported, returnsDOMException.NOT_SUPPORTED_ERR.- Specified by:
getNamedItemNSin interfaceNamedNodeMap- See Also:
NamedNodeMap.getNamedItemNS(java.lang.String, java.lang.String)
-
setNamedItemNS
public Node setNamedItemNS(Node arg) throws DOMException
Not supported, returnsDOMException.NOT_SUPPORTED_ERR.- Specified by:
setNamedItemNSin interfaceNamedNodeMap- Throws:
DOMException- See Also:
NamedNodeMap.setNamedItemNS(org.w3c.dom.Node)
-
removeNamedItemNS
public Node removeNamedItemNS(String namespaceURI, String localName) throws DOMException
Not supported, returnsDOMException.NOT_SUPPORTED_ERR.- Specified by:
removeNamedItemNSin interfaceNamedNodeMap- Throws:
DOMException- See Also:
NamedNodeMap.removeNamedItemNS(java.lang.String, java.lang.String)
-
-