Attributes

package org.apache.xerces.xni;

public interface XMLAttributes {

  public int     getLength();
  public int     getIndex(String qualifiedName);
  public int     getIndex(String uri, String localPart);
  public void    setName(int index, QName name);
  public void    getName(int index, QName name);
  public String  getPrefix(int index);
  public String  getURI(int index);
  public String  getLocalName(int index);
  public String  getQName(int index);
  
  public void    setValue(int index, String value);
  public String  getValue(int index);
  public String  getValue(String qualifiedName);
  public String  getValue(String uri, String localName);
  public void    setNonNormalizedValue(int index, String value);
  public String  getNonNormalizedValue(int index); 
  
  public void    setType(int index, String type);
  public String  getType(int index);
  public String  getType(String qualifiedName);
  public String  getType(String uri, String localName);
  public void    setSpecified(int index, boolean specified);
  public boolean isSpecified(int index);
  
  public int  addAttribute(QName name, String type, String value);
  public void removeAllAttributes();
  public void removeAttributeAt(int index);  
  
  public Augmentations getAugmentations (int attributeIndex);
  public Augmentations getAugmentations (String uri, String localPart);
  public Augmentations getAugmentations(String qualifiedName);

}

Previous | Next | Top | Cafe con Leche

Copyright 2000-2003 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified November 16, 2002