DomParser Class Reference

EPP DomParser Class. More...

#include <DomParser.H>

Inheritance diagram for DomParser:

DomParserCommon List of all members.

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.

Detailed Description

EPP DomParser Class.


Member Function Documentation

void DomParser::fill_brdomain_check_rsp ( DOMNode *  n,
BrDomainCheckRsp rsp 
) [protected]

Fills a BrDomain check response object.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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]

Fills a Response object.

Parameters:
n Pointer to a node of the document tree
rsp Pointer to a Response object

void DomParser::fill_result ( DOMNode *  n,
Response rsp 
) [protected]

Fills a result part of a Response object.

Parameters:
n Pointer to a node of the document tree
rsp Pointer to a Response object

void DomParser::get_extValue_info ( DOMNode *  n,
string &  value,
string &  xmlns,
string &  reason 
) [protected]

Gets data from an extValue element.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
xml_payload XML to be parsed
rsp Pointer to a response


The documentation for this class was generated from the following file:
Generated on Tue Mar 20 13:02:18 2007 for libepp_nicbr by  doxygen 1.4.7