#include <DomParser.H>
Inheritance diagram for DomParser:
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_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_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_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_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_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. | |
void | fill_brorg_info_rsp (DOMNode *n, BrOrgInfoRsp *rsp) |
Fills a BrOrg Info response object. | |
void | fill_brorg_check_rsp (DOMNode *n, BrOrgCheckRsp *rsp) |
Fills a BrOrg Check response object. | |
void | fill_brorg_pandata_rsp (DOMNode *n, BrOrgPanDataRsp *rsp) |
Fills a BrOrg PanData response object. | |
void | fill_brdomain_check_rsp (DOMNode *n, BrDomainCheckRsp *rsp) |
Fills a BrDomain check response object. | |
void | fill_brdomain_info_rsp (DOMNode *n, BrDomainInfoRsp *rsp) |
Fills a BrDomain info response object. | |
void | fill_brdomain_create_rsp (DOMNode *n, BrDomainCreateRsp *rsp) |
Fills a BrDomain create response object. | |
void | fill_brdomain_renew_rsp (DOMNode *n, BrDomainRenewRsp *rsp) |
Fills a BrDomain renew response object. | |
void | fill_brdomain_update_rsp (DOMNode *n, BrDomainUpdateRsp *rsp) |
Fills a BrDomain update response object. | |
void | fill_brdomain_pandata_rsp (DOMNode *n, BrDomainPanDataRsp *rsp) |
Fills a BrDomain PanData response object. |
void DomParser::fill_brdomain_check_rsp | ( | DOMNode * | n, | |
BrDomainCheckRsp * | rsp | |||
) | [protected] |
Fills a BrDomain check response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a BrDomain check response |
void DomParser::fill_brdomain_create_rsp | ( | DOMNode * | n, | |
BrDomainCreateRsp * | rsp | |||
) | [protected] |
Fills a BrDomain create response object.
n | Pointer to a node of the document tree | |
d_rsp | Pointer to a BrDomain create response |
void DomParser::fill_brdomain_info_rsp | ( | DOMNode * | n, | |
BrDomainInfoRsp * | rsp | |||
) | [protected] |
Fills a BrDomain info response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a domain info response |
void DomParser::fill_brdomain_pandata_rsp | ( | DOMNode * | n, | |
BrDomainPanDataRsp * | rsp | |||
) | [protected] |
Fills a BrDomain PanData response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a BrDomainPanData response |
void DomParser::fill_brdomain_renew_rsp | ( | DOMNode * | n, | |
BrDomainRenewRsp * | rsp | |||
) | [protected] |
Fills a BrDomain renew response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a domain renew response |
void DomParser::fill_brdomain_update_rsp | ( | DOMNode * | n, | |
BrDomainUpdateRsp * | rsp | |||
) | [protected] |
Fills a BrDomain update response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a BrDomain update response |
void DomParser::fill_brorg_check_rsp | ( | DOMNode * | n, | |
BrOrgCheckRsp * | rsp | |||
) | [protected] |
Fills a BrOrg Check response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a BrOrg Check response |
void DomParser::fill_brorg_info_rsp | ( | DOMNode * | n, | |
BrOrgInfoRsp * | rsp | |||
) | [protected] |
Fills a BrOrg Info response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a BrOrg Info response |
void DomParser::fill_brorg_pandata_rsp | ( | DOMNode * | n, | |
BrOrgPanDataRsp * | rsp | |||
) | [protected] |
Fills a BrOrg PanData response object.
n | Pointer to a node of the document tree | |
rsp | Pointer to a BrOrgPanData response |
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_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_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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |