Code example for Attributes

Methods: getURI

0
   *         null if the index is out of range. 
   * @see #getLength 
   */ 
  public String getURI(final int index)
  { 
    final String uri = attributes.getURI(index);
    if (uri == null || "".equals(uri))
    { 
      return defaultNSUri;
    } 
    return uri;
  } 
 
  /** 
   * Look up an attribute's local name by index. 
   * 
   * @param index The attribute index (zero-based). 
   * @return The local name, or the empty string if Namespace processing is not 
   *         being performed, or null if the index is out of range. 
   * @see #getLength 
   */