Package org.w3c.tidy

Class DOMAttrMapImpl

  • All 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 $)
    Author:
    Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DOMAttrMapImpl​(AttVal firstAttVal)
      instantiates a new DOMAttrMapImpl for the given AttVal.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLength()  
      org.w3c.dom.Node getNamedItem​(java.lang.String name)  
      org.w3c.dom.Node getNamedItemNS​(java.lang.String namespaceURI, java.lang.String localName)
      Not supported, returns DOMException.NOT_SUPPORTED_ERR.
      org.w3c.dom.Node item​(int index)  
      org.w3c.dom.Node removeNamedItem​(java.lang.String name)  
      org.w3c.dom.Node removeNamedItemNS​(java.lang.String namespaceURI, java.lang.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DOMAttrMapImpl

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

      • getNamedItem

        public org.w3c.dom.Node getNamedItem​(java.lang.String name)
        Specified by:
        getNamedItem in interface org.w3c.dom.NamedNodeMap
        See Also:
        NamedNodeMap.getNamedItem(java.lang.String)
      • item

        public org.w3c.dom.Node item​(int index)
        Specified by:
        item in interface org.w3c.dom.NamedNodeMap
        See Also:
        NamedNodeMap.item(int)
      • getLength

        public int getLength()
        Specified by:
        getLength in interface org.w3c.dom.NamedNodeMap
        See Also:
        NamedNodeMap.getLength()
      • setNamedItem

        public org.w3c.dom.Node setNamedItem​(org.w3c.dom.Node arg)
                                      throws org.w3c.dom.DOMException
        Specified by:
        setNamedItem in interface org.w3c.dom.NamedNodeMap
        Throws:
        org.w3c.dom.DOMException
        See Also:
        NamedNodeMap.setNamedItem(org.w3c.dom.Node)
        To do:
        DOM level 2 setNamedItem() Not implemented. Throws NOT_SUPPORTED_ERR.
      • removeNamedItem

        public org.w3c.dom.Node removeNamedItem​(java.lang.String name)
                                         throws org.w3c.dom.DOMException
        Specified by:
        removeNamedItem in interface org.w3c.dom.NamedNodeMap
        Throws:
        org.w3c.dom.DOMException
        See Also:
        NamedNodeMap.removeNamedItem(java.lang.String)
      • getNamedItemNS

        public org.w3c.dom.Node getNamedItemNS​(java.lang.String namespaceURI,
                                               java.lang.String localName)
        Not supported, returns DOMException.NOT_SUPPORTED_ERR.
        Specified by:
        getNamedItemNS in interface org.w3c.dom.NamedNodeMap
        See Also:
        NamedNodeMap.getNamedItemNS(java.lang.String, java.lang.String)
      • setNamedItemNS

        public org.w3c.dom.Node setNamedItemNS​(org.w3c.dom.Node arg)
                                        throws org.w3c.dom.DOMException
        Not supported, returns DOMException.NOT_SUPPORTED_ERR.
        Specified by:
        setNamedItemNS in interface org.w3c.dom.NamedNodeMap
        Throws:
        org.w3c.dom.DOMException
        See Also:
        NamedNodeMap.setNamedItemNS(org.w3c.dom.Node)
      • removeNamedItemNS

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