Code example for Attributes

Methods: getURI

0
   * @return The Namespace URI, or the empty string if none is available, or null if the index is out of range. 
   * @see #getLength 
   */ 
  public String getURI(final int index)
  { 
    return backend.getURI(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)
  { 
    return translateAndLookup(backend.getValue(index));
  }