EPP DomParser Class.
More...
#include <DomParserCommon.H>
void DomParserCommon::enable_validation |
( |
const string & |
schemas_dir = SCHEMASDIR | ) |
|
Enable Validation.
- Parameters
-
schemas_dir | Path to the schemas directory |
void DomParserCommon::fill_ds_info |
( |
DOMNode * |
n, |
|
|
DSInfo * |
ds_info |
|
) |
| |
|
protected |
Fills a DSInfo object.
- Parameters
-
n | reference to a node of the document tree |
ds_info | reference to a DSInfo object |
void DomParserCommon::fill_key_data |
( |
DOMNode * |
n, |
|
|
KeyData * |
keyData |
|
) |
| |
|
protected |
Fills a KeyData object.
- Parameters
-
n | reference to a node of the document tree |
keyData | reference to a KeyData object |
void DomParserCommon::fill_postal_info |
( |
DOMNode * |
n, |
|
|
PostalInfo * |
postal_info |
|
) |
| |
|
protected |
Fills a Postal Info struct.
- Parameters
-
n | Pointer to a node of the document tree |
postal_info | Pointer to a postal info struct |
map< string, string, less<string> > DomParserCommon::get_attributes |
( |
DOMNode * |
n | ) |
|
|
protected |
Fills a map of attributes and associated values.
- Parameters
-
n | Pointer to a node of the document tree |
- Returns
- map of attributes and associated values
map< string, string, less<string> > DomParserCommon::get_children_simple |
( |
DOMNode * |
n | ) |
|
|
protected |
Fills a map of children names with associated content text.
- Parameters
-
n | Pointer to a node of the document tree |
- Returns
- map of children names with associated content text
DOMNode* DomParserCommon::parse |
( |
const string & |
xml_payload | ) |
|
|
protected |
Do the actual parsing of the XML document.
- Parameters
-
xml_payload | XML to be parsed |
- Returns
- Pointer to the root of the document tree
static string DomParserCommon::str_transcode |
( |
const XMLCh *const |
to_transcode | ) |
|
|
static |
Transcodes a XMLCh to string.
- Parameters
-
to_transcode | String to be transcoded |
- Returns
- Transcoded string
The documentation for this class was generated from the following file: