Code example for NamedNodeMap

Methods: getLength

0
      this.attributes = attributes;
    } 
 
    public int getLength() 
    { 
      return attributes.getLength();
    } 
 
    public String getQName(int index)
    { 
      Node node = attributes.item(index);
      return (node != null) ? node.getNodeName() : null;
    } 
 
    public String getURI(int index)
    { 
      Node node = attributes.item(index);
      if (node != null)
      { 
        String namespaceURI = node.getNamespaceURI();
        if (ExtendedMetaData.XMLNS_URI.equals(namespaceURI))