#include <AttributesImpl.h>
Inheritance diagram for org::xml::sax::helpers::AttributesImpl:
Public Member Functions | |
AttributesImpl () | |
AttributesImpl (IN(RAttributes) atts) | |
virtual int | getLength () |
Return the number of attributes in the list. | |
virtual RString | getURI (int index) |
Look up an attribute's Namespace URI by index. | |
virtual RString | getLocalName (int index) |
Look up an attribute's local name by index. | |
virtual RString | getQName (int index) |
Look up an attribute's XML 1.0 qualified name by index. | |
virtual RString | getType (int index) |
Look up an attribute's type by index. | |
virtual RString | getValue (int index) |
Look up an attribute's value by index. | |
virtual int | getIndex (IN(RString) uri, IN(RString) localName) |
virtual int | getIndex (IN(RString) qName) |
virtual RString | getType (IN(RString) uri, IN(RString) localName) |
virtual RString | getType (IN(RString) qName) |
virtual RString | getValue (IN(RString) uri, IN(RString) localName) |
virtual RString | getValue (IN(RString) qName) |
virtual void | clear () |
virtual void | setAttributes (IN(RAttributes) atts) |
virtual void | addAttribute (IN(RString) uri, IN(RString) localName, IN(RString) qName, IN(RString) type, IN(RString) value) |
virtual void | setAttribute (int index, IN(RString) uri, IN(RString) localName, IN(RString) qName, IN(RString) type, IN(RString) value) |
virtual void | removeAttribute (int index) |
virtual void | setURI (int index, IN(RString) uri) |
virtual void | setLocalName (int index, IN(RString) localName) |
virtual void | setQName (int index, IN(RString) qName) |
virtual void | setType (int index, IN(RString) type) |
virtual void | setValue (int index, IN(RString) value) |
Private Member Functions | |
void | _ensureCapacity (int n) |
void | badIndex (int index) |
Private Attributes | |
int | _length |
RStringArray | _data |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return the number of attributes in the list. Once you know the number of attributes, you can iterate through the list.
Implements org::xml::sax::Attributes. |
|
Look up an attribute's local name by index.
Implements org::xml::sax::Attributes. |
|
Look up an attribute's XML 1.0 qualified name by index.
Implements org::xml::sax::Attributes. |
|
|
|
|
|
Look up an attribute's type by index. The attribute type is one of the strings CDATA, ID, IDREF, IDREFS, NMTOKEN, NMTOKENS, ENTITY, ENTITIES, or NOTATION (always in upper case). If the parser has not read a declaration for the attribute, or if the parser does not report attribute types, then it must return the value CDATA as stated in the XML 1.0 Recommentation (clause 3.3.3, Attribute-Value Normalization). For an enumerated attribute that is not a notation, the parser will report the type as NMTOKEN.
Implements org::xml::sax::Attributes. |
|
Look up an attribute's Namespace URI by index.
Implements org::xml::sax::Attributes. |
|
|
|
|
|
Look up an attribute's value by index. 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.
Implements org::xml::sax::Attributes. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|