API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.w3c.dom. NamedNodeMap View Source
Author(s)
Since
Version
Serial
Hierarchy
 NamedNodeMap
Subinterfaces
Description
public interface NamedNodeMap
  Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can be accessed by name.
See also:   
Methods
Hide/Show inherited methods
public int getLength ()
  The number of nodes in this map.
public Node getNamedItem (String name)
  Retrieves a node specified by name.
public Node getNamedItemNS (String namespaceURI, String localName) throws DOMException
  Retrieves a node specified by local name and namespace URI.
public Node item (int index)
  Returns the indexth item in the map.
public Node removeNamedItem (String name) throws DOMException
  Removes a node specified by name.
public Node removeNamedItemNS (String namespaceURI, String localName) throws DOMException
  Removes a node specified by local name and namespace URI.
public Node setNamedItem (Node arg) throws DOMException
  Adds a node using its nodeName attribute.
public Node setNamedItemNS (Node arg) throws DOMException
  Adds a node using its namespaceURI and localName.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar