org.w3c.tidy

Class DOMAttrMapImpl

Implemented Interfaces:
org.w3c.dom.NamedNodeMap

public class DOMAttrMapImpl
extends java.lang.Object
implements org.w3c.dom.NamedNodeMap

Tidy implementation of org.w3c.dom.NamedNodeMap.
Version:
$Revision: 738 $ ($Author: fgiust $)
Authors:
Dave Raggett dsr@w3.org
Andy Quick ac.quick@sympatico.ca (translation to Java)
Fabrizio Giustina

Constructor Summary

DOMAttrMapImpl(AttVal firstAttVal)
instantiates a new DOMAttrMapImpl for the given AttVal.

Method Summary

int
getLength()
org.w3c.dom.Node
getNamedItem(String name)
org.w3c.dom.Node
getNamedItemNS(String namespaceURI, String localName)
Not supported, returns DOMException.NOT_SUPPORTED_ERR.
org.w3c.dom.Node
item(int index)
org.w3c.dom.Node
removeNamedItem(String name)
org.w3c.dom.Node
removeNamedItemNS(String namespaceURI, String localName)
Not supported, returns DOMException.NOT_SUPPORTED_ERR.
org.w3c.dom.Node
setNamedItem(org.w3c.dom.Node arg)
org.w3c.dom.Node
setNamedItemNS(org.w3c.dom.Node arg)
Not supported, returns DOMException.NOT_SUPPORTED_ERR.

Constructor Details

DOMAttrMapImpl

protected DOMAttrMapImpl(AttVal firstAttVal)
instantiates a new DOMAttrMapImpl for the given AttVal.
Parameters:
firstAttVal - wrapped AttVal

Method Details

getLength

public int getLength()
See Also:
org.w3c.dom.NamedNodeMap.getLength

getNamedItem

public org.w3c.dom.Node getNamedItem(String name)
See Also:
org.w3c.dom.NamedNodeMap.getNamedItem(java.lang.String)

getNamedItemNS

public org.w3c.dom.Node getNamedItemNS(String namespaceURI,
                                       String localName)
Not supported, returns DOMException.NOT_SUPPORTED_ERR.
See Also:
org.w3c.dom.NamedNodeMap.getNamedItemNS(java.lang.String, java.lang.String)

item

public org.w3c.dom.Node item(int index)
See Also:
org.w3c.dom.NamedNodeMap.item

removeNamedItem

public org.w3c.dom.Node removeNamedItem(String name)
            throws DOMException
See Also:
org.w3c.dom.NamedNodeMap.removeNamedItem

removeNamedItemNS

public org.w3c.dom.Node removeNamedItemNS(String namespaceURI,
                                          String localName)
            throws DOMException
Not supported, returns DOMException.NOT_SUPPORTED_ERR.
See Also:
org.w3c.dom.NamedNodeMap.removeNamedItemNS(java.lang.String, java.lang.String)

setNamedItem

public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node arg)
            throws DOMException
See Also:
org.w3c.dom.NamedNodeMap.setNamedItem

setNamedItemNS

public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node arg)
            throws DOMException
Not supported, returns DOMException.NOT_SUPPORTED_ERR.
See Also:
org.w3c.dom.NamedNodeMap.setNamedItemNS(org.w3c.dom.Node)