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_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_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.


Detailed Description

EPP DomParser Class.

Member Function Documentation

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

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.

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

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

Referenced by ContactInfo::set_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

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.

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

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

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

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

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

Referenced by DomainRenew::set_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

Referenced by DomainUpdate::set_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

Referenced by Login::set_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

Referenced by Logout::set_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

Referenced by Poll::set_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 Thu Jan 21 14:44:04 2010 for libepp_nicbr by  doxygen 1.5.9