Code example for Attributes

Methods: getIndex

   * @return The index of the attribute, or -1 if it does not appear in the 
   *         list. 
  public int getIndex(final String qName)
    return attributes.getIndex(qName);
   * Look up an attribute's type by Namespace name. 
   * <p/> 
   * <p>See {@link #getType(int) getType(int)} for a description of the possible 
   * types.</p> 
   * @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 type as a string, or null if the attribute is not in 
   *         the list or if Namespace processing is not being performed.