net.sourceforge.jeuclid.dom
Class AbstractPartialElementImpl.AttributeNodeMap

java.lang.Object
  extended by net.sourceforge.jeuclid.dom.AbstractPartialElementImpl.AttributeNodeMap
All Implemented Interfaces:
NamedNodeMap
Enclosing class:
AbstractPartialElementImpl

public static class AbstractPartialElementImpl.AttributeNodeMap
extends Object
implements NamedNodeMap

Partial Implementation for an NodeMap describing Attributes.


Constructor Summary
protected AbstractPartialElementImpl.AttributeNodeMap(Map<String,String> attrs, Element parent)
          Creates a new AttributeNodeMap.
 
Method Summary
 int getLength()
          
 Node getNamedItem(String name)
          
 Node getNamedItemNS(String namespaceURI, String localName)
          
 Node item(int index)
          
 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

AbstractPartialElementImpl.AttributeNodeMap

protected AbstractPartialElementImpl.AttributeNodeMap(Map<String,String> attrs,
                                                      Element parent)
Creates a new AttributeNodeMap.

Parameters:
attrs - A Map containing attributes and values.
parent - the node these attributes belong to.
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)

Specified by:
getNamedItemNS in interface NamedNodeMap

item

public Node item(int index)

Specified by:
item in interface NamedNodeMap

removeNamedItem

public Node removeNamedItem(String name)

Specified by:
removeNamedItem in interface NamedNodeMap

removeNamedItemNS

public Node removeNamedItemNS(String namespaceURI,
                              String localName)

Specified by:
removeNamedItemNS in interface NamedNodeMap

setNamedItem

public Node setNamedItem(Node arg)

Specified by:
setNamedItem in interface NamedNodeMap

setNamedItemNS

public Node setNamedItemNS(Node arg)

Specified by:
setNamedItemNS in interface NamedNodeMap


Copyright © 2002-2008 The JEuclid project. All Rights Reserved.