Code example for Attributes

Methods: getType

   *         range. 
   * @see #getLength 
  public String getType(final int index)
    return attributes.getType(index);
   * Look up an attribute's value by index. 
   * <p/> 
   * <p>If the attribute value is a list of tokens (IDREFS, ENTITIES, or 
   * NMTOKENS), the tokens will be concatenated into a single string with each 
   * token separated by a single space.</p> 
   * @param index The attribute index (zero-based). 
   * @return The attribute's value as a string, or null if the index is out of 
   *         range. 
   * @see #getLength 
  public String getValue(final int index)