Code example for Attributes

Methods: getIndex

0
   * @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);
  } 
 
  /** 
   * Return the number of attributes in the list. <p/> <p>Once you know the number of attributes, you can iterate 
   * through the list.</p> 
   * 
   * @return The number of attributes in the list. 
   * @see #getURI(int) 
   * @see #getLocalName(int) 
   * @see #getQName(int) 
   * @see #getType(int) 
   * @see #getValue(int) 
   */ 
  public int getLength() 
  {