Interface NamedNodeMap


public interface NamedNodeMap
Represents a string-to-node map, used in getAttributes.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of items in this NamedNodeMap.
    This method gets the item having the given name.
    item(int index)
    This method gets the item at the index position.
  • Method Details

    • getLength

      int getLength()
      Returns the number of items in this NamedNodeMap.
      Returns:
      the number of items in this NamedNodeMap
    • getNamedItem

      Node getNamedItem(String name)
      This method gets the item having the given name.
      Parameters:
      name - - the name used to look up the item
      Returns:
      the item retrieved
    • item

      Node item(int index)
      This method gets the item at the index position.
      Parameters:
      index - - the index to retrieve the item from
      Returns:
      the item retrieved