Code example for Attributes

Methods: getLocalName, getQName

0
   *         being performed, or null if the index is out of range. 
   * @see #getLength 
   */ 
  public String getLocalName(final int index)
  { 
    final String name = attributes.getLocalName(index);
    if (name == null || "".equals(name))
    { 
      return attributes.getQName(index);
    } 
    return name;
  } 
 
  /** 
   * Look up an attribute's XML qualified (prefixed) name by index. 
   * 
   * @param index The attribute index (zero-based). 
   * @return The XML qualified name, or the empty string if none is available, 
   *         or null if the index is out of range. 
   * @see #getLength 
   */