Code example for NamedNodeMap

Methods: getNamedItem

0
   * 
   * @return The attribute node's value 
   */ 
  public String getValue(String name)
  { 
    Attr attr = ((Attr) m_attrs.getNamedItem(name));
    return (null != attr) 
          ? attr.getValue() : null;
  } 
 
  /** 
   * Look up an attribute's value by Namespace name. 
   * 
   * @param uri The Namespace URI, or the empty String if the 
   *        name has no Namespace URI. 
   * @param localName The local name of the attribute. 
   * @return The attribute value as a string, or null if the 
   *         attribute is not in the list. 
   */ 
  public String getValue(String uri, String localName)
  {