Code example for Attributes

Methods: getQName

   *         range. 
   * @see #getLength 
  public String getQName(final int index)
    return backend.getQName(index);
   * Look up an attribute's type by index. <p/> <p>The attribute type is one of the strings "CDATA", "ID", "IDREF", 
   * "IDREFS", "NMTOKEN", "NMTOKENS", "ENTITY", "ENTITIES", or "NOTATION" (always in upper case).</p> <p/> <p>If the 
   * parser has not read a declaration for the attribute, or if the parser does not report attribute types, then it must 
   * return the value "CDATA" as stated in the XML 1.0 Recommentation (clause 3.3.3, "Attribute-Value 
   * Normalization").</p> <p/> <p>For an enumerated attribute that is not a notation, the parser will report the type as 
   * "NMTOKEN".</p> 
   * @param index The attribute index (zero-based). 
   * @return The attribute's type as a string, or null if the index is out of range. 
   * @see #getLength