#include <DomParser.H>
Public Member Functions | |
void | parse_command (const string &xml_payload) |
Parse method to be used by the Unit Test to validate commands. | |
void | parse_login_rsp (const string &xml_payload, Response *rsp) |
Parse the response to a login command. | |
void | parse_logout_rsp (const string &xml_payload, Response *rsp) |
Parse the response to a logout command. | |
void | parse_greeting (const string &xml_payload, Greeting *greeting) |
Parse the response to a connect or hello command. | |
void | parse_contact_check_rsp (const string &xml_payload, ContactCheckRsp *rsp) |
Parse the response to a contact check command. | |
void | parse_contact_create_rsp (const string &xml_payload, ContactCreateRsp *rsp) |
Parse the response to a contact create command. | |
void | parse_contact_info_rsp (const string &xml_payload, ContactInfoRsp *rsp) |
Parse the response to a contact info command. | |
void | parse_contact_transfer_rsp (const string &xml_payload, ContactTransferRsp *rsp) |
Parse the response to a contact transfer command. | |
void | parse_contact_update_rsp (const string &xml_payload, Response *rsp) |
Parse the response to a contact update command. | |
void | parse_domain_check_rsp (const string &xml_payload, DomainCheckRsp *rsp) |
Parse the response to a domain check command. | |
void | parse_domain_create_rsp (const string &xml_payload, DomainCreateRsp *rsp) |
Parse the response to a domain create command. | |
void | parse_domain_info_rsp (const string &xml_payload, DomainInfoRsp *rsp) |
Parse the response to a domain info command. | |
void | parse_domain_transfer_rsp (const string &xml_payload, DomainTransferRsp *rsp) |
Parse the response to a domain transfer command. | |
void | parse_domain_renew_rsp (const string &xml_payload, DomainRenewRsp *rsp) |
Parse the response to a domain renew command. | |
void | parse_domain_update_rsp (const string &xml_payload, Response *rsp) |
Parse the response to a domain update command. | |
void | parse_domain_delete_rsp (const string &xml_payload, Response *rsp) |
Parse the response to a domain delete command. | |
void | parse_poll_rsp (const string &xml_payload, PollRsp *rsp) |
Parse the response to a poll command. | |
Protected Member Functions | |
void | parse_response (const string &xml_payload, Response *rsp) |
Parse the response. | |
void | get_extValue_info (DOMNode *n, string &value, string &xmlns, string &reason) |
Gets data from an extValue element. | |
void | fill_result (DOMNode *n, Response *rsp) |
Fills a result part of a Response object. | |
void | fill_response (DOMNode *n, Response *rsp) |
Fills a Response object. | |
void | fill_greeting (DOMNode *n, Greeting *greeting) |
Fills a Greeting object. | |
void | fill_contact_check_rsp (DOMNode *n, ContactCheckRsp *rsp) |
Fills a Contact check response object. | |
void | fill_contact_info_rsp (DOMNode *n, ContactInfoRsp *rsp) |
Fills a Contact info response object. | |
void | fill_contact_transfer_rsp (DOMNode *n, ContactTransferRsp *rsp) |
Fills a Contact transfer response object. | |
void | fill_contact_create_rsp (DOMNode *n, ContactCreateRsp *rsp) |
Fills a Contact create response object. | |
void | fill_contact_pandata_rsp (DOMNode *n, PanDataRsp *rsp) |
Fills a Contact PanData response object. | |
void | fill_domain_check_rsp (DOMNode *n, DomainCheckRsp *rsp) |
Fills a Domain check response object. | |
void | fill_domain_info_rsp (DOMNode *n, DomainInfoRsp *rsp) |
Fills a Domain info response object. | |
void | fill_domain_transfer_rsp (DOMNode *n, DomainTransferRsp *rsp) |
Fills a Domain transfer response object. | |
void | fill_domain_create_rsp (DOMNode *n, DomainCreateRsp *rsp) |
Fills a Domain create response object. | |
void | fill_domain_renew_rsp (DOMNode *n, DomainRenewRsp *rsp) |
Fills a Domain renew response object. | |
void | fill_domain_pandata_rsp (DOMNode *n, PanDataRsp *rsp) |
Fills a Domain PanData response object. | |
void | fill_poll_rsp (DOMNode *n, PollRsp *poll_rsp) |
Fills a Poll response object. |
EPP DomParser Class.
void DomParser::fill_contact_check_rsp | ( | DOMNode * | n, | |
ContactCheckRsp * | rsp | |||
) | [protected] |
Fills a Contact check response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a contact check response |
void DomParser::fill_contact_create_rsp | ( | DOMNode * | n, | |
ContactCreateRsp * | rsp | |||
) | [protected] |
Fills a Contact create response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a contact create response |
void DomParser::fill_contact_info_rsp | ( | DOMNode * | n, | |
ContactInfoRsp * | rsp | |||
) | [protected] |
Fills a Contact info response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a contact info response |
void DomParser::fill_contact_pandata_rsp | ( | DOMNode * | n, | |
PanDataRsp * | rsp | |||
) | [protected] |
Fills a Contact PanData response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a PanData response |
void DomParser::fill_contact_transfer_rsp | ( | DOMNode * | n, | |
ContactTransferRsp * | rsp | |||
) | [protected] |
Fills a Contact transfer response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a contact transfer response |
void DomParser::fill_domain_check_rsp | ( | DOMNode * | n, | |
DomainCheckRsp * | rsp | |||
) | [protected] |
Fills a Domain check response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a domain check response |
void DomParser::fill_domain_create_rsp | ( | DOMNode * | n, | |
DomainCreateRsp * | rsp | |||
) | [protected] |
Fills a Domain create response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a domain create response |
void DomParser::fill_domain_info_rsp | ( | DOMNode * | n, | |
DomainInfoRsp * | rsp | |||
) | [protected] |
Fills a Domain info response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a domain info response |
void DomParser::fill_domain_pandata_rsp | ( | DOMNode * | n, | |
PanDataRsp * | rsp | |||
) | [protected] |
Fills a Domain PanData response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a PanData response |
void DomParser::fill_domain_renew_rsp | ( | DOMNode * | n, | |
DomainRenewRsp * | rsp | |||
) | [protected] |
Fills a Domain renew response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a domain renew response |
void DomParser::fill_domain_transfer_rsp | ( | DOMNode * | n, | |
DomainTransferRsp * | rsp | |||
) | [protected] |
Fills a Domain transfer response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a domain transfer response |
void DomParser::fill_greeting | ( | DOMNode * | n, | |
Greeting * | greeting | |||
) | [protected] |
Fills a Greeting object.
n | Pointer to a node of the document tree | |
greeting | Pointer to a greeting object |
void DomParser::fill_poll_rsp | ( | DOMNode * | n, | |
PollRsp * | poll_rsp | |||
) | [protected] |
Fills a Poll response object.
n | Pointer to a node of the document tree | |
poll_rsp | Pointer to a poll response |
void DomParser::fill_response | ( | DOMNode * | n, | |
Response * | rsp | |||
) | [protected] |
void DomParser::fill_result | ( | DOMNode * | n, | |
Response * | rsp | |||
) | [protected] |
void DomParser::get_extValue_info | ( | DOMNode * | n, | |
string & | value, | |||
string & | xmlns, | |||
string & | reason | |||
) | [protected] |
Gets data from an extValue element.
n | Pointer to a node of the document tree | |
value | value sub-element of extValue | |
xmlns | value sub-element's attribute | |
reason | reason sub-element of extValue |
void DomParser::parse_command | ( | const string & | xml_payload | ) |
Parse method to be used by the Unit Test to validate commands.
xml_payload | Command (in XML format) to be validated |
void DomParser::parse_contact_check_rsp | ( | const string & | xml_payload, | |
ContactCheckRsp * | rsp | |||
) |
Parse the response to a contact check command.
xml_payload | XML to be parsed | |
rsp | Pointer to a contact check response |
Referenced by ContactCheck::set_response().
void DomParser::parse_contact_create_rsp | ( | const string & | xml_payload, | |
ContactCreateRsp * | rsp | |||
) |
Parse the response to a contact create command.
xml_payload | XML to be parsed | |
rsp | Pointer to a contact create response |
Referenced by ContactCreate::set_response().
void DomParser::parse_contact_info_rsp | ( | const string & | xml_payload, | |
ContactInfoRsp * | rsp | |||
) |
Parse the response to a contact info command.
xml_payload | XML to be parsed | |
rsp | Pointer to a contact info response |
Referenced by ContactInfo::set_response().
void DomParser::parse_contact_transfer_rsp | ( | const string & | xml_payload, | |
ContactTransferRsp * | rsp | |||
) |
Parse the response to a contact transfer command.
xml_payload | XML to be parsed | |
rsp | Pointer to a contact transfer response |
Referenced by ContactTransfer::set_response().
void DomParser::parse_contact_update_rsp | ( | const string & | xml_payload, | |
Response * | rsp | |||
) |
Parse the response to a contact update command.
xml_payload | XML to be parsed | |
rsp | Pointer to a response |
Referenced by ContactUpdate::set_response().
void DomParser::parse_domain_check_rsp | ( | const string & | xml_payload, | |
DomainCheckRsp * | rsp | |||
) |
Parse the response to a domain check command.
xml_payload | XML to be parsed | |
rsp | Pointer to a domain check response |
Referenced by DomainCheck::set_response().
void DomParser::parse_domain_create_rsp | ( | const string & | xml_payload, | |
DomainCreateRsp * | rsp | |||
) |
Parse the response to a domain create command.
xml_payload | XML to be parsed | |
rsp | Pointer to a domain create response |
Referenced by DomainCreate::set_response().
void DomParser::parse_domain_delete_rsp | ( | const string & | xml_payload, | |
Response * | rsp | |||
) |
Parse the response to a domain delete command.
xml_payload | XML to be parsed | |
rsp | Pointer to a response |
Referenced by DomainDelete::set_response().
void DomParser::parse_domain_info_rsp | ( | const string & | xml_payload, | |
DomainInfoRsp * | rsp | |||
) |
Parse the response to a domain info command.
xml_payload | XML to be parsed | |
rsp | Pointer to a domain info response |
Referenced by DomainInfo::set_response().
void DomParser::parse_domain_renew_rsp | ( | const string & | xml_payload, | |
DomainRenewRsp * | rsp | |||
) |
Parse the response to a domain renew command.
xml_payload | XML to be parsed | |
rsp | Pointer to a domain renew response |
Referenced by DomainRenew::set_response().
void DomParser::parse_domain_transfer_rsp | ( | const string & | xml_payload, | |
DomainTransferRsp * | rsp | |||
) |
Parse the response to a domain transfer command.
xml_payload | XML to be parsed | |
rsp | Pointer to a domain transfer response |
Referenced by DomainTransfer::set_response().
void DomParser::parse_domain_update_rsp | ( | const string & | xml_payload, | |
Response * | rsp | |||
) |
Parse the response to a domain update command.
xml_payload | XML to be parsed | |
rsp | Pointer to a response |
Referenced by DomainUpdate::set_response().
void DomParser::parse_greeting | ( | const string & | xml_payload, | |
Greeting * | greeting | |||
) |
Parse the response to a connect or hello command.
xml_payload | XML to be parsed | |
greeting | Pointer to a greeting response |
void DomParser::parse_login_rsp | ( | const string & | xml_payload, | |
Response * | rsp | |||
) |
Parse the response to a login command.
xml_payload | XML to be parsed | |
rsp | Pointer to a response |
Referenced by Login::set_response().
void DomParser::parse_logout_rsp | ( | const string & | xml_payload, | |
Response * | rsp | |||
) |
Parse the response to a logout command.
xml_payload | XML to be parsed | |
rsp | Pointer to a response |
Referenced by Logout::set_response().
void DomParser::parse_poll_rsp | ( | const string & | xml_payload, | |
PollRsp * | rsp | |||
) |
Parse the response to a poll command.
xml_payload | XML to be parsed | |
rsp | Pointer to a poll response |
Referenced by Poll::set_response().
void DomParser::parse_response | ( | const string & | xml_payload, | |
Response * | rsp | |||
) | [protected] |
Parse the response.
xml_payload | XML to be parsed | |
rsp | Pointer to a response |