org.pasoa.dommap
Class SimpleNamedNodeMap

java.lang.Object
  extended by org.pasoa.dommap.SimpleNamedNodeMap
All Implemented Interfaces:
NamedNodeMap

public class SimpleNamedNodeMap
extends Object
implements NamedNodeMap


Constructor Summary
SimpleNamedNodeMap(List childNodes)
           
 
Method Summary
 int getLength()
           
 Node getNamedItem(String name)
           
 Node getNamedItemNS(String namespaceURI, String localName)
           
 Node item(int index)
           
 Iterator iterator()
           
 Node removeNamedItem(String name)
           
 Node removeNamedItemNS(String namespaceURI, String localName)
           
 Node setNamedItem(Node arg)
           
 Node setNamedItemNS(Node arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNamedNodeMap

public SimpleNamedNodeMap(List childNodes)
Method Detail

getLength

public int getLength()
Specified by:
getLength in interface NamedNodeMap

getNamedItem

public Node getNamedItem(String name)
Specified by:
getNamedItem in interface NamedNodeMap

getNamedItemNS

public Node getNamedItemNS(String namespaceURI,
                           String localName)
                    throws DOMException
Specified by:
getNamedItemNS in interface NamedNodeMap
Throws:
DOMException

item

public Node item(int index)
Specified by:
item in interface NamedNodeMap

iterator

public Iterator iterator()

removeNamedItem

public Node removeNamedItem(String name)
                     throws DOMException
Specified by:
removeNamedItem in interface NamedNodeMap
Throws:
DOMException

setNamedItemNS

public Node setNamedItemNS(Node arg)
                    throws DOMException
Specified by:
setNamedItemNS in interface NamedNodeMap
Throws:
DOMException

setNamedItem

public Node setNamedItem(Node arg)
                  throws DOMException
Specified by:
setNamedItem in interface NamedNodeMap
Throws:
DOMException

removeNamedItemNS

public Node removeNamedItemNS(String namespaceURI,
                              String localName)
                       throws DOMException
Specified by:
removeNamedItemNS in interface NamedNodeMap
Throws:
DOMException