Code example for Attributes

Methods: getIndex

0
   * @param qName The qualified (prefixed) name. 
   * @return The index of the attribute, or -1 if it does not appear in the list. 
   */ 
  public int getIndex(final String qName)
  { 
    return backend.getIndex(qName);
  } 
 
  /** 
   * Look up the index of an attribute by Namespace name. 
   * 
   * @param uri       The Namespace URI, or the empty string if the name has no Namespace URI. 
   * @param localName The attribute's local name. 
   * @return The index of the attribute, or -1 if it does not appear in the list. 
   */ 
  public int getIndex(final String uri, final String localName)
  { 
    return backend.getIndex(uri, localName);
  } 
 
  /**