|
bes
Updated for version 3.20.5
|

Public Types | |
| typedef vector< XMLAttribute >::const_iterator | const_iterator |
| typedef vector< XMLAttribute >::iterator | iterator |
Public Member Functions | |
| void | addAttribute (const XMLAttribute &attribute) |
| XMLAttributeMap::const_iterator | begin () const |
| void | clear () |
| bool | empty () const |
| XMLAttributeMap::const_iterator | end () const |
| string | getAllAttributesAsString () const |
| const XMLAttribute * | getAttributeByLocalName (const string &localname) const |
| const XMLAttribute * | getAttributeByQName (const string &qname) const |
| const XMLAttribute * | getAttributeByQName (const string &prefix, const string &localname) const |
| const string | getValueForLocalNameOrDefault (const string &localname, const string &defVal="") const |
Definition at line 96 of file XMLHelpers.h.
| void ncml_module::XMLAttributeMap::addAttribute | ( | const XMLAttribute & | attribute | ) |
TODO how do we tell if this exists? Does it replace? Do we care?
Definition at line 165 of file XMLHelpers.cc.
| void ncml_module::XMLAttributeMap::clear | ( | ) |
make empty
Definition at line 159 of file XMLHelpers.cc.
| string ncml_module::XMLAttributeMap::getAllAttributesAsString | ( | ) | const |
The classic {prefix:}foo="value" whitespace separated
Definition at line 226 of file XMLHelpers.cc.
| const XMLAttribute * ncml_module::XMLAttributeMap::getAttributeByLocalName | ( | const string & | localname | ) | const |
These return null if the attribute was not found
Definition at line 192 of file XMLHelpers.cc.
| const string ncml_module::XMLAttributeMap::getValueForLocalNameOrDefault | ( | const string & | localname, |
| const string & | defVal = "" |
||
| ) | const |
If there is an attribute with localname, return its value, else return default.
Definition at line 179 of file XMLHelpers.cc.