SAX: org.xml.sax.AttributeMap

David Megginson ak117 at freenet.carleton.ca
Wed Feb 25 01:39:56 GMT 1998


David Megginson writes:

 >   package org.xml.sax;
 > 
 >   public interface AttributeList {
 > 
 >     public abstract int getLength ();
 >     public abstract int getName (int index);
 >     public abstract int getValue (int index);
 >     public abstract String getType (int index);
 > 
 >     public abstract String getEntityNotationName (int index);
 >     public abstract String getEntityPublicId (int index);
 >     public abstract String getEntitySystemId (int index);
 >     public abstract String getNotationPublicId (int index);
 >     public abstract String getNotationSystemId (int index);
 > 
 >   }

For any of you who are wondering when attribute names and values
became integers, the above should have been

  package org.xml.sax;

  public interface AttributeList {

    public abstract int getLength ();
    public abstract String getName (int index);
    public abstract String getValue (int index);
    public abstract String getType (int index);

    public abstract String getEntityNotationName (int index);
    public abstract String getEntityPublicId (int index);
    public abstract String getEntitySystemId (int index);
    public abstract String getNotationPublicId (int index);
    public abstract String getNotationSystemId (int index);

  }


All the best,


David

-- 
David Megginson                 ak117 at freenet.carleton.ca
Microstar Software Ltd.         dmeggins at microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list