7 #ifndef __DOMPARSERCOMMON_H__
8 #define __DOMPARSERCOMMON_H__
14 #include <xercesc/parsers/XercesDOMParser.hpp>
15 #include <xercesc/dom/DOM.hpp>
29 XERCES_CPP_NAMESPACE_USE
65 DOMNode *
parse(
const string &xml_payload);
93 IpRange fill_ipRange(DOMNode *n);
99 ReverseDns fill_reverseDns(DOMNode *n);
106 void fill_reverse_ds_info(DOMNode *n,
ReverseDSInfo &ds_info);
107 #endif // USE_IP_MANAGEMENT
114 IpRange fill_brorg_ipRange(DOMNode *n);
139 #endif //__DOMPARSERCOMMON_H__
XercesDOMParser * _parser
Object for parsing XML documents.
Definition: DomParserCommon.H:132
void enable_validation(const string &schemas_dir=SCHEMASDIR)
Enable Validation.
EPP DomErrorHandler Class.
EPP/DNSSEC DS information class for reverse DNS.
PostalInfo class.
Definition: CommonData.H:281
EPP DomParser Class.
Definition: DomParserCommon.H:34
Describes IpRange structure.
Definition: CommonData.H:192
void disable_validation()
Disable Validation.
DSInfo Class.
Definition: DSInfo.H:16
void fill_key_data(DOMNode *n, KeyData *keyData)
Fills a KeyData object.
DomErrorHandler _error_handler
DOM error handler.
Definition: DomParserCommon.H:135
void fill_postal_info(DOMNode *n, PostalInfo *postal_info)
Fills a Postal Info struct.
map< string, string, less< string > > get_attributes(DOMNode *n)
Fills a map of attributes and associated values.
map< string, string, less< string > > get_children_simple(DOMNode *n)
Fills a map of children names with associated content text.
void fill_ds_info(DOMNode *n, DSInfo *ds_info)
Fills a DSInfo object.
EPP/DNSSEC DS information class.
EPP DomErrorHandler Class.
Definition: DomErrorHandler.H:20
DomParserCommon()
Constructor.
static string str_transcode(const XMLCh *const to_transcode)
Transcodes a XMLCh to string.
Reverse DSInfo Class.
Definition: ReverseDSInfo.H:16
~DomParserCommon()
Destructor.
DOMNode * parse(const string &xml_payload)
Do the actual parsing of the XML document.