#include <qgarlib/sax/Attributes.H>
Inheritance diagram for qgxml::Attributes:

This interface allows access to a list of attributes in three different ways:
This class is an adaptation for C++ of the interface of the same name implemented in the Java SAX API (http://www.saxproject.org).
Definition at line 69 of file Attributes.H.
Public Member Functions | |
Destructor | |
| virtual | ~Attributes () |
| Destructor. | |
Access | |
| virtual int | getIndex (const std::string &qName) const =0 |
| Look up the index of an attribute by XML 1.0 qualified name. | |
| virtual int | getIndex (const std::string &uri, const std::string &localName) const =0 |
| Look up the index of an attribute by Namespace name. | |
| virtual int | getLength () const =0 |
| Return the number of attributes in the list. | |
| virtual std::string | getLocalName (int index) const =0 |
| Look up an attribute's local name by index. | |
| virtual std::string | getQName (int index) const =0 |
| Look up an attribute's XML 1.0 qualified name by index. | |
| virtual std::string | getType (int index) const =0 |
| Look up an attribute's type by index. | |
| virtual std::string | getType (const std::string &qName) const =0 |
| Look up an attribute's type by XML 1.0 qualified name. | |
| virtual std::string | getType (const std::string &uri, const std::string &localName) const =0 |
| Look up an attribute's type by Namespace name. | |
| virtual std::string | getURI (int index) const =0 |
| Look up an attribute's Namespace URI by index. | |
| virtual std::string | getValue (int index) const =0 |
| Look up an attribute's value by index. | |
| virtual std::string | getValue (const std::string &qName) const =0 |
| Look up an attribute's value by XML 1.0 qualified name. | |
| virtual std::string | getValue (const std::string &uri, const std::string &localName) const =0 |
| Look up an attribute's value by Namespace name. | |
|
|
Destructor.
Definition at line 83 of file Attributes.H. |
|
||||||||||||
|
Look up the index of an attribute by Namespace name.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. |
|
|
Look up the index of an attribute by XML 1.0 qualified name.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. |
|
|
Return the number of attributes in the list. Once you know the number of attributes, you can iterate through the list.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. Referenced by qgar::QgarAppDescr::startParam(). |
|
|
Look up an attribute's local name by index.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. Referenced by qgar::QgarAppDescr::startParam(). |
|
|
Look up an attribute's XML 1.0 qualified name by index.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. |
|
||||||||||||
|
Look up an attribute's type by Namespace name.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. |
|
|
Look up an attribute's type by XML 1.0 qualified name.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. |
|
|
Look up an attribute's type by index.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. |
|
|
Look up an attribute's Namespace URI by index.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. |
|
||||||||||||
|
Look up an attribute's value by Namespace name.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. |
|
|
Look up an attribute's value by XML 1.0 qualified name.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. |
|
|
Look up an attribute's value by index.
Implemented in qgxml::QtAttributesAdaptor, and qgxml::XercesAttributesAdaptor. Referenced by qgar::QgarAppDescr::startParam(). |