include/DomParser.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: DomParser.H 563 2006-03-10 17:23:49Z cesar $ */
00007 #ifndef __DOMPARSER_H__
00008 #define __DOMPARSER_H__
00009 
00010 #include "DomParserCommon.H"
00011 
00012 #include "Response.H"
00013 #include "Greeting.H"
00014 #include "ContactCheckRsp.H"
00015 #include "ContactCreateRsp.H"
00016 #include "ContactInfoRsp.H"
00017 #include "DomainCheckRsp.H"
00018 #include "DomainCreateRsp.H"
00019 #include "DomainInfoRsp.H"
00020 #include "DomainRenewRsp.H"
00021 #include "PollRsp.H"
00022 #include "BrDomainCheckRsp.H"
00023 #include "BrDomainInfoRsp.H"
00024 #include "BrDomainCreateRsp.H"
00025 #include "BrDomainUpdateRsp.H"
00026 #include "BrOrgInfoRsp.H"
00027 #include "PanDataRsp.H"
00028 #include "BrOrgPanDataRsp.H"
00029 
00030 LIBEPP_NICBR_NS_BEGIN
00031 
00033 class DomParser : public DomParserCommon
00034 {
00035 public:
00037 
00040   void parse_command(const string &xml_payload);
00041 
00043 
00047   void parse_login_rsp(const string &xml_payload, Response *rsp);
00048 
00050 
00054   void parse_logout_rsp(const string &xml_payload, Response *rsp);
00055 
00057 
00061   void parse_greeting(const string &xml_payload, Greeting *greeting);
00062 
00064 
00068   void parse_contact_check_rsp(const string &xml_payload,
00069                                ContactCheckRsp *rsp);
00070 
00072 
00076   void parse_contact_create_rsp(const string &xml_payload, 
00077                                 ContactCreateRsp *rsp);
00078 
00080 
00084   void parse_contact_info_rsp(const string &xml_payload, ContactInfoRsp *rsp);
00085 
00087 
00091   void parse_contact_update_rsp(const string &xml_payload, Response *rsp);
00092 
00094 
00098   void parse_domain_check_rsp(const string &xml_payload, DomainCheckRsp *rsp);
00099 
00101 
00105   void parse_domain_create_rsp(const string &xml_payload,
00106                                DomainCreateRsp *rsp);
00107 
00109 
00113   void parse_domain_info_rsp(const string &xml_payload, DomainInfoRsp *rsp);
00114 
00116 
00120   void parse_domain_renew_rsp(const string &xml_payload, DomainRenewRsp *rsp);
00121 
00123 
00127   void parse_domain_update_rsp(const string &xml_payload, Response *rsp);
00128 
00130 
00134   void parse_poll_rsp(const string &xml_payload, PollRsp *rsp);
00135 
00136 protected:
00138 
00142   void parse_response(const string &xml_payload, Response *rsp);
00143 
00145 
00149   void fill_response(DOMNode *n, Response *rsp);
00150 
00152 
00156   void fill_brdomain_update_rsp(DOMNode *n, BrDomainUpdateRsp *rsp);
00157 
00159 
00163   void fill_greeting(DOMNode *n, Greeting *greeting);
00164 
00166 
00170   void fill_contact_check_rsp(DOMNode *n, ContactCheckRsp *rsp);
00171 
00173 
00177   void fill_contact_create_rsp(DOMNode *n, ContactCreateRsp *rsp);
00178 
00180 
00184   void fill_contact_info_rsp(DOMNode *n, ContactInfoRsp *rsp);
00185 
00187 
00191   void fill_domain_check_rsp(DOMNode *n, DomainCheckRsp *rsp);
00192 
00194 
00198   void fill_domain_create_rsp(DOMNode *n, DomainCreateRsp *rsp);
00199 
00201 
00205   void fill_domain_info_rsp(DOMNode *n, DomainInfoRsp *rsp);
00206 
00208 
00212   void fill_domain_renew_rsp(DOMNode *n, DomainRenewRsp *rsp);
00213 
00215 
00219   void fill_poll_rsp(DOMNode *n, PollRsp *poll_rsp);  
00220 
00222 
00226   void fill_brdomain_check_rsp(DOMNode *n, BrDomainCheckRsp *rsp);
00227   
00229 
00233   void fill_brdomain_info_rsp(DOMNode *n, BrDomainInfoRsp *rsp);
00234   
00236 
00240   void fill_brdomain_create_rsp(DOMNode *n, BrDomainCreateRsp *rsp);
00241     
00243 
00247   void fill_brorg_info_rsp(DOMNode *n, BrOrgInfoRsp *rsp);
00248 
00250 
00254   void fill_domain_pandata_rsp(DOMNode *n, PanDataRsp *rsp);
00255   
00257 
00261   void fill_contact_pandata_rsp(DOMNode *n, PanDataRsp *rsp);
00262 
00264 
00268   void fill_brorg_pandata_rsp(DOMNode *n, BrOrgPanDataRsp *rsp);
00269 
00270 };
00271 
00272 LIBEPP_NICBR_NS_END
00273 #endif //__DOMPARSER_H__

Generated on Wed Mar 22 14:18:27 2006 for libepp_nicbr by  doxygen 1.4.6