#include <DomParserCommon.H>
Inheritance diagram for DomParserCommon:
Public Member Functions | |
DomParserCommon () | |
Constructor. | |
~DomParserCommon () | |
Destructor. | |
void | enable_validation (const string &schemas_dir=SCHEMASDIR) |
Enable Validation. | |
void | disable_validation () |
Disable Validation. | |
Static Public Member Functions | |
static string | str_transcode (const XMLCh *const to_transcode) |
Transcodes a XMLCh to string. | |
Protected Member Functions | |
DOMNode * | parse (const string &xml_payload) |
Do the actual parsing of the XML document. | |
void | fill_postal_info (DOMNode *n, PostalInfo *postal_info) |
Fills a Postal Info struct. | |
map< string, string, less< string > > | get_children_simple (DOMNode *n) |
Fills a map of children names with associated content text. | |
map< string, string, less< string > > | get_attributes (DOMNode *n) |
Fills a map of attributes and associated values. | |
Protected Attributes | |
DOMBuilder * | _builder |
Object for parsing XML documents. | |
DomErrorHandler | _error_handler |
DOM error handler. |
|
Enable Validation.
|
|
Fills a Postal Info struct.
|
|
Fills a map of attributes and associated values.
|
|
Fills a map of children names with associated content text.
|
|
Do the actual parsing of the XML document.
|
|
Transcodes a XMLCh to string.
|