org.exist.dom
Class NamedNodeMapImpl

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.ArrayList
              extended by org.exist.dom.NamedNodeMapImpl
All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess, NamedNodeMap

public class NamedNodeMapImpl
extends ArrayList
implements NamedNodeMap

See Also:
Serialized Form

Constructor Summary
NamedNodeMapImpl()
           
 
Method Summary
 int getLength()
           
 Node getNamedItem(String name)
           
 Node getNamedItemNS(String namespaceURI, String name)
           
 Node item(int index)
           
 Node removeNamedItem(String name)
           
 Node removeNamedItemNS(String namespaceURI, String name)
           
 Node setNamedItem(Node arg)
           
 Node setNamedItemNS(Node arg)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

NamedNodeMapImpl

public NamedNodeMapImpl()
Method Detail

getLength

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

setNamedItem

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

setNamedItemNS

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

item

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

getNamedItem

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

getNamedItemNS

public Node getNamedItemNS(String namespaceURI,
                           String name)
Specified by:
getNamedItemNS in interface NamedNodeMap

removeNamedItem

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

removeNamedItemNS

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


Copyright (C) Wolfgang Meier. All rights reserved.