Package org.dom4j.dom

Class DOMAttributeNodeMap

  • All Implemented Interfaces:
    org.w3c.dom.NamedNodeMap

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

    DOMAttributeNodeMap implements a W3C NameNodeMap for the attributes of an element.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void foo()  
      int getLength()  
      org.w3c.dom.Node getNamedItem(java.lang.String name)  
      org.w3c.dom.Node getNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)  
      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)  
      org.w3c.dom.Node setNamedItem(org.w3c.dom.Node arg)  
      org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node arg)  
      • Methods inherited from class java.lang.Object

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

      • DOMAttributeNodeMap

        public DOMAttributeNodeMap(DOMElement element)
    • Method Detail

      • foo

        public void foo()
                 throws org.w3c.dom.DOMException
        Throws:
        org.w3c.dom.DOMException
      • getNamedItem

        public org.w3c.dom.Node getNamedItem(java.lang.String name)
        Specified by:
        getNamedItem in interface org.w3c.dom.NamedNodeMap
      • 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
      • 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
      • item

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

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

        public org.w3c.dom.Node getNamedItemNS(java.lang.String namespaceURI,
                                               java.lang.String localName)
        Specified by:
        getNamedItemNS in interface org.w3c.dom.NamedNodeMap
      • setNamedItemNS

        public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node arg)
                                        throws org.w3c.dom.DOMException
        Specified by:
        setNamedItemNS in interface org.w3c.dom.NamedNodeMap
        Throws:
        org.w3c.dom.DOMException
      • removeNamedItemNS

        public org.w3c.dom.Node removeNamedItemNS(java.lang.String namespaceURI,
                                                  java.lang.String localName)
                                           throws org.w3c.dom.DOMException
        Specified by:
        removeNamedItemNS in interface org.w3c.dom.NamedNodeMap
        Throws:
        org.w3c.dom.DOMException