Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACEXML_Attributes Class Reference

ACEXML_Attributes defines a collection of attributes of an XML element. More...

#include "ACEXML/common/Attributes.h"

Inheritance diagram for ACEXML_Attributes:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual int getIndex (const ACEXML_Char *qName)=0
virtual int getIndex (const ACEXML_Char *uri, const ACEXML_Char *localPart)=0
virtual size_t getLength (void)=0
virtual const ACEXML_ChargetLocalName (size_t index)=0
virtual const ACEXML_ChargetQName (size_t index)=0
virtual const ACEXML_ChargetType (size_t index)=0
virtual const ACEXML_ChargetType (const ACEXML_Char *qName)=0
virtual const ACEXML_ChargetType (const ACEXML_Char *uri, const ACEXML_Char *localPart)=0
virtual const ACEXML_ChargetURI (size_t index)=0
virtual const ACEXML_ChargetValue (size_t index)=0
virtual const ACEXML_ChargetValue (const ACEXML_Char *qName)=0
virtual const ACEXML_ChargetValue (const ACEXML_Char *uri, const ACEXML_Char *localPart)=0

Detailed Description

ACEXML_Attributes defines a collection of attributes of an XML element.

This is an abstract class (interface in Java) that defines the API for accessing attributes of an XML entity.

This interface allows access to a list of attributes in three different ways:

The list will not contain attributes that were declared IMPLIED but not specified in the start tag. It will also not contain attributes used as Namespace declarations (xmlns*) unless the http://xml.org/sax/features/namespace-prefixes feature is set to true (it is false by default).

If the namespace-prefixes feature (see above) is false, access by qualified name may not be available; if the http://xml.org/sax/features/namespaces feature is false, access by Namespace-qualified names may not be available.

This interface replaces the now-deprecated SAX1 AttributeList interface, which does not contain Namespace support. In addition to Namespace support, it adds the getIndex methods (below).

The order of attributes in the list is unspecified, and will vary from implementation to implementation.

Definition at line 57 of file Attributes.h.


Member Function Documentation

virtual int ACEXML_Attributes::getIndex const ACEXML_Char   uri,
const ACEXML_Char   localPart
[pure virtual]
 

Look up the index of an attribute by Namespace name.

Implemented in ACEXML_AttributesImpl.

virtual int ACEXML_Attributes::getIndex const ACEXML_Char   qName [pure virtual]
 

Look up the index of an attribute by XML 1.0 qualified name.

Implemented in ACEXML_AttributesImpl.

virtual size_t ACEXML_Attributes::getLength void    [pure virtual]
 

Return the number of attributes in the list.

Implemented in ACEXML_AttributesImpl.

virtual const ACEXML_Char* ACEXML_Attributes::getLocalName size_t    index [pure virtual]
 

Look up an attribute's local name by index.

Implemented in ACEXML_AttributesImpl.

virtual const ACEXML_Char* ACEXML_Attributes::getQName size_t    index [pure virtual]
 

Look up an attribute's XML 1.0 qualified name by index.

Implemented in ACEXML_AttributesImpl.

virtual const ACEXML_Char* ACEXML_Attributes::getType const ACEXML_Char   uri,
const ACEXML_Char   localPart
[pure virtual]
 

Look up an attribute's type by Namespace name.

Implemented in ACEXML_AttributesImpl.

virtual const ACEXML_Char* ACEXML_Attributes::getType const ACEXML_Char   qName [pure virtual]
 

Look up an attribute's type by XML 1.0 qualified name.

Implemented in ACEXML_AttributesImpl.

virtual const ACEXML_Char* ACEXML_Attributes::getType size_t    index [pure virtual]
 

Look up an attribute's type by index.

Implemented in ACEXML_AttributesImpl.

virtual const ACEXML_Char* ACEXML_Attributes::getURI size_t    index [pure virtual]
 

Look up an attribute's Namespace URI by index.

Implemented in ACEXML_AttributesImpl.

virtual const ACEXML_Char* ACEXML_Attributes::getValue const ACEXML_Char   uri,
const ACEXML_Char   localPart
[pure virtual]
 

Look up an attribute's value by Namespace name.

Implemented in ACEXML_AttributesImpl.

virtual const ACEXML_Char* ACEXML_Attributes::getValue const ACEXML_Char   qName [pure virtual]
 

Look up an attribute's value by XML 1.0 qualified name.

Implemented in ACEXML_AttributesImpl.

virtual const ACEXML_Char* ACEXML_Attributes::getValue size_t    index [pure virtual]
 

Look up an attribute's value by index.

Implemented in ACEXML_AttributesImpl.


The documentation for this class was generated from the following file:
Generated on Mon Jun 16 13:26:31 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002