diff --git a/ACTK1_0/lib/libACTK1_0.so b/ACTK1_0/lib/libACTK1_0.so new file mode 100755 index 0000000..ba6a152 Binary files /dev/null and b/ACTK1_0/lib/libACTK1_0.so differ diff --git a/APIG/build/drde-cd b/APIG/build/drde-cd new file mode 100755 index 0000000..a48e750 Binary files /dev/null and b/APIG/build/drde-cd differ diff --git a/APIG/client/contact-1.0.cpp b/APIG/client/contact-1.0.cpp new file mode 100644 index 0000000..4162bb0 --- /dev/null +++ b/APIG/client/contact-1.0.cpp @@ -0,0 +1,3757 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +// Begin prologue. +// +// +// End prologue. + +#include "contact-1.0-pskel.hxx" + +namespace contact_1_0 +{ + // e164Type_pskel + // + + void e164Type_pskel:: + x_parser (::xml_schema::token_pskel& p) + { + this->x_parser_ = &p; + } + + void e164Type_pskel:: + parsers (::xml_schema::token_pskel& x) + { + this->x_parser_ = &x; + } + + e164Type_pskel:: + e164Type_pskel () + : x_parser_ (0) + { + } + + // createType_pskel + // + + void createType_pskel:: + id_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->id_parser_ = &p; + } + + void createType_pskel:: + postalInfo_parser (::contact_1_0::postalInfoType_pskel& p) + { + this->postalInfo_parser_ = &p; + } + + void createType_pskel:: + voice_parser (::contact_1_0::e164Type_pskel& p) + { + this->voice_parser_ = &p; + } + + void createType_pskel:: + fax_parser (::contact_1_0::e164Type_pskel& p) + { + this->fax_parser_ = &p; + } + + void createType_pskel:: + email_parser (::eppcom_1_0::minTokenType_pskel& p) + { + this->email_parser_ = &p; + } + + void createType_pskel:: + authInfo_parser (::contact_1_0::authInfoType_pskel& p) + { + this->authInfo_parser_ = &p; + } + + void createType_pskel:: + disclose_parser (::contact_1_0::discloseType_pskel& p) + { + this->disclose_parser_ = &p; + } + + void createType_pskel:: + parsers (::eppcom_1_0::clIDType_pskel& id, + ::contact_1_0::postalInfoType_pskel& postalInfo, + ::contact_1_0::e164Type_pskel& voice, + ::contact_1_0::e164Type_pskel& fax, + ::eppcom_1_0::minTokenType_pskel& email, + ::contact_1_0::authInfoType_pskel& authInfo, + ::contact_1_0::discloseType_pskel& disclose) + { + this->id_parser_ = &id; + this->postalInfo_parser_ = &postalInfo; + this->voice_parser_ = &voice; + this->fax_parser_ = &fax; + this->email_parser_ = &email; + this->authInfo_parser_ = &authInfo; + this->disclose_parser_ = &disclose; + } + + createType_pskel:: + createType_pskel () + : id_parser_ (0), + postalInfo_parser_ (0), + voice_parser_ (0), + fax_parser_ (0), + email_parser_ (0), + authInfo_parser_ (0), + disclose_parser_ (0) + { + } + + // postalInfoType_pskel + // + + void postalInfoType_pskel:: + name_parser (::contact_1_0::postalLineType_pskel& p) + { + this->name_parser_ = &p; + } + + void postalInfoType_pskel:: + org_parser (::contact_1_0::optPostalLineType_pskel& p) + { + this->org_parser_ = &p; + } + + void postalInfoType_pskel:: + addr_parser (::contact_1_0::addrType_pskel& p) + { + this->addr_parser_ = &p; + } + + void postalInfoType_pskel:: + type_parser (::contact_1_0::postalInfoEnumType_pskel& p) + { + this->type_parser_ = &p; + } + + void postalInfoType_pskel:: + parsers (::contact_1_0::postalLineType_pskel& name, + ::contact_1_0::optPostalLineType_pskel& org, + ::contact_1_0::addrType_pskel& addr, + ::contact_1_0::postalInfoEnumType_pskel& type) + { + this->name_parser_ = &name; + this->org_parser_ = &org; + this->addr_parser_ = &addr; + this->type_parser_ = &type; + } + + postalInfoType_pskel:: + postalInfoType_pskel () + : name_parser_ (0), + org_parser_ (0), + addr_parser_ (0), + type_parser_ (0) + { + } + + // addrType_pskel + // + + void addrType_pskel:: + street_parser (::contact_1_0::optPostalLineType_pskel& p) + { + this->street_parser_ = &p; + } + + void addrType_pskel:: + city_parser (::contact_1_0::postalLineType_pskel& p) + { + this->city_parser_ = &p; + } + + void addrType_pskel:: + sp_parser (::contact_1_0::optPostalLineType_pskel& p) + { + this->sp_parser_ = &p; + } + + void addrType_pskel:: + pc_parser (::contact_1_0::pcType_pskel& p) + { + this->pc_parser_ = &p; + } + + void addrType_pskel:: + cc_parser (::contact_1_0::ccType_pskel& p) + { + this->cc_parser_ = &p; + } + + void addrType_pskel:: + parsers (::contact_1_0::optPostalLineType_pskel& street, + ::contact_1_0::postalLineType_pskel& city, + ::contact_1_0::optPostalLineType_pskel& sp, + ::contact_1_0::pcType_pskel& pc, + ::contact_1_0::ccType_pskel& cc) + { + this->street_parser_ = &street; + this->city_parser_ = &city; + this->sp_parser_ = &sp; + this->pc_parser_ = &pc; + this->cc_parser_ = &cc; + } + + addrType_pskel:: + addrType_pskel () + : street_parser_ (0), + city_parser_ (0), + sp_parser_ (0), + pc_parser_ (0), + cc_parser_ (0) + { + } + + // authInfoType_pskel + // + + void authInfoType_pskel:: + pw_parser (::eppcom_1_0::pwAuthInfoType_pskel& p) + { + this->pw_parser_ = &p; + } + + void authInfoType_pskel:: + ext_parser (::eppcom_1_0::extAuthInfoType_pskel& p) + { + this->ext_parser_ = &p; + } + + void authInfoType_pskel:: + parsers (::eppcom_1_0::pwAuthInfoType_pskel& pw, + ::eppcom_1_0::extAuthInfoType_pskel& ext) + { + this->pw_parser_ = &pw; + this->ext_parser_ = &ext; + } + + authInfoType_pskel:: + authInfoType_pskel () + : pw_parser_ (0), + ext_parser_ (0) + { + } + + // discloseType_pskel + // + + void discloseType_pskel:: + name_parser (::contact_1_0::intLocType_pskel& p) + { + this->name_parser_ = &p; + } + + void discloseType_pskel:: + org_parser (::contact_1_0::intLocType_pskel& p) + { + this->org_parser_ = &p; + } + + void discloseType_pskel:: + addr_parser (::contact_1_0::intLocType_pskel& p) + { + this->addr_parser_ = &p; + } + + void discloseType_pskel:: + voice_parser (::xml_schema::any_type_pskel& p) + { + this->voice_parser_ = &p; + } + + void discloseType_pskel:: + fax_parser (::xml_schema::any_type_pskel& p) + { + this->fax_parser_ = &p; + } + + void discloseType_pskel:: + email_parser (::xml_schema::any_type_pskel& p) + { + this->email_parser_ = &p; + } + + void discloseType_pskel:: + flag_parser (::xml_schema::boolean_pskel& p) + { + this->flag_parser_ = &p; + } + + void discloseType_pskel:: + parsers (::contact_1_0::intLocType_pskel& name, + ::contact_1_0::intLocType_pskel& org, + ::contact_1_0::intLocType_pskel& addr, + ::xml_schema::any_type_pskel& voice, + ::xml_schema::any_type_pskel& fax, + ::xml_schema::any_type_pskel& email, + ::xml_schema::boolean_pskel& flag) + { + this->name_parser_ = &name; + this->org_parser_ = &org; + this->addr_parser_ = &addr; + this->voice_parser_ = &voice; + this->fax_parser_ = &fax; + this->email_parser_ = &email; + this->flag_parser_ = &flag; + } + + discloseType_pskel:: + discloseType_pskel () + : name_parser_ (0), + org_parser_ (0), + addr_parser_ (0), + voice_parser_ (0), + fax_parser_ (0), + email_parser_ (0), + flag_parser_ (0) + { + } + + // intLocType_pskel + // + + void intLocType_pskel:: + type_parser (::contact_1_0::postalInfoEnumType_pskel& p) + { + this->type_parser_ = &p; + } + + void intLocType_pskel:: + parsers (::contact_1_0::postalInfoEnumType_pskel& type) + { + this->type_parser_ = &type; + } + + intLocType_pskel:: + intLocType_pskel () + : type_parser_ (0) + { + } + + // sIDType_pskel + // + + void sIDType_pskel:: + id_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->id_parser_ = &p; + } + + void sIDType_pskel:: + parsers (::eppcom_1_0::clIDType_pskel& id) + { + this->id_parser_ = &id; + } + + sIDType_pskel:: + sIDType_pskel () + : id_parser_ (0) + { + } + + // mIDType_pskel + // + + void mIDType_pskel:: + id_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->id_parser_ = &p; + } + + void mIDType_pskel:: + parsers (::eppcom_1_0::clIDType_pskel& id) + { + this->id_parser_ = &id; + } + + mIDType_pskel:: + mIDType_pskel () + : id_parser_ (0) + { + } + + // authIDType_pskel + // + + void authIDType_pskel:: + id_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->id_parser_ = &p; + } + + void authIDType_pskel:: + authInfo_parser (::contact_1_0::authInfoType_pskel& p) + { + this->authInfo_parser_ = &p; + } + + void authIDType_pskel:: + parsers (::eppcom_1_0::clIDType_pskel& id, + ::contact_1_0::authInfoType_pskel& authInfo) + { + this->id_parser_ = &id; + this->authInfo_parser_ = &authInfo; + } + + authIDType_pskel:: + authIDType_pskel () + : id_parser_ (0), + authInfo_parser_ (0) + { + } + + // updateType_pskel + // + + void updateType_pskel:: + id_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->id_parser_ = &p; + } + + void updateType_pskel:: + add_parser (::contact_1_0::addRemType_pskel& p) + { + this->add_parser_ = &p; + } + + void updateType_pskel:: + rem_parser (::contact_1_0::addRemType_pskel& p) + { + this->rem_parser_ = &p; + } + + void updateType_pskel:: + chg_parser (::contact_1_0::chgType_pskel& p) + { + this->chg_parser_ = &p; + } + + void updateType_pskel:: + parsers (::eppcom_1_0::clIDType_pskel& id, + ::contact_1_0::addRemType_pskel& add, + ::contact_1_0::addRemType_pskel& rem, + ::contact_1_0::chgType_pskel& chg) + { + this->id_parser_ = &id; + this->add_parser_ = &add; + this->rem_parser_ = &rem; + this->chg_parser_ = &chg; + } + + updateType_pskel:: + updateType_pskel () + : id_parser_ (0), + add_parser_ (0), + rem_parser_ (0), + chg_parser_ (0) + { + } + + // addRemType_pskel + // + + void addRemType_pskel:: + status_parser (::contact_1_0::statusType_pskel& p) + { + this->status_parser_ = &p; + } + + void addRemType_pskel:: + parsers (::contact_1_0::statusType_pskel& status) + { + this->status_parser_ = &status; + } + + addRemType_pskel:: + addRemType_pskel () + : status_parser_ (0) + { + } + + // chgType_pskel + // + + void chgType_pskel:: + postalInfo_parser (::contact_1_0::chgPostalInfoType_pskel& p) + { + this->postalInfo_parser_ = &p; + } + + void chgType_pskel:: + voice_parser (::contact_1_0::e164Type_pskel& p) + { + this->voice_parser_ = &p; + } + + void chgType_pskel:: + fax_parser (::contact_1_0::e164Type_pskel& p) + { + this->fax_parser_ = &p; + } + + void chgType_pskel:: + email_parser (::eppcom_1_0::minTokenType_pskel& p) + { + this->email_parser_ = &p; + } + + void chgType_pskel:: + authInfo_parser (::contact_1_0::authInfoType_pskel& p) + { + this->authInfo_parser_ = &p; + } + + void chgType_pskel:: + disclose_parser (::contact_1_0::discloseType_pskel& p) + { + this->disclose_parser_ = &p; + } + + void chgType_pskel:: + parsers (::contact_1_0::chgPostalInfoType_pskel& postalInfo, + ::contact_1_0::e164Type_pskel& voice, + ::contact_1_0::e164Type_pskel& fax, + ::eppcom_1_0::minTokenType_pskel& email, + ::contact_1_0::authInfoType_pskel& authInfo, + ::contact_1_0::discloseType_pskel& disclose) + { + this->postalInfo_parser_ = &postalInfo; + this->voice_parser_ = &voice; + this->fax_parser_ = &fax; + this->email_parser_ = &email; + this->authInfo_parser_ = &authInfo; + this->disclose_parser_ = &disclose; + } + + chgType_pskel:: + chgType_pskel () + : postalInfo_parser_ (0), + voice_parser_ (0), + fax_parser_ (0), + email_parser_ (0), + authInfo_parser_ (0), + disclose_parser_ (0) + { + } + + // chgPostalInfoType_pskel + // + + void chgPostalInfoType_pskel:: + name_parser (::contact_1_0::postalLineType_pskel& p) + { + this->name_parser_ = &p; + } + + void chgPostalInfoType_pskel:: + org_parser (::contact_1_0::optPostalLineType_pskel& p) + { + this->org_parser_ = &p; + } + + void chgPostalInfoType_pskel:: + addr_parser (::contact_1_0::addrType_pskel& p) + { + this->addr_parser_ = &p; + } + + void chgPostalInfoType_pskel:: + type_parser (::contact_1_0::postalInfoEnumType_pskel& p) + { + this->type_parser_ = &p; + } + + void chgPostalInfoType_pskel:: + parsers (::contact_1_0::postalLineType_pskel& name, + ::contact_1_0::optPostalLineType_pskel& org, + ::contact_1_0::addrType_pskel& addr, + ::contact_1_0::postalInfoEnumType_pskel& type) + { + this->name_parser_ = &name; + this->org_parser_ = &org; + this->addr_parser_ = &addr; + this->type_parser_ = &type; + } + + chgPostalInfoType_pskel:: + chgPostalInfoType_pskel () + : name_parser_ (0), + org_parser_ (0), + addr_parser_ (0), + type_parser_ (0) + { + } + + // chkDataType_pskel + // + + void chkDataType_pskel:: + cd_parser (::contact_1_0::checkType_pskel& p) + { + this->cd_parser_ = &p; + } + + void chkDataType_pskel:: + parsers (::contact_1_0::checkType_pskel& cd) + { + this->cd_parser_ = &cd; + } + + chkDataType_pskel:: + chkDataType_pskel () + : cd_parser_ (0) + { + } + + // checkType_pskel + // + + void checkType_pskel:: + id_parser (::contact_1_0::checkIDType_pskel& p) + { + this->id_parser_ = &p; + } + + void checkType_pskel:: + reason_parser (::eppcom_1_0::reasonType_pskel& p) + { + this->reason_parser_ = &p; + } + + void checkType_pskel:: + parsers (::contact_1_0::checkIDType_pskel& id, + ::eppcom_1_0::reasonType_pskel& reason) + { + this->id_parser_ = &id; + this->reason_parser_ = &reason; + } + + checkType_pskel:: + checkType_pskel () + : id_parser_ (0), + reason_parser_ (0) + { + } + + // checkIDType_pskel + // + + void checkIDType_pskel:: + avail_parser (::xml_schema::boolean_pskel& p) + { + this->avail_parser_ = &p; + } + + void checkIDType_pskel:: + parsers (::xml_schema::boolean_pskel& avail) + { + this->avail_parser_ = &avail; + } + + checkIDType_pskel:: + checkIDType_pskel () + : avail_parser_ (0) + { + } + + // creDataType_pskel + // + + void creDataType_pskel:: + id_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->id_parser_ = &p; + } + + void creDataType_pskel:: + crDate_parser (::xml_schema::date_time_pskel& p) + { + this->crDate_parser_ = &p; + } + + void creDataType_pskel:: + parsers (::eppcom_1_0::clIDType_pskel& id, + ::xml_schema::date_time_pskel& crDate) + { + this->id_parser_ = &id; + this->crDate_parser_ = &crDate; + } + + creDataType_pskel:: + creDataType_pskel () + : id_parser_ (0), + crDate_parser_ (0) + { + } + + // infDataType_pskel + // + + void infDataType_pskel:: + id_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->id_parser_ = &p; + } + + void infDataType_pskel:: + roid_parser (::eppcom_1_0::roidType_pskel& p) + { + this->roid_parser_ = &p; + } + + void infDataType_pskel:: + status_parser (::contact_1_0::statusType_pskel& p) + { + this->status_parser_ = &p; + } + + void infDataType_pskel:: + postalInfo_parser (::contact_1_0::postalInfoType_pskel& p) + { + this->postalInfo_parser_ = &p; + } + + void infDataType_pskel:: + voice_parser (::contact_1_0::e164Type_pskel& p) + { + this->voice_parser_ = &p; + } + + void infDataType_pskel:: + fax_parser (::contact_1_0::e164Type_pskel& p) + { + this->fax_parser_ = &p; + } + + void infDataType_pskel:: + email_parser (::eppcom_1_0::minTokenType_pskel& p) + { + this->email_parser_ = &p; + } + + void infDataType_pskel:: + clID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->clID_parser_ = &p; + } + + void infDataType_pskel:: + crID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->crID_parser_ = &p; + } + + void infDataType_pskel:: + crDate_parser (::xml_schema::date_time_pskel& p) + { + this->crDate_parser_ = &p; + } + + void infDataType_pskel:: + upID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->upID_parser_ = &p; + } + + void infDataType_pskel:: + upDate_parser (::xml_schema::date_time_pskel& p) + { + this->upDate_parser_ = &p; + } + + void infDataType_pskel:: + trDate_parser (::xml_schema::date_time_pskel& p) + { + this->trDate_parser_ = &p; + } + + void infDataType_pskel:: + authInfo_parser (::contact_1_0::authInfoType_pskel& p) + { + this->authInfo_parser_ = &p; + } + + void infDataType_pskel:: + disclose_parser (::contact_1_0::discloseType_pskel& p) + { + this->disclose_parser_ = &p; + } + + void infDataType_pskel:: + parsers (::eppcom_1_0::clIDType_pskel& id, + ::eppcom_1_0::roidType_pskel& roid, + ::contact_1_0::statusType_pskel& status, + ::contact_1_0::postalInfoType_pskel& postalInfo, + ::contact_1_0::e164Type_pskel& voice, + ::contact_1_0::e164Type_pskel& fax, + ::eppcom_1_0::minTokenType_pskel& email, + ::eppcom_1_0::clIDType_pskel& clID, + ::eppcom_1_0::clIDType_pskel& crID, + ::xml_schema::date_time_pskel& crDate, + ::eppcom_1_0::clIDType_pskel& upID, + ::xml_schema::date_time_pskel& upDate, + ::xml_schema::date_time_pskel& trDate, + ::contact_1_0::authInfoType_pskel& authInfo, + ::contact_1_0::discloseType_pskel& disclose) + { + this->id_parser_ = &id; + this->roid_parser_ = &roid; + this->status_parser_ = &status; + this->postalInfo_parser_ = &postalInfo; + this->voice_parser_ = &voice; + this->fax_parser_ = &fax; + this->email_parser_ = &email; + this->clID_parser_ = &clID; + this->crID_parser_ = &crID; + this->crDate_parser_ = &crDate; + this->upID_parser_ = &upID; + this->upDate_parser_ = &upDate; + this->trDate_parser_ = &trDate; + this->authInfo_parser_ = &authInfo; + this->disclose_parser_ = &disclose; + } + + infDataType_pskel:: + infDataType_pskel () + : id_parser_ (0), + roid_parser_ (0), + status_parser_ (0), + postalInfo_parser_ (0), + voice_parser_ (0), + fax_parser_ (0), + email_parser_ (0), + clID_parser_ (0), + crID_parser_ (0), + crDate_parser_ (0), + upID_parser_ (0), + upDate_parser_ (0), + trDate_parser_ (0), + authInfo_parser_ (0), + disclose_parser_ (0) + { + } + + // statusType_pskel + // + + void statusType_pskel:: + s_parser (::contact_1_0::statusValueType_pskel& p) + { + this->s_parser_ = &p; + } + + void statusType_pskel:: + lang_parser (::xml_schema::language_pskel& p) + { + this->lang_parser_ = &p; + } + + void statusType_pskel:: + parsers (::contact_1_0::statusValueType_pskel& s, + ::xml_schema::language_pskel& lang) + { + this->s_parser_ = &s; + this->lang_parser_ = ⟨ + } + + statusType_pskel:: + statusType_pskel () + : s_parser_ (0), + lang_parser_ (0) + { + } + + // panDataType_pskel + // + + void panDataType_pskel:: + id_parser (::contact_1_0::paCLIDType_pskel& p) + { + this->id_parser_ = &p; + } + + void panDataType_pskel:: + paTRID_parser (::epp_1_0::trIDType_pskel& p) + { + this->paTRID_parser_ = &p; + } + + void panDataType_pskel:: + paDate_parser (::xml_schema::date_time_pskel& p) + { + this->paDate_parser_ = &p; + } + + void panDataType_pskel:: + parsers (::contact_1_0::paCLIDType_pskel& id, + ::epp_1_0::trIDType_pskel& paTRID, + ::xml_schema::date_time_pskel& paDate) + { + this->id_parser_ = &id; + this->paTRID_parser_ = &paTRID; + this->paDate_parser_ = &paDate; + } + + panDataType_pskel:: + panDataType_pskel () + : id_parser_ (0), + paTRID_parser_ (0), + paDate_parser_ (0) + { + } + + // paCLIDType_pskel + // + + void paCLIDType_pskel:: + paResult_parser (::xml_schema::boolean_pskel& p) + { + this->paResult_parser_ = &p; + } + + void paCLIDType_pskel:: + parsers (::xml_schema::boolean_pskel& paResult) + { + this->paResult_parser_ = &paResult; + } + + paCLIDType_pskel:: + paCLIDType_pskel () + : paResult_parser_ (0) + { + } + + // trnDataType_pskel + // + + void trnDataType_pskel:: + id_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->id_parser_ = &p; + } + + void trnDataType_pskel:: + trStatus_parser (::eppcom_1_0::trStatusType_pskel& p) + { + this->trStatus_parser_ = &p; + } + + void trnDataType_pskel:: + reID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->reID_parser_ = &p; + } + + void trnDataType_pskel:: + reDate_parser (::xml_schema::date_time_pskel& p) + { + this->reDate_parser_ = &p; + } + + void trnDataType_pskel:: + acID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->acID_parser_ = &p; + } + + void trnDataType_pskel:: + acDate_parser (::xml_schema::date_time_pskel& p) + { + this->acDate_parser_ = &p; + } + + void trnDataType_pskel:: + parsers (::eppcom_1_0::clIDType_pskel& id, + ::eppcom_1_0::trStatusType_pskel& trStatus, + ::eppcom_1_0::clIDType_pskel& reID, + ::xml_schema::date_time_pskel& reDate, + ::eppcom_1_0::clIDType_pskel& acID, + ::xml_schema::date_time_pskel& acDate) + { + this->id_parser_ = &id; + this->trStatus_parser_ = &trStatus; + this->reID_parser_ = &reID; + this->reDate_parser_ = &reDate; + this->acID_parser_ = &acID; + this->acDate_parser_ = &acDate; + } + + trnDataType_pskel:: + trnDataType_pskel () + : id_parser_ (0), + trStatus_parser_ (0), + reID_parser_ (0), + reDate_parser_ (0), + acID_parser_ (0), + acDate_parser_ (0) + { + } +} + +namespace contact_1_0 +{ + // ccType_pskel + // + + void ccType_pskel:: + post_ccType () + { + } + + // e164StringType_pskel + // + + void e164StringType_pskel:: + post_e164StringType () + { + } + + // e164Type_pskel + // + + void e164Type_pskel:: + x (const ::std::string&) + { + } + + void e164Type_pskel:: + post_e164Type () + { + post_e164StringType (); + } + + bool e164Type_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::contact_1_0::e164StringType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "x" && ns.empty ()) + { + if (this->x_parser_) + { + this->x_parser_->pre (); + this->x_parser_->_pre_impl (); + this->x_parser_->_characters (v); + this->x_parser_->_post_impl (); + this->x (this->x_parser_->post_token ()); + } + + return true; + } + + return false; + } + + // pcType_pskel + // + + void pcType_pskel:: + post_pcType () + { + } + + // postalLineType_pskel + // + + void postalLineType_pskel:: + post_postalLineType () + { + } + + // optPostalLineType_pskel + // + + void optPostalLineType_pskel:: + post_optPostalLineType () + { + } + + // createType_pskel + // + + void createType_pskel:: + id () + { + } + + void createType_pskel:: + postalInfo () + { + } + + void createType_pskel:: + voice () + { + } + + void createType_pskel:: + fax () + { + } + + void createType_pskel:: + email () + { + } + + void createType_pskel:: + authInfo () + { + } + + void createType_pskel:: + disclose () + { + } + + void createType_pskel:: + post_createType () + { + } + + bool createType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->id_parser_; + + if (this->id_parser_) + this->id_parser_->pre (); + + return true; + } + + if (n == "postalInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->postalInfo_parser_; + + if (this->postalInfo_parser_) + this->postalInfo_parser_->pre (); + + return true; + } + + if (n == "voice" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->voice_parser_; + + if (this->voice_parser_) + this->voice_parser_->pre (); + + return true; + } + + if (n == "fax" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->fax_parser_; + + if (this->fax_parser_) + this->fax_parser_->pre (); + + return true; + } + + if (n == "email" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->email_parser_; + + if (this->email_parser_) + this->email_parser_->pre (); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->authInfo_parser_; + + if (this->authInfo_parser_) + this->authInfo_parser_->pre (); + + return true; + } + + if (n == "disclose" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->disclose_parser_; + + if (this->disclose_parser_) + this->disclose_parser_->pre (); + + return true; + } + + return false; + } + + bool createType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->id_parser_) + { + this->id_parser_->post_clIDType (); + this->id (); + } + + return true; + } + + if (n == "postalInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->postalInfo_parser_) + { + this->postalInfo_parser_->post_postalInfoType (); + this->postalInfo (); + } + + return true; + } + + if (n == "voice" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->voice_parser_) + { + this->voice_parser_->post_e164Type (); + this->voice (); + } + + return true; + } + + if (n == "fax" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->fax_parser_) + { + this->fax_parser_->post_e164Type (); + this->fax (); + } + + return true; + } + + if (n == "email" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->email_parser_) + { + this->email_parser_->post_minTokenType (); + this->email (); + } + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->authInfo_parser_) + { + this->authInfo_parser_->post_authInfoType (); + this->authInfo (); + } + + return true; + } + + if (n == "disclose" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->disclose_parser_) + { + this->disclose_parser_->post_discloseType (); + this->disclose (); + } + + return true; + } + + return false; + } + + // postalInfoType_pskel + // + + void postalInfoType_pskel:: + name () + { + } + + void postalInfoType_pskel:: + org () + { + } + + void postalInfoType_pskel:: + addr () + { + } + + void postalInfoType_pskel:: + type () + { + } + + void postalInfoType_pskel:: + post_postalInfoType () + { + } + + bool postalInfoType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "org" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->org_parser_; + + if (this->org_parser_) + this->org_parser_->pre (); + + return true; + } + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->addr_parser_; + + if (this->addr_parser_) + this->addr_parser_->pre (); + + return true; + } + + return false; + } + + bool postalInfoType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_postalLineType (); + this->name (); + } + + return true; + } + + if (n == "org" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->org_parser_) + { + this->org_parser_->post_optPostalLineType (); + this->org (); + } + + return true; + } + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->addr_parser_) + { + this->addr_parser_->post_addrType (); + this->addr (); + } + + return true; + } + + return false; + } + + bool postalInfoType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::complex_content::_attribute_impl (ns, n, v)) + return true; + + if (n == "type" && ns.empty ()) + { + if (this->type_parser_) + { + this->type_parser_->pre (); + this->type_parser_->_pre_impl (); + this->type_parser_->_characters (v); + this->type_parser_->_post_impl (); + this->type_parser_->post_postalInfoEnumType (); + this->type (); + } + + return true; + } + + return false; + } + + // postalInfoEnumType_pskel + // + + void postalInfoEnumType_pskel:: + post_postalInfoEnumType () + { + } + + // addrType_pskel + // + + void addrType_pskel:: + street () + { + } + + void addrType_pskel:: + city () + { + } + + void addrType_pskel:: + sp () + { + } + + void addrType_pskel:: + pc () + { + } + + void addrType_pskel:: + cc () + { + } + + void addrType_pskel:: + post_addrType () + { + } + + bool addrType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "street" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->street_parser_; + + if (this->street_parser_) + this->street_parser_->pre (); + + return true; + } + + if (n == "city" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->city_parser_; + + if (this->city_parser_) + this->city_parser_->pre (); + + return true; + } + + if (n == "sp" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->sp_parser_; + + if (this->sp_parser_) + this->sp_parser_->pre (); + + return true; + } + + if (n == "pc" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->pc_parser_; + + if (this->pc_parser_) + this->pc_parser_->pre (); + + return true; + } + + if (n == "cc" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->cc_parser_; + + if (this->cc_parser_) + this->cc_parser_->pre (); + + return true; + } + + return false; + } + + bool addrType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "street" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->street_parser_) + { + this->street_parser_->post_optPostalLineType (); + this->street (); + } + + return true; + } + + if (n == "city" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->city_parser_) + { + this->city_parser_->post_postalLineType (); + this->city (); + } + + return true; + } + + if (n == "sp" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->sp_parser_) + { + this->sp_parser_->post_optPostalLineType (); + this->sp (); + } + + return true; + } + + if (n == "pc" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->pc_parser_) + { + this->pc_parser_->post_pcType (); + this->pc (); + } + + return true; + } + + if (n == "cc" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->cc_parser_) + { + this->cc_parser_->post_ccType (); + this->cc (); + } + + return true; + } + + return false; + } + + // authInfoType_pskel + // + + void authInfoType_pskel:: + pw () + { + } + + void authInfoType_pskel:: + ext () + { + } + + void authInfoType_pskel:: + post_authInfoType () + { + } + + bool authInfoType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "pw" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->pw_parser_; + + if (this->pw_parser_) + this->pw_parser_->pre (); + + return true; + } + + if (n == "ext" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->ext_parser_; + + if (this->ext_parser_) + this->ext_parser_->pre (); + + return true; + } + + return false; + } + + bool authInfoType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "pw" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->pw_parser_) + { + this->pw_parser_->post_pwAuthInfoType (); + this->pw (); + } + + return true; + } + + if (n == "ext" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->ext_parser_) + { + this->ext_parser_->post_extAuthInfoType (); + this->ext (); + } + + return true; + } + + return false; + } + + // discloseType_pskel + // + + void discloseType_pskel:: + name () + { + } + + void discloseType_pskel:: + org () + { + } + + void discloseType_pskel:: + addr () + { + } + + void discloseType_pskel:: + voice () + { + } + + void discloseType_pskel:: + fax () + { + } + + void discloseType_pskel:: + email () + { + } + + void discloseType_pskel:: + flag (bool) + { + } + + void discloseType_pskel:: + post_discloseType () + { + } + + bool discloseType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "org" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->org_parser_; + + if (this->org_parser_) + this->org_parser_->pre (); + + return true; + } + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->addr_parser_; + + if (this->addr_parser_) + this->addr_parser_->pre (); + + return true; + } + + if (n == "voice" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->voice_parser_; + + if (this->voice_parser_) + this->voice_parser_->pre (); + + return true; + } + + if (n == "fax" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->fax_parser_; + + if (this->fax_parser_) + this->fax_parser_->pre (); + + return true; + } + + if (n == "email" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->email_parser_; + + if (this->email_parser_) + this->email_parser_->pre (); + + return true; + } + + return false; + } + + bool discloseType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_intLocType (); + this->name (); + } + + return true; + } + + if (n == "org" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->org_parser_) + { + this->org_parser_->post_intLocType (); + this->org (); + } + + return true; + } + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->addr_parser_) + { + this->addr_parser_->post_intLocType (); + this->addr (); + } + + return true; + } + + if (n == "voice" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->voice_parser_) + { + this->voice_parser_->post_any_type (); + this->voice (); + } + + return true; + } + + if (n == "fax" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->fax_parser_) + { + this->fax_parser_->post_any_type (); + this->fax (); + } + + return true; + } + + if (n == "email" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->email_parser_) + { + this->email_parser_->post_any_type (); + this->email (); + } + + return true; + } + + return false; + } + + bool discloseType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::complex_content::_attribute_impl (ns, n, v)) + return true; + + if (n == "flag" && ns.empty ()) + { + if (this->flag_parser_) + { + this->flag_parser_->pre (); + this->flag_parser_->_pre_impl (); + this->flag_parser_->_characters (v); + this->flag_parser_->_post_impl (); + this->flag (this->flag_parser_->post_boolean ()); + } + + return true; + } + + return false; + } + + // intLocType_pskel + // + + void intLocType_pskel:: + type () + { + } + + void intLocType_pskel:: + post_intLocType () + { + } + + bool intLocType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::complex_content::_attribute_impl (ns, n, v)) + return true; + + if (n == "type" && ns.empty ()) + { + if (this->type_parser_) + { + this->type_parser_->pre (); + this->type_parser_->_pre_impl (); + this->type_parser_->_characters (v); + this->type_parser_->_post_impl (); + this->type_parser_->post_postalInfoEnumType (); + this->type (); + } + + return true; + } + + return false; + } + + // sIDType_pskel + // + + void sIDType_pskel:: + id () + { + } + + void sIDType_pskel:: + post_sIDType () + { + } + + bool sIDType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->id_parser_; + + if (this->id_parser_) + this->id_parser_->pre (); + + return true; + } + + return false; + } + + bool sIDType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->id_parser_) + { + this->id_parser_->post_clIDType (); + this->id (); + } + + return true; + } + + return false; + } + + // mIDType_pskel + // + + void mIDType_pskel:: + id () + { + } + + void mIDType_pskel:: + post_mIDType () + { + } + + bool mIDType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->id_parser_; + + if (this->id_parser_) + this->id_parser_->pre (); + + return true; + } + + return false; + } + + bool mIDType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->id_parser_) + { + this->id_parser_->post_clIDType (); + this->id (); + } + + return true; + } + + return false; + } + + // authIDType_pskel + // + + void authIDType_pskel:: + id () + { + } + + void authIDType_pskel:: + authInfo () + { + } + + void authIDType_pskel:: + post_authIDType () + { + } + + bool authIDType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->id_parser_; + + if (this->id_parser_) + this->id_parser_->pre (); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->authInfo_parser_; + + if (this->authInfo_parser_) + this->authInfo_parser_->pre (); + + return true; + } + + return false; + } + + bool authIDType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->id_parser_) + { + this->id_parser_->post_clIDType (); + this->id (); + } + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->authInfo_parser_) + { + this->authInfo_parser_->post_authInfoType (); + this->authInfo (); + } + + return true; + } + + return false; + } + + // updateType_pskel + // + + void updateType_pskel:: + id () + { + } + + void updateType_pskel:: + add () + { + } + + void updateType_pskel:: + rem () + { + } + + void updateType_pskel:: + chg () + { + } + + void updateType_pskel:: + post_updateType () + { + } + + bool updateType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->id_parser_; + + if (this->id_parser_) + this->id_parser_->pre (); + + return true; + } + + if (n == "add" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->add_parser_; + + if (this->add_parser_) + this->add_parser_->pre (); + + return true; + } + + if (n == "rem" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->rem_parser_; + + if (this->rem_parser_) + this->rem_parser_->pre (); + + return true; + } + + if (n == "chg" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->chg_parser_; + + if (this->chg_parser_) + this->chg_parser_->pre (); + + return true; + } + + return false; + } + + bool updateType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->id_parser_) + { + this->id_parser_->post_clIDType (); + this->id (); + } + + return true; + } + + if (n == "add" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->add_parser_) + { + this->add_parser_->post_addRemType (); + this->add (); + } + + return true; + } + + if (n == "rem" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->rem_parser_) + { + this->rem_parser_->post_addRemType (); + this->rem (); + } + + return true; + } + + if (n == "chg" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->chg_parser_) + { + this->chg_parser_->post_chgType (); + this->chg (); + } + + return true; + } + + return false; + } + + // addRemType_pskel + // + + void addRemType_pskel:: + status () + { + } + + void addRemType_pskel:: + post_addRemType () + { + } + + bool addRemType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "status" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->status_parser_; + + if (this->status_parser_) + this->status_parser_->pre (); + + return true; + } + + return false; + } + + bool addRemType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "status" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->status_parser_) + { + this->status_parser_->post_statusType (); + this->status (); + } + + return true; + } + + return false; + } + + // chgType_pskel + // + + void chgType_pskel:: + postalInfo () + { + } + + void chgType_pskel:: + voice () + { + } + + void chgType_pskel:: + fax () + { + } + + void chgType_pskel:: + email () + { + } + + void chgType_pskel:: + authInfo () + { + } + + void chgType_pskel:: + disclose () + { + } + + void chgType_pskel:: + post_chgType () + { + } + + bool chgType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "postalInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->postalInfo_parser_; + + if (this->postalInfo_parser_) + this->postalInfo_parser_->pre (); + + return true; + } + + if (n == "voice" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->voice_parser_; + + if (this->voice_parser_) + this->voice_parser_->pre (); + + return true; + } + + if (n == "fax" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->fax_parser_; + + if (this->fax_parser_) + this->fax_parser_->pre (); + + return true; + } + + if (n == "email" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->email_parser_; + + if (this->email_parser_) + this->email_parser_->pre (); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->authInfo_parser_; + + if (this->authInfo_parser_) + this->authInfo_parser_->pre (); + + return true; + } + + if (n == "disclose" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->disclose_parser_; + + if (this->disclose_parser_) + this->disclose_parser_->pre (); + + return true; + } + + return false; + } + + bool chgType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "postalInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->postalInfo_parser_) + { + this->postalInfo_parser_->post_chgPostalInfoType (); + this->postalInfo (); + } + + return true; + } + + if (n == "voice" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->voice_parser_) + { + this->voice_parser_->post_e164Type (); + this->voice (); + } + + return true; + } + + if (n == "fax" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->fax_parser_) + { + this->fax_parser_->post_e164Type (); + this->fax (); + } + + return true; + } + + if (n == "email" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->email_parser_) + { + this->email_parser_->post_minTokenType (); + this->email (); + } + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->authInfo_parser_) + { + this->authInfo_parser_->post_authInfoType (); + this->authInfo (); + } + + return true; + } + + if (n == "disclose" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->disclose_parser_) + { + this->disclose_parser_->post_discloseType (); + this->disclose (); + } + + return true; + } + + return false; + } + + // chgPostalInfoType_pskel + // + + void chgPostalInfoType_pskel:: + name () + { + } + + void chgPostalInfoType_pskel:: + org () + { + } + + void chgPostalInfoType_pskel:: + addr () + { + } + + void chgPostalInfoType_pskel:: + type () + { + } + + void chgPostalInfoType_pskel:: + post_chgPostalInfoType () + { + } + + bool chgPostalInfoType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "org" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->org_parser_; + + if (this->org_parser_) + this->org_parser_->pre (); + + return true; + } + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->addr_parser_; + + if (this->addr_parser_) + this->addr_parser_->pre (); + + return true; + } + + return false; + } + + bool chgPostalInfoType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_postalLineType (); + this->name (); + } + + return true; + } + + if (n == "org" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->org_parser_) + { + this->org_parser_->post_optPostalLineType (); + this->org (); + } + + return true; + } + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->addr_parser_) + { + this->addr_parser_->post_addrType (); + this->addr (); + } + + return true; + } + + return false; + } + + bool chgPostalInfoType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::complex_content::_attribute_impl (ns, n, v)) + return true; + + if (n == "type" && ns.empty ()) + { + if (this->type_parser_) + { + this->type_parser_->pre (); + this->type_parser_->_pre_impl (); + this->type_parser_->_characters (v); + this->type_parser_->_post_impl (); + this->type_parser_->post_postalInfoEnumType (); + this->type (); + } + + return true; + } + + return false; + } + + // chkDataType_pskel + // + + void chkDataType_pskel:: + cd () + { + } + + void chkDataType_pskel:: + post_chkDataType () + { + } + + bool chkDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "cd" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->cd_parser_; + + if (this->cd_parser_) + this->cd_parser_->pre (); + + return true; + } + + return false; + } + + bool chkDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "cd" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->cd_parser_) + { + this->cd_parser_->post_checkType (); + this->cd (); + } + + return true; + } + + return false; + } + + // checkType_pskel + // + + void checkType_pskel:: + id () + { + } + + void checkType_pskel:: + reason () + { + } + + void checkType_pskel:: + post_checkType () + { + } + + bool checkType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->id_parser_; + + if (this->id_parser_) + this->id_parser_->pre (); + + return true; + } + + if (n == "reason" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->reason_parser_; + + if (this->reason_parser_) + this->reason_parser_->pre (); + + return true; + } + + return false; + } + + bool checkType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->id_parser_) + { + this->id_parser_->post_checkIDType (); + this->id (); + } + + return true; + } + + if (n == "reason" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->reason_parser_) + { + this->reason_parser_->post_reasonType (); + this->reason (); + } + + return true; + } + + return false; + } + + // checkIDType_pskel + // + + void checkIDType_pskel:: + avail (bool) + { + } + + void checkIDType_pskel:: + post_checkIDType () + { + post_clIDType (); + } + + bool checkIDType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::eppcom_1_0::clIDType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "avail" && ns.empty ()) + { + if (this->avail_parser_) + { + this->avail_parser_->pre (); + this->avail_parser_->_pre_impl (); + this->avail_parser_->_characters (v); + this->avail_parser_->_post_impl (); + this->avail (this->avail_parser_->post_boolean ()); + } + + return true; + } + + return false; + } + + // creDataType_pskel + // + + void creDataType_pskel:: + id () + { + } + + void creDataType_pskel:: + crDate (const ::xml_schema::date_time&) + { + } + + void creDataType_pskel:: + post_creDataType () + { + } + + bool creDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->id_parser_; + + if (this->id_parser_) + this->id_parser_->pre (); + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->crDate_parser_; + + if (this->crDate_parser_) + this->crDate_parser_->pre (); + + return true; + } + + return false; + } + + bool creDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->id_parser_) + { + this->id_parser_->post_clIDType (); + this->id (); + } + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->crDate_parser_) + this->crDate (this->crDate_parser_->post_date_time ()); + + return true; + } + + return false; + } + + // infDataType_pskel + // + + void infDataType_pskel:: + id () + { + } + + void infDataType_pskel:: + roid () + { + } + + void infDataType_pskel:: + status () + { + } + + void infDataType_pskel:: + postalInfo () + { + } + + void infDataType_pskel:: + voice () + { + } + + void infDataType_pskel:: + fax () + { + } + + void infDataType_pskel:: + email () + { + } + + void infDataType_pskel:: + clID () + { + } + + void infDataType_pskel:: + crID () + { + } + + void infDataType_pskel:: + crDate (const ::xml_schema::date_time&) + { + } + + void infDataType_pskel:: + upID () + { + } + + void infDataType_pskel:: + upDate (const ::xml_schema::date_time&) + { + } + + void infDataType_pskel:: + trDate (const ::xml_schema::date_time&) + { + } + + void infDataType_pskel:: + authInfo () + { + } + + void infDataType_pskel:: + disclose () + { + } + + void infDataType_pskel:: + post_infDataType () + { + } + + bool infDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->id_parser_; + + if (this->id_parser_) + this->id_parser_->pre (); + + return true; + } + + if (n == "roid" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->roid_parser_; + + if (this->roid_parser_) + this->roid_parser_->pre (); + + return true; + } + + if (n == "status" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->status_parser_; + + if (this->status_parser_) + this->status_parser_->pre (); + + return true; + } + + if (n == "postalInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->postalInfo_parser_; + + if (this->postalInfo_parser_) + this->postalInfo_parser_->pre (); + + return true; + } + + if (n == "voice" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->voice_parser_; + + if (this->voice_parser_) + this->voice_parser_->pre (); + + return true; + } + + if (n == "fax" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->fax_parser_; + + if (this->fax_parser_) + this->fax_parser_->pre (); + + return true; + } + + if (n == "email" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->email_parser_; + + if (this->email_parser_) + this->email_parser_->pre (); + + return true; + } + + if (n == "clID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->clID_parser_; + + if (this->clID_parser_) + this->clID_parser_->pre (); + + return true; + } + + if (n == "crID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->crID_parser_; + + if (this->crID_parser_) + this->crID_parser_->pre (); + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->crDate_parser_; + + if (this->crDate_parser_) + this->crDate_parser_->pre (); + + return true; + } + + if (n == "upID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->upID_parser_; + + if (this->upID_parser_) + this->upID_parser_->pre (); + + return true; + } + + if (n == "upDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->upDate_parser_; + + if (this->upDate_parser_) + this->upDate_parser_->pre (); + + return true; + } + + if (n == "trDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->trDate_parser_; + + if (this->trDate_parser_) + this->trDate_parser_->pre (); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->authInfo_parser_; + + if (this->authInfo_parser_) + this->authInfo_parser_->pre (); + + return true; + } + + if (n == "disclose" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->disclose_parser_; + + if (this->disclose_parser_) + this->disclose_parser_->pre (); + + return true; + } + + return false; + } + + bool infDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->id_parser_) + { + this->id_parser_->post_clIDType (); + this->id (); + } + + return true; + } + + if (n == "roid" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->roid_parser_) + { + this->roid_parser_->post_roidType (); + this->roid (); + } + + return true; + } + + if (n == "status" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->status_parser_) + { + this->status_parser_->post_statusType (); + this->status (); + } + + return true; + } + + if (n == "postalInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->postalInfo_parser_) + { + this->postalInfo_parser_->post_postalInfoType (); + this->postalInfo (); + } + + return true; + } + + if (n == "voice" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->voice_parser_) + { + this->voice_parser_->post_e164Type (); + this->voice (); + } + + return true; + } + + if (n == "fax" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->fax_parser_) + { + this->fax_parser_->post_e164Type (); + this->fax (); + } + + return true; + } + + if (n == "email" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->email_parser_) + { + this->email_parser_->post_minTokenType (); + this->email (); + } + + return true; + } + + if (n == "clID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->clID_parser_) + { + this->clID_parser_->post_clIDType (); + this->clID (); + } + + return true; + } + + if (n == "crID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->crID_parser_) + { + this->crID_parser_->post_clIDType (); + this->crID (); + } + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->crDate_parser_) + this->crDate (this->crDate_parser_->post_date_time ()); + + return true; + } + + if (n == "upID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->upID_parser_) + { + this->upID_parser_->post_clIDType (); + this->upID (); + } + + return true; + } + + if (n == "upDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->upDate_parser_) + this->upDate (this->upDate_parser_->post_date_time ()); + + return true; + } + + if (n == "trDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->trDate_parser_) + this->trDate (this->trDate_parser_->post_date_time ()); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->authInfo_parser_) + { + this->authInfo_parser_->post_authInfoType (); + this->authInfo (); + } + + return true; + } + + if (n == "disclose" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->disclose_parser_) + { + this->disclose_parser_->post_discloseType (); + this->disclose (); + } + + return true; + } + + return false; + } + + // statusType_pskel + // + + void statusType_pskel:: + s () + { + } + + void statusType_pskel:: + lang (const ::std::string&) + { + } + + void statusType_pskel:: + post_statusType () + { + } + + bool statusType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::normalized_string_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "s" && ns.empty ()) + { + if (this->s_parser_) + { + this->s_parser_->pre (); + this->s_parser_->_pre_impl (); + this->s_parser_->_characters (v); + this->s_parser_->_post_impl (); + this->s_parser_->post_statusValueType (); + this->s (); + } + + return true; + } + + if (n == "lang" && ns.empty ()) + { + if (this->lang_parser_) + { + this->lang_parser_->pre (); + this->lang_parser_->_pre_impl (); + this->lang_parser_->_characters (v); + this->lang_parser_->_post_impl (); + this->lang (this->lang_parser_->post_language ()); + } + + return true; + } + + return false; + } + + // statusValueType_pskel + // + + void statusValueType_pskel:: + post_statusValueType () + { + } + + // panDataType_pskel + // + + void panDataType_pskel:: + id () + { + } + + void panDataType_pskel:: + paTRID () + { + } + + void panDataType_pskel:: + paDate (const ::xml_schema::date_time&) + { + } + + void panDataType_pskel:: + post_panDataType () + { + } + + bool panDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->id_parser_; + + if (this->id_parser_) + this->id_parser_->pre (); + + return true; + } + + if (n == "paTRID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->paTRID_parser_; + + if (this->paTRID_parser_) + this->paTRID_parser_->pre (); + + return true; + } + + if (n == "paDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->paDate_parser_; + + if (this->paDate_parser_) + this->paDate_parser_->pre (); + + return true; + } + + return false; + } + + bool panDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->id_parser_) + { + this->id_parser_->post_paCLIDType (); + this->id (); + } + + return true; + } + + if (n == "paTRID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->paTRID_parser_) + { + this->paTRID_parser_->post_trIDType (); + this->paTRID (); + } + + return true; + } + + if (n == "paDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->paDate_parser_) + this->paDate (this->paDate_parser_->post_date_time ()); + + return true; + } + + return false; + } + + // paCLIDType_pskel + // + + void paCLIDType_pskel:: + paResult (bool) + { + } + + void paCLIDType_pskel:: + post_paCLIDType () + { + post_clIDType (); + } + + bool paCLIDType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::eppcom_1_0::clIDType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "paResult" && ns.empty ()) + { + if (this->paResult_parser_) + { + this->paResult_parser_->pre (); + this->paResult_parser_->_pre_impl (); + this->paResult_parser_->_characters (v); + this->paResult_parser_->_post_impl (); + this->paResult (this->paResult_parser_->post_boolean ()); + } + + return true; + } + + return false; + } + + // trnDataType_pskel + // + + void trnDataType_pskel:: + id () + { + } + + void trnDataType_pskel:: + trStatus () + { + } + + void trnDataType_pskel:: + reID () + { + } + + void trnDataType_pskel:: + reDate (const ::xml_schema::date_time&) + { + } + + void trnDataType_pskel:: + acID () + { + } + + void trnDataType_pskel:: + acDate (const ::xml_schema::date_time&) + { + } + + void trnDataType_pskel:: + post_trnDataType () + { + } + + bool trnDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->id_parser_; + + if (this->id_parser_) + this->id_parser_->pre (); + + return true; + } + + if (n == "trStatus" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->trStatus_parser_; + + if (this->trStatus_parser_) + this->trStatus_parser_->pre (); + + return true; + } + + if (n == "reID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->reID_parser_; + + if (this->reID_parser_) + this->reID_parser_->pre (); + + return true; + } + + if (n == "reDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->reDate_parser_; + + if (this->reDate_parser_) + this->reDate_parser_->pre (); + + return true; + } + + if (n == "acID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->acID_parser_; + + if (this->acID_parser_) + this->acID_parser_->pre (); + + return true; + } + + if (n == "acDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->acDate_parser_; + + if (this->acDate_parser_) + this->acDate_parser_->pre (); + + return true; + } + + return false; + } + + bool trnDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "id" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->id_parser_) + { + this->id_parser_->post_clIDType (); + this->id (); + } + + return true; + } + + if (n == "trStatus" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->trStatus_parser_) + { + this->trStatus_parser_->post_trStatusType (); + this->trStatus (); + } + + return true; + } + + if (n == "reID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->reID_parser_) + { + this->reID_parser_->post_clIDType (); + this->reID (); + } + + return true; + } + + if (n == "reDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->reDate_parser_) + this->reDate (this->reDate_parser_->post_date_time ()); + + return true; + } + + if (n == "acID" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->acID_parser_) + { + this->acID_parser_->post_clIDType (); + this->acID (); + } + + return true; + } + + if (n == "acDate" && ns == "urn:ietf:params:xml:ns:contact-1.0") + { + if (this->acDate_parser_) + this->acDate (this->acDate_parser_->post_date_time ()); + + return true; + } + + return false; + } +} + +// Begin epilogue. +// +// +// End epilogue. + diff --git a/APIG/client/domain-1.0.cpp b/APIG/client/domain-1.0.cpp new file mode 100644 index 0000000..7af1bba --- /dev/null +++ b/APIG/client/domain-1.0.cpp @@ -0,0 +1,3659 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +// Begin prologue. +// +// +// End prologue. + +#include "domain-1.0-pskel.hxx" + +namespace domain_1_0 +{ + // createType_pskel + // + + void createType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void createType_pskel:: + period_parser (::domain_1_0::periodType_pskel& p) + { + this->period_parser_ = &p; + } + + void createType_pskel:: + ns_parser (::domain_1_0::nsType_pskel& p) + { + this->ns_parser_ = &p; + } + + void createType_pskel:: + registrant_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->registrant_parser_ = &p; + } + + void createType_pskel:: + contact_parser (::domain_1_0::contactType_pskel& p) + { + this->contact_parser_ = &p; + } + + void createType_pskel:: + authInfo_parser (::domain_1_0::authInfoType_pskel& p) + { + this->authInfo_parser_ = &p; + } + + void createType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::domain_1_0::periodType_pskel& period, + ::domain_1_0::nsType_pskel& ns, + ::eppcom_1_0::clIDType_pskel& registrant, + ::domain_1_0::contactType_pskel& contact, + ::domain_1_0::authInfoType_pskel& authInfo) + { + this->name_parser_ = &name; + this->period_parser_ = . + this->ns_parser_ = &ns; + this->registrant_parser_ = ®istrant; + this->contact_parser_ = &contact; + this->authInfo_parser_ = &authInfo; + } + + createType_pskel:: + createType_pskel () + : name_parser_ (0), + period_parser_ (0), + ns_parser_ (0), + registrant_parser_ (0), + contact_parser_ (0), + authInfo_parser_ (0) + { + } + + // periodType_pskel + // + + void periodType_pskel:: + unit_parser (::domain_1_0::pUnitType_pskel& p) + { + this->unit_parser_ = &p; + } + + void periodType_pskel:: + parsers (::domain_1_0::pUnitType_pskel& unit) + { + this->unit_parser_ = &unit; + } + + periodType_pskel:: + periodType_pskel () + : unit_parser_ (0) + { + } + + // nsType_pskel + // + + void nsType_pskel:: + hostObj_parser (::eppcom_1_0::labelType_pskel& p) + { + this->hostObj_parser_ = &p; + } + + void nsType_pskel:: + hostAttr_parser (::domain_1_0::hostAttrType_pskel& p) + { + this->hostAttr_parser_ = &p; + } + + void nsType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& hostObj, + ::domain_1_0::hostAttrType_pskel& hostAttr) + { + this->hostObj_parser_ = &hostObj; + this->hostAttr_parser_ = &hostAttr; + } + + nsType_pskel:: + nsType_pskel () + : hostObj_parser_ (0), + hostAttr_parser_ (0) + { + } + + // hostAttrType_pskel + // + + void hostAttrType_pskel:: + hostName_parser (::eppcom_1_0::labelType_pskel& p) + { + this->hostName_parser_ = &p; + } + + void hostAttrType_pskel:: + hostAddr_parser (::host_1_0::addrType_pskel& p) + { + this->hostAddr_parser_ = &p; + } + + void hostAttrType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& hostName, + ::host_1_0::addrType_pskel& hostAddr) + { + this->hostName_parser_ = &hostName; + this->hostAddr_parser_ = &hostAddr; + } + + hostAttrType_pskel:: + hostAttrType_pskel () + : hostName_parser_ (0), + hostAddr_parser_ (0) + { + } + + // contactType_pskel + // + + void contactType_pskel:: + type_parser (::domain_1_0::contactAttrType_pskel& p) + { + this->type_parser_ = &p; + } + + void contactType_pskel:: + parsers (::domain_1_0::contactAttrType_pskel& type) + { + this->type_parser_ = &type; + } + + contactType_pskel:: + contactType_pskel () + : type_parser_ (0) + { + } + + // authInfoType_pskel + // + + void authInfoType_pskel:: + pw_parser (::eppcom_1_0::pwAuthInfoType_pskel& p) + { + this->pw_parser_ = &p; + } + + void authInfoType_pskel:: + ext_parser (::eppcom_1_0::extAuthInfoType_pskel& p) + { + this->ext_parser_ = &p; + } + + void authInfoType_pskel:: + parsers (::eppcom_1_0::pwAuthInfoType_pskel& pw, + ::eppcom_1_0::extAuthInfoType_pskel& ext) + { + this->pw_parser_ = &pw; + this->ext_parser_ = &ext; + } + + authInfoType_pskel:: + authInfoType_pskel () + : pw_parser_ (0), + ext_parser_ (0) + { + } + + // sNameType_pskel + // + + void sNameType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void sNameType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name) + { + this->name_parser_ = &name; + } + + sNameType_pskel:: + sNameType_pskel () + : name_parser_ (0) + { + } + + // mNameType_pskel + // + + void mNameType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void mNameType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name) + { + this->name_parser_ = &name; + } + + mNameType_pskel:: + mNameType_pskel () + : name_parser_ (0) + { + } + + // infoType_pskel + // + + void infoType_pskel:: + name_parser (::domain_1_0::infoNameType_pskel& p) + { + this->name_parser_ = &p; + } + + void infoType_pskel:: + authInfo_parser (::domain_1_0::authInfoType_pskel& p) + { + this->authInfo_parser_ = &p; + } + + void infoType_pskel:: + parsers (::domain_1_0::infoNameType_pskel& name, + ::domain_1_0::authInfoType_pskel& authInfo) + { + this->name_parser_ = &name; + this->authInfo_parser_ = &authInfo; + } + + infoType_pskel:: + infoType_pskel () + : name_parser_ (0), + authInfo_parser_ (0) + { + } + + // infoNameType_pskel + // + + void infoNameType_pskel:: + hosts_parser (::domain_1_0::hostsType_pskel& p) + { + this->hosts_parser_ = &p; + } + + void infoNameType_pskel:: + parsers (::domain_1_0::hostsType_pskel& hosts) + { + this->hosts_parser_ = &hosts; + } + + infoNameType_pskel:: + infoNameType_pskel () + : hosts_parser_ (0) + { + } + + // renewType_pskel + // + + void renewType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void renewType_pskel:: + curExpDate_parser (::xml_schema::date_pskel& p) + { + this->curExpDate_parser_ = &p; + } + + void renewType_pskel:: + period_parser (::domain_1_0::periodType_pskel& p) + { + this->period_parser_ = &p; + } + + void renewType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::xml_schema::date_pskel& curExpDate, + ::domain_1_0::periodType_pskel& period) + { + this->name_parser_ = &name; + this->curExpDate_parser_ = &curExpDate; + this->period_parser_ = . + } + + renewType_pskel:: + renewType_pskel () + : name_parser_ (0), + curExpDate_parser_ (0), + period_parser_ (0) + { + } + + // transferType_pskel + // + + void transferType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void transferType_pskel:: + period_parser (::domain_1_0::periodType_pskel& p) + { + this->period_parser_ = &p; + } + + void transferType_pskel:: + authInfo_parser (::domain_1_0::authInfoType_pskel& p) + { + this->authInfo_parser_ = &p; + } + + void transferType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::domain_1_0::periodType_pskel& period, + ::domain_1_0::authInfoType_pskel& authInfo) + { + this->name_parser_ = &name; + this->period_parser_ = . + this->authInfo_parser_ = &authInfo; + } + + transferType_pskel:: + transferType_pskel () + : name_parser_ (0), + period_parser_ (0), + authInfo_parser_ (0) + { + } + + // updateType_pskel + // + + void updateType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void updateType_pskel:: + add_parser (::domain_1_0::addRemType_pskel& p) + { + this->add_parser_ = &p; + } + + void updateType_pskel:: + rem_parser (::domain_1_0::addRemType_pskel& p) + { + this->rem_parser_ = &p; + } + + void updateType_pskel:: + chg_parser (::domain_1_0::chgType_pskel& p) + { + this->chg_parser_ = &p; + } + + void updateType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::domain_1_0::addRemType_pskel& add, + ::domain_1_0::addRemType_pskel& rem, + ::domain_1_0::chgType_pskel& chg) + { + this->name_parser_ = &name; + this->add_parser_ = &add; + this->rem_parser_ = &rem; + this->chg_parser_ = &chg; + } + + updateType_pskel:: + updateType_pskel () + : name_parser_ (0), + add_parser_ (0), + rem_parser_ (0), + chg_parser_ (0) + { + } + + // addRemType_pskel + // + + void addRemType_pskel:: + ns_parser (::domain_1_0::nsType_pskel& p) + { + this->ns_parser_ = &p; + } + + void addRemType_pskel:: + contact_parser (::domain_1_0::contactType_pskel& p) + { + this->contact_parser_ = &p; + } + + void addRemType_pskel:: + status_parser (::domain_1_0::statusType_pskel& p) + { + this->status_parser_ = &p; + } + + void addRemType_pskel:: + parsers (::domain_1_0::nsType_pskel& ns, + ::domain_1_0::contactType_pskel& contact, + ::domain_1_0::statusType_pskel& status) + { + this->ns_parser_ = &ns; + this->contact_parser_ = &contact; + this->status_parser_ = &status; + } + + addRemType_pskel:: + addRemType_pskel () + : ns_parser_ (0), + contact_parser_ (0), + status_parser_ (0) + { + } + + // chgType_pskel + // + + void chgType_pskel:: + registrant_parser (::domain_1_0::clIDChgType_pskel& p) + { + this->registrant_parser_ = &p; + } + + void chgType_pskel:: + authInfo_parser (::domain_1_0::authInfoChgType_pskel& p) + { + this->authInfo_parser_ = &p; + } + + void chgType_pskel:: + parsers (::domain_1_0::clIDChgType_pskel& registrant, + ::domain_1_0::authInfoChgType_pskel& authInfo) + { + this->registrant_parser_ = ®istrant; + this->authInfo_parser_ = &authInfo; + } + + chgType_pskel:: + chgType_pskel () + : registrant_parser_ (0), + authInfo_parser_ (0) + { + } + + // authInfoChgType_pskel + // + + void authInfoChgType_pskel:: + pw_parser (::eppcom_1_0::pwAuthInfoType_pskel& p) + { + this->pw_parser_ = &p; + } + + void authInfoChgType_pskel:: + ext_parser (::eppcom_1_0::extAuthInfoType_pskel& p) + { + this->ext_parser_ = &p; + } + + void authInfoChgType_pskel:: + null_parser (::xml_schema::any_type_pskel& p) + { + this->null_parser_ = &p; + } + + void authInfoChgType_pskel:: + parsers (::eppcom_1_0::pwAuthInfoType_pskel& pw, + ::eppcom_1_0::extAuthInfoType_pskel& ext, + ::xml_schema::any_type_pskel& null) + { + this->pw_parser_ = &pw; + this->ext_parser_ = &ext; + this->null_parser_ = &null; + } + + authInfoChgType_pskel:: + authInfoChgType_pskel () + : pw_parser_ (0), + ext_parser_ (0), + null_parser_ (0) + { + } + + // chkDataType_pskel + // + + void chkDataType_pskel:: + cd_parser (::domain_1_0::checkType_pskel& p) + { + this->cd_parser_ = &p; + } + + void chkDataType_pskel:: + parsers (::domain_1_0::checkType_pskel& cd) + { + this->cd_parser_ = &cd; + } + + chkDataType_pskel:: + chkDataType_pskel () + : cd_parser_ (0) + { + } + + // checkType_pskel + // + + void checkType_pskel:: + name_parser (::domain_1_0::checkNameType_pskel& p) + { + this->name_parser_ = &p; + } + + void checkType_pskel:: + reason_parser (::eppcom_1_0::reasonType_pskel& p) + { + this->reason_parser_ = &p; + } + + void checkType_pskel:: + parsers (::domain_1_0::checkNameType_pskel& name, + ::eppcom_1_0::reasonType_pskel& reason) + { + this->name_parser_ = &name; + this->reason_parser_ = &reason; + } + + checkType_pskel:: + checkType_pskel () + : name_parser_ (0), + reason_parser_ (0) + { + } + + // checkNameType_pskel + // + + void checkNameType_pskel:: + avail_parser (::xml_schema::boolean_pskel& p) + { + this->avail_parser_ = &p; + } + + void checkNameType_pskel:: + parsers (::xml_schema::boolean_pskel& avail) + { + this->avail_parser_ = &avail; + } + + checkNameType_pskel:: + checkNameType_pskel () + : avail_parser_ (0) + { + } + + // creDataType_pskel + // + + void creDataType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void creDataType_pskel:: + crDate_parser (::xml_schema::date_time_pskel& p) + { + this->crDate_parser_ = &p; + } + + void creDataType_pskel:: + exDate_parser (::xml_schema::date_time_pskel& p) + { + this->exDate_parser_ = &p; + } + + void creDataType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::xml_schema::date_time_pskel& crDate, + ::xml_schema::date_time_pskel& exDate) + { + this->name_parser_ = &name; + this->crDate_parser_ = &crDate; + this->exDate_parser_ = &exDate; + } + + creDataType_pskel:: + creDataType_pskel () + : name_parser_ (0), + crDate_parser_ (0), + exDate_parser_ (0) + { + } + + // infDataType_pskel + // + + void infDataType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void infDataType_pskel:: + roid_parser (::eppcom_1_0::roidType_pskel& p) + { + this->roid_parser_ = &p; + } + + void infDataType_pskel:: + status_parser (::domain_1_0::statusType_pskel& p) + { + this->status_parser_ = &p; + } + + void infDataType_pskel:: + registrant_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->registrant_parser_ = &p; + } + + void infDataType_pskel:: + contact_parser (::domain_1_0::contactType_pskel& p) + { + this->contact_parser_ = &p; + } + + void infDataType_pskel:: + ns_parser (::domain_1_0::nsType_pskel& p) + { + this->ns_parser_ = &p; + } + + void infDataType_pskel:: + host_parser (::eppcom_1_0::labelType_pskel& p) + { + this->host_parser_ = &p; + } + + void infDataType_pskel:: + clID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->clID_parser_ = &p; + } + + void infDataType_pskel:: + crID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->crID_parser_ = &p; + } + + void infDataType_pskel:: + crDate_parser (::xml_schema::date_time_pskel& p) + { + this->crDate_parser_ = &p; + } + + void infDataType_pskel:: + upID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->upID_parser_ = &p; + } + + void infDataType_pskel:: + upDate_parser (::xml_schema::date_time_pskel& p) + { + this->upDate_parser_ = &p; + } + + void infDataType_pskel:: + exDate_parser (::xml_schema::date_time_pskel& p) + { + this->exDate_parser_ = &p; + } + + void infDataType_pskel:: + trDate_parser (::xml_schema::date_time_pskel& p) + { + this->trDate_parser_ = &p; + } + + void infDataType_pskel:: + authInfo_parser (::domain_1_0::authInfoType_pskel& p) + { + this->authInfo_parser_ = &p; + } + + void infDataType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::eppcom_1_0::roidType_pskel& roid, + ::domain_1_0::statusType_pskel& status, + ::eppcom_1_0::clIDType_pskel& registrant, + ::domain_1_0::contactType_pskel& contact, + ::domain_1_0::nsType_pskel& ns, + ::eppcom_1_0::labelType_pskel& host, + ::eppcom_1_0::clIDType_pskel& clID, + ::eppcom_1_0::clIDType_pskel& crID, + ::xml_schema::date_time_pskel& crDate, + ::eppcom_1_0::clIDType_pskel& upID, + ::xml_schema::date_time_pskel& upDate, + ::xml_schema::date_time_pskel& exDate, + ::xml_schema::date_time_pskel& trDate, + ::domain_1_0::authInfoType_pskel& authInfo) + { + this->name_parser_ = &name; + this->roid_parser_ = &roid; + this->status_parser_ = &status; + this->registrant_parser_ = ®istrant; + this->contact_parser_ = &contact; + this->ns_parser_ = &ns; + this->host_parser_ = &host; + this->clID_parser_ = &clID; + this->crID_parser_ = &crID; + this->crDate_parser_ = &crDate; + this->upID_parser_ = &upID; + this->upDate_parser_ = &upDate; + this->exDate_parser_ = &exDate; + this->trDate_parser_ = &trDate; + this->authInfo_parser_ = &authInfo; + } + + infDataType_pskel:: + infDataType_pskel () + : name_parser_ (0), + roid_parser_ (0), + status_parser_ (0), + registrant_parser_ (0), + contact_parser_ (0), + ns_parser_ (0), + host_parser_ (0), + clID_parser_ (0), + crID_parser_ (0), + crDate_parser_ (0), + upID_parser_ (0), + upDate_parser_ (0), + exDate_parser_ (0), + trDate_parser_ (0), + authInfo_parser_ (0) + { + } + + // statusType_pskel + // + + void statusType_pskel:: + s_parser (::domain_1_0::statusValueType_pskel& p) + { + this->s_parser_ = &p; + } + + void statusType_pskel:: + lang_parser (::xml_schema::language_pskel& p) + { + this->lang_parser_ = &p; + } + + void statusType_pskel:: + parsers (::domain_1_0::statusValueType_pskel& s, + ::xml_schema::language_pskel& lang) + { + this->s_parser_ = &s; + this->lang_parser_ = ⟨ + } + + statusType_pskel:: + statusType_pskel () + : s_parser_ (0), + lang_parser_ (0) + { + } + + // panDataType_pskel + // + + void panDataType_pskel:: + name_parser (::domain_1_0::paNameType_pskel& p) + { + this->name_parser_ = &p; + } + + void panDataType_pskel:: + paTRID_parser (::epp_1_0::trIDType_pskel& p) + { + this->paTRID_parser_ = &p; + } + + void panDataType_pskel:: + paDate_parser (::xml_schema::date_time_pskel& p) + { + this->paDate_parser_ = &p; + } + + void panDataType_pskel:: + parsers (::domain_1_0::paNameType_pskel& name, + ::epp_1_0::trIDType_pskel& paTRID, + ::xml_schema::date_time_pskel& paDate) + { + this->name_parser_ = &name; + this->paTRID_parser_ = &paTRID; + this->paDate_parser_ = &paDate; + } + + panDataType_pskel:: + panDataType_pskel () + : name_parser_ (0), + paTRID_parser_ (0), + paDate_parser_ (0) + { + } + + // paNameType_pskel + // + + void paNameType_pskel:: + paResult_parser (::xml_schema::boolean_pskel& p) + { + this->paResult_parser_ = &p; + } + + void paNameType_pskel:: + parsers (::xml_schema::boolean_pskel& paResult) + { + this->paResult_parser_ = &paResult; + } + + paNameType_pskel:: + paNameType_pskel () + : paResult_parser_ (0) + { + } + + // renDataType_pskel + // + + void renDataType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void renDataType_pskel:: + exDate_parser (::xml_schema::date_time_pskel& p) + { + this->exDate_parser_ = &p; + } + + void renDataType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::xml_schema::date_time_pskel& exDate) + { + this->name_parser_ = &name; + this->exDate_parser_ = &exDate; + } + + renDataType_pskel:: + renDataType_pskel () + : name_parser_ (0), + exDate_parser_ (0) + { + } + + // trnDataType_pskel + // + + void trnDataType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void trnDataType_pskel:: + trStatus_parser (::eppcom_1_0::trStatusType_pskel& p) + { + this->trStatus_parser_ = &p; + } + + void trnDataType_pskel:: + reID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->reID_parser_ = &p; + } + + void trnDataType_pskel:: + reDate_parser (::xml_schema::date_time_pskel& p) + { + this->reDate_parser_ = &p; + } + + void trnDataType_pskel:: + acID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->acID_parser_ = &p; + } + + void trnDataType_pskel:: + acDate_parser (::xml_schema::date_time_pskel& p) + { + this->acDate_parser_ = &p; + } + + void trnDataType_pskel:: + exDate_parser (::xml_schema::date_time_pskel& p) + { + this->exDate_parser_ = &p; + } + + void trnDataType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::eppcom_1_0::trStatusType_pskel& trStatus, + ::eppcom_1_0::clIDType_pskel& reID, + ::xml_schema::date_time_pskel& reDate, + ::eppcom_1_0::clIDType_pskel& acID, + ::xml_schema::date_time_pskel& acDate, + ::xml_schema::date_time_pskel& exDate) + { + this->name_parser_ = &name; + this->trStatus_parser_ = &trStatus; + this->reID_parser_ = &reID; + this->reDate_parser_ = &reDate; + this->acID_parser_ = &acID; + this->acDate_parser_ = &acDate; + this->exDate_parser_ = &exDate; + } + + trnDataType_pskel:: + trnDataType_pskel () + : name_parser_ (0), + trStatus_parser_ (0), + reID_parser_ (0), + reDate_parser_ (0), + acID_parser_ (0), + acDate_parser_ (0), + exDate_parser_ (0) + { + } +} + +namespace domain_1_0 +{ + // createType_pskel + // + + void createType_pskel:: + name () + { + } + + void createType_pskel:: + period () + { + } + + void createType_pskel:: + ns () + { + } + + void createType_pskel:: + registrant () + { + } + + void createType_pskel:: + contact () + { + } + + void createType_pskel:: + authInfo () + { + } + + void createType_pskel:: + post_createType () + { + } + + bool createType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "period" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->period_parser_; + + if (this->period_parser_) + this->period_parser_->pre (); + + return true; + } + + if (n == "ns" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->ns_parser_; + + if (this->ns_parser_) + this->ns_parser_->pre (); + + return true; + } + + if (n == "registrant" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->registrant_parser_; + + if (this->registrant_parser_) + this->registrant_parser_->pre (); + + return true; + } + + if (n == "contact" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->contact_parser_; + + if (this->contact_parser_) + this->contact_parser_->pre (); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->authInfo_parser_; + + if (this->authInfo_parser_) + this->authInfo_parser_->pre (); + + return true; + } + + return false; + } + + bool createType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "period" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->period_parser_) + { + this->period_parser_->post_periodType (); + this->period (); + } + + return true; + } + + if (n == "ns" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->ns_parser_) + { + this->ns_parser_->post_nsType (); + this->ns (); + } + + return true; + } + + if (n == "registrant" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->registrant_parser_) + { + this->registrant_parser_->post_clIDType (); + this->registrant (); + } + + return true; + } + + if (n == "contact" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->contact_parser_) + { + this->contact_parser_->post_contactType (); + this->contact (); + } + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->authInfo_parser_) + { + this->authInfo_parser_->post_authInfoType (); + this->authInfo (); + } + + return true; + } + + return false; + } + + // pLimitType_pskel + // + + void pLimitType_pskel:: + post_pLimitType () + { + } + + // periodType_pskel + // + + void periodType_pskel:: + unit () + { + } + + void periodType_pskel:: + post_periodType () + { + post_pLimitType (); + } + + bool periodType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::domain_1_0::pLimitType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "unit" && ns.empty ()) + { + if (this->unit_parser_) + { + this->unit_parser_->pre (); + this->unit_parser_->_pre_impl (); + this->unit_parser_->_characters (v); + this->unit_parser_->_post_impl (); + this->unit_parser_->post_pUnitType (); + this->unit (); + } + + return true; + } + + return false; + } + + // pUnitType_pskel + // + + void pUnitType_pskel:: + post_pUnitType () + { + } + + // nsType_pskel + // + + void nsType_pskel:: + hostObj () + { + } + + void nsType_pskel:: + hostAttr () + { + } + + void nsType_pskel:: + post_nsType () + { + } + + bool nsType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "hostObj" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->hostObj_parser_; + + if (this->hostObj_parser_) + this->hostObj_parser_->pre (); + + return true; + } + + if (n == "hostAttr" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->hostAttr_parser_; + + if (this->hostAttr_parser_) + this->hostAttr_parser_->pre (); + + return true; + } + + return false; + } + + bool nsType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "hostObj" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->hostObj_parser_) + { + this->hostObj_parser_->post_labelType (); + this->hostObj (); + } + + return true; + } + + if (n == "hostAttr" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->hostAttr_parser_) + { + this->hostAttr_parser_->post_hostAttrType (); + this->hostAttr (); + } + + return true; + } + + return false; + } + + // hostAttrType_pskel + // + + void hostAttrType_pskel:: + hostName () + { + } + + void hostAttrType_pskel:: + hostAddr () + { + } + + void hostAttrType_pskel:: + post_hostAttrType () + { + } + + bool hostAttrType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "hostName" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->hostName_parser_; + + if (this->hostName_parser_) + this->hostName_parser_->pre (); + + return true; + } + + if (n == "hostAddr" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->hostAddr_parser_; + + if (this->hostAddr_parser_) + this->hostAddr_parser_->pre (); + + return true; + } + + return false; + } + + bool hostAttrType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "hostName" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->hostName_parser_) + { + this->hostName_parser_->post_labelType (); + this->hostName (); + } + + return true; + } + + if (n == "hostAddr" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->hostAddr_parser_) + { + this->hostAddr_parser_->post_addrType (); + this->hostAddr (); + } + + return true; + } + + return false; + } + + // contactType_pskel + // + + void contactType_pskel:: + type () + { + } + + void contactType_pskel:: + post_contactType () + { + post_clIDType (); + } + + bool contactType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::eppcom_1_0::clIDType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "type" && ns.empty ()) + { + if (this->type_parser_) + { + this->type_parser_->pre (); + this->type_parser_->_pre_impl (); + this->type_parser_->_characters (v); + this->type_parser_->_post_impl (); + this->type_parser_->post_contactAttrType (); + this->type (); + } + + return true; + } + + return false; + } + + // contactAttrType_pskel + // + + void contactAttrType_pskel:: + post_contactAttrType () + { + } + + // authInfoType_pskel + // + + void authInfoType_pskel:: + pw () + { + } + + void authInfoType_pskel:: + ext () + { + } + + void authInfoType_pskel:: + post_authInfoType () + { + } + + bool authInfoType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "pw" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->pw_parser_; + + if (this->pw_parser_) + this->pw_parser_->pre (); + + return true; + } + + if (n == "ext" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->ext_parser_; + + if (this->ext_parser_) + this->ext_parser_->pre (); + + return true; + } + + return false; + } + + bool authInfoType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "pw" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->pw_parser_) + { + this->pw_parser_->post_pwAuthInfoType (); + this->pw (); + } + + return true; + } + + if (n == "ext" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->ext_parser_) + { + this->ext_parser_->post_extAuthInfoType (); + this->ext (); + } + + return true; + } + + return false; + } + + // sNameType_pskel + // + + void sNameType_pskel:: + name () + { + } + + void sNameType_pskel:: + post_sNameType () + { + } + + bool sNameType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + return false; + } + + bool sNameType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + return false; + } + + // mNameType_pskel + // + + void mNameType_pskel:: + name () + { + } + + void mNameType_pskel:: + post_mNameType () + { + } + + bool mNameType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + return false; + } + + bool mNameType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + return false; + } + + // infoType_pskel + // + + void infoType_pskel:: + name () + { + } + + void infoType_pskel:: + authInfo () + { + } + + void infoType_pskel:: + post_infoType () + { + } + + bool infoType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->authInfo_parser_; + + if (this->authInfo_parser_) + this->authInfo_parser_->pre (); + + return true; + } + + return false; + } + + bool infoType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_infoNameType (); + this->name (); + } + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->authInfo_parser_) + { + this->authInfo_parser_->post_authInfoType (); + this->authInfo (); + } + + return true; + } + + return false; + } + + // infoNameType_pskel + // + + void infoNameType_pskel:: + hosts () + { + } + + void infoNameType_pskel:: + post_infoNameType () + { + post_labelType (); + } + + bool infoNameType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::eppcom_1_0::labelType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "hosts" && ns.empty ()) + { + if (this->hosts_parser_) + { + this->hosts_parser_->pre (); + this->hosts_parser_->_pre_impl (); + this->hosts_parser_->_characters (v); + this->hosts_parser_->_post_impl (); + this->hosts_parser_->post_hostsType (); + this->hosts (); + } + + return true; + } + + return false; + } + + // hostsType_pskel + // + + void hostsType_pskel:: + post_hostsType () + { + } + + // renewType_pskel + // + + void renewType_pskel:: + name () + { + } + + void renewType_pskel:: + curExpDate (const ::xml_schema::date&) + { + } + + void renewType_pskel:: + period () + { + } + + void renewType_pskel:: + post_renewType () + { + } + + bool renewType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "curExpDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->curExpDate_parser_; + + if (this->curExpDate_parser_) + this->curExpDate_parser_->pre (); + + return true; + } + + if (n == "period" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->period_parser_; + + if (this->period_parser_) + this->period_parser_->pre (); + + return true; + } + + return false; + } + + bool renewType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "curExpDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->curExpDate_parser_) + this->curExpDate (this->curExpDate_parser_->post_date ()); + + return true; + } + + if (n == "period" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->period_parser_) + { + this->period_parser_->post_periodType (); + this->period (); + } + + return true; + } + + return false; + } + + // transferType_pskel + // + + void transferType_pskel:: + name () + { + } + + void transferType_pskel:: + period () + { + } + + void transferType_pskel:: + authInfo () + { + } + + void transferType_pskel:: + post_transferType () + { + } + + bool transferType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "period" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->period_parser_; + + if (this->period_parser_) + this->period_parser_->pre (); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->authInfo_parser_; + + if (this->authInfo_parser_) + this->authInfo_parser_->pre (); + + return true; + } + + return false; + } + + bool transferType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "period" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->period_parser_) + { + this->period_parser_->post_periodType (); + this->period (); + } + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->authInfo_parser_) + { + this->authInfo_parser_->post_authInfoType (); + this->authInfo (); + } + + return true; + } + + return false; + } + + // updateType_pskel + // + + void updateType_pskel:: + name () + { + } + + void updateType_pskel:: + add () + { + } + + void updateType_pskel:: + rem () + { + } + + void updateType_pskel:: + chg () + { + } + + void updateType_pskel:: + post_updateType () + { + } + + bool updateType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "add" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->add_parser_; + + if (this->add_parser_) + this->add_parser_->pre (); + + return true; + } + + if (n == "rem" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->rem_parser_; + + if (this->rem_parser_) + this->rem_parser_->pre (); + + return true; + } + + if (n == "chg" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->chg_parser_; + + if (this->chg_parser_) + this->chg_parser_->pre (); + + return true; + } + + return false; + } + + bool updateType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "add" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->add_parser_) + { + this->add_parser_->post_addRemType (); + this->add (); + } + + return true; + } + + if (n == "rem" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->rem_parser_) + { + this->rem_parser_->post_addRemType (); + this->rem (); + } + + return true; + } + + if (n == "chg" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->chg_parser_) + { + this->chg_parser_->post_chgType (); + this->chg (); + } + + return true; + } + + return false; + } + + // addRemType_pskel + // + + void addRemType_pskel:: + ns () + { + } + + void addRemType_pskel:: + contact () + { + } + + void addRemType_pskel:: + status () + { + } + + void addRemType_pskel:: + post_addRemType () + { + } + + bool addRemType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "ns" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->ns_parser_; + + if (this->ns_parser_) + this->ns_parser_->pre (); + + return true; + } + + if (n == "contact" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->contact_parser_; + + if (this->contact_parser_) + this->contact_parser_->pre (); + + return true; + } + + if (n == "status" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->status_parser_; + + if (this->status_parser_) + this->status_parser_->pre (); + + return true; + } + + return false; + } + + bool addRemType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "ns" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->ns_parser_) + { + this->ns_parser_->post_nsType (); + this->ns (); + } + + return true; + } + + if (n == "contact" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->contact_parser_) + { + this->contact_parser_->post_contactType (); + this->contact (); + } + + return true; + } + + if (n == "status" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->status_parser_) + { + this->status_parser_->post_statusType (); + this->status (); + } + + return true; + } + + return false; + } + + // chgType_pskel + // + + void chgType_pskel:: + registrant () + { + } + + void chgType_pskel:: + authInfo () + { + } + + void chgType_pskel:: + post_chgType () + { + } + + bool chgType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "registrant" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->registrant_parser_; + + if (this->registrant_parser_) + this->registrant_parser_->pre (); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->authInfo_parser_; + + if (this->authInfo_parser_) + this->authInfo_parser_->pre (); + + return true; + } + + return false; + } + + bool chgType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "registrant" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->registrant_parser_) + { + this->registrant_parser_->post_clIDChgType (); + this->registrant (); + } + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->authInfo_parser_) + { + this->authInfo_parser_->post_authInfoChgType (); + this->authInfo (); + } + + return true; + } + + return false; + } + + // clIDChgType_pskel + // + + void clIDChgType_pskel:: + post_clIDChgType () + { + } + + // authInfoChgType_pskel + // + + void authInfoChgType_pskel:: + pw () + { + } + + void authInfoChgType_pskel:: + ext () + { + } + + void authInfoChgType_pskel:: + null () + { + } + + void authInfoChgType_pskel:: + post_authInfoChgType () + { + } + + bool authInfoChgType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "pw" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->pw_parser_; + + if (this->pw_parser_) + this->pw_parser_->pre (); + + return true; + } + + if (n == "ext" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->ext_parser_; + + if (this->ext_parser_) + this->ext_parser_->pre (); + + return true; + } + + if (n == "null" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->null_parser_; + + if (this->null_parser_) + this->null_parser_->pre (); + + return true; + } + + return false; + } + + bool authInfoChgType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "pw" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->pw_parser_) + { + this->pw_parser_->post_pwAuthInfoType (); + this->pw (); + } + + return true; + } + + if (n == "ext" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->ext_parser_) + { + this->ext_parser_->post_extAuthInfoType (); + this->ext (); + } + + return true; + } + + if (n == "null" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->null_parser_) + { + this->null_parser_->post_any_type (); + this->null (); + } + + return true; + } + + return false; + } + + // chkDataType_pskel + // + + void chkDataType_pskel:: + cd () + { + } + + void chkDataType_pskel:: + post_chkDataType () + { + } + + bool chkDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "cd" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->cd_parser_; + + if (this->cd_parser_) + this->cd_parser_->pre (); + + return true; + } + + return false; + } + + bool chkDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "cd" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->cd_parser_) + { + this->cd_parser_->post_checkType (); + this->cd (); + } + + return true; + } + + return false; + } + + // checkType_pskel + // + + void checkType_pskel:: + name () + { + } + + void checkType_pskel:: + reason () + { + } + + void checkType_pskel:: + post_checkType () + { + } + + bool checkType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "reason" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->reason_parser_; + + if (this->reason_parser_) + this->reason_parser_->pre (); + + return true; + } + + return false; + } + + bool checkType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_checkNameType (); + this->name (); + } + + return true; + } + + if (n == "reason" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->reason_parser_) + { + this->reason_parser_->post_reasonType (); + this->reason (); + } + + return true; + } + + return false; + } + + // checkNameType_pskel + // + + void checkNameType_pskel:: + avail (bool) + { + } + + void checkNameType_pskel:: + post_checkNameType () + { + post_labelType (); + } + + bool checkNameType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::eppcom_1_0::labelType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "avail" && ns.empty ()) + { + if (this->avail_parser_) + { + this->avail_parser_->pre (); + this->avail_parser_->_pre_impl (); + this->avail_parser_->_characters (v); + this->avail_parser_->_post_impl (); + this->avail (this->avail_parser_->post_boolean ()); + } + + return true; + } + + return false; + } + + // creDataType_pskel + // + + void creDataType_pskel:: + name () + { + } + + void creDataType_pskel:: + crDate (const ::xml_schema::date_time&) + { + } + + void creDataType_pskel:: + exDate (const ::xml_schema::date_time&) + { + } + + void creDataType_pskel:: + post_creDataType () + { + } + + bool creDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->crDate_parser_; + + if (this->crDate_parser_) + this->crDate_parser_->pre (); + + return true; + } + + if (n == "exDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->exDate_parser_; + + if (this->exDate_parser_) + this->exDate_parser_->pre (); + + return true; + } + + return false; + } + + bool creDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->crDate_parser_) + this->crDate (this->crDate_parser_->post_date_time ()); + + return true; + } + + if (n == "exDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->exDate_parser_) + this->exDate (this->exDate_parser_->post_date_time ()); + + return true; + } + + return false; + } + + // infDataType_pskel + // + + void infDataType_pskel:: + name () + { + } + + void infDataType_pskel:: + roid () + { + } + + void infDataType_pskel:: + status () + { + } + + void infDataType_pskel:: + registrant () + { + } + + void infDataType_pskel:: + contact () + { + } + + void infDataType_pskel:: + ns () + { + } + + void infDataType_pskel:: + host () + { + } + + void infDataType_pskel:: + clID () + { + } + + void infDataType_pskel:: + crID () + { + } + + void infDataType_pskel:: + crDate (const ::xml_schema::date_time&) + { + } + + void infDataType_pskel:: + upID () + { + } + + void infDataType_pskel:: + upDate (const ::xml_schema::date_time&) + { + } + + void infDataType_pskel:: + exDate (const ::xml_schema::date_time&) + { + } + + void infDataType_pskel:: + trDate (const ::xml_schema::date_time&) + { + } + + void infDataType_pskel:: + authInfo () + { + } + + void infDataType_pskel:: + post_infDataType () + { + } + + bool infDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "roid" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->roid_parser_; + + if (this->roid_parser_) + this->roid_parser_->pre (); + + return true; + } + + if (n == "status" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->status_parser_; + + if (this->status_parser_) + this->status_parser_->pre (); + + return true; + } + + if (n == "registrant" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->registrant_parser_; + + if (this->registrant_parser_) + this->registrant_parser_->pre (); + + return true; + } + + if (n == "contact" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->contact_parser_; + + if (this->contact_parser_) + this->contact_parser_->pre (); + + return true; + } + + if (n == "ns" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->ns_parser_; + + if (this->ns_parser_) + this->ns_parser_->pre (); + + return true; + } + + if (n == "host" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->host_parser_; + + if (this->host_parser_) + this->host_parser_->pre (); + + return true; + } + + if (n == "clID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->clID_parser_; + + if (this->clID_parser_) + this->clID_parser_->pre (); + + return true; + } + + if (n == "crID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->crID_parser_; + + if (this->crID_parser_) + this->crID_parser_->pre (); + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->crDate_parser_; + + if (this->crDate_parser_) + this->crDate_parser_->pre (); + + return true; + } + + if (n == "upID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->upID_parser_; + + if (this->upID_parser_) + this->upID_parser_->pre (); + + return true; + } + + if (n == "upDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->upDate_parser_; + + if (this->upDate_parser_) + this->upDate_parser_->pre (); + + return true; + } + + if (n == "exDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->exDate_parser_; + + if (this->exDate_parser_) + this->exDate_parser_->pre (); + + return true; + } + + if (n == "trDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->trDate_parser_; + + if (this->trDate_parser_) + this->trDate_parser_->pre (); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->authInfo_parser_; + + if (this->authInfo_parser_) + this->authInfo_parser_->pre (); + + return true; + } + + return false; + } + + bool infDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "roid" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->roid_parser_) + { + this->roid_parser_->post_roidType (); + this->roid (); + } + + return true; + } + + if (n == "status" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->status_parser_) + { + this->status_parser_->post_statusType (); + this->status (); + } + + return true; + } + + if (n == "registrant" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->registrant_parser_) + { + this->registrant_parser_->post_clIDType (); + this->registrant (); + } + + return true; + } + + if (n == "contact" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->contact_parser_) + { + this->contact_parser_->post_contactType (); + this->contact (); + } + + return true; + } + + if (n == "ns" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->ns_parser_) + { + this->ns_parser_->post_nsType (); + this->ns (); + } + + return true; + } + + if (n == "host" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->host_parser_) + { + this->host_parser_->post_labelType (); + this->host (); + } + + return true; + } + + if (n == "clID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->clID_parser_) + { + this->clID_parser_->post_clIDType (); + this->clID (); + } + + return true; + } + + if (n == "crID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->crID_parser_) + { + this->crID_parser_->post_clIDType (); + this->crID (); + } + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->crDate_parser_) + this->crDate (this->crDate_parser_->post_date_time ()); + + return true; + } + + if (n == "upID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->upID_parser_) + { + this->upID_parser_->post_clIDType (); + this->upID (); + } + + return true; + } + + if (n == "upDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->upDate_parser_) + this->upDate (this->upDate_parser_->post_date_time ()); + + return true; + } + + if (n == "exDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->exDate_parser_) + this->exDate (this->exDate_parser_->post_date_time ()); + + return true; + } + + if (n == "trDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->trDate_parser_) + this->trDate (this->trDate_parser_->post_date_time ()); + + return true; + } + + if (n == "authInfo" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->authInfo_parser_) + { + this->authInfo_parser_->post_authInfoType (); + this->authInfo (); + } + + return true; + } + + return false; + } + + // statusType_pskel + // + + void statusType_pskel:: + s () + { + } + + void statusType_pskel:: + lang (const ::std::string&) + { + } + + void statusType_pskel:: + post_statusType () + { + } + + bool statusType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::normalized_string_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "s" && ns.empty ()) + { + if (this->s_parser_) + { + this->s_parser_->pre (); + this->s_parser_->_pre_impl (); + this->s_parser_->_characters (v); + this->s_parser_->_post_impl (); + this->s_parser_->post_statusValueType (); + this->s (); + } + + return true; + } + + if (n == "lang" && ns.empty ()) + { + if (this->lang_parser_) + { + this->lang_parser_->pre (); + this->lang_parser_->_pre_impl (); + this->lang_parser_->_characters (v); + this->lang_parser_->_post_impl (); + this->lang (this->lang_parser_->post_language ()); + } + + return true; + } + + return false; + } + + // statusValueType_pskel + // + + void statusValueType_pskel:: + post_statusValueType () + { + } + + // panDataType_pskel + // + + void panDataType_pskel:: + name () + { + } + + void panDataType_pskel:: + paTRID () + { + } + + void panDataType_pskel:: + paDate (const ::xml_schema::date_time&) + { + } + + void panDataType_pskel:: + post_panDataType () + { + } + + bool panDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "paTRID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->paTRID_parser_; + + if (this->paTRID_parser_) + this->paTRID_parser_->pre (); + + return true; + } + + if (n == "paDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->paDate_parser_; + + if (this->paDate_parser_) + this->paDate_parser_->pre (); + + return true; + } + + return false; + } + + bool panDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_paNameType (); + this->name (); + } + + return true; + } + + if (n == "paTRID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->paTRID_parser_) + { + this->paTRID_parser_->post_trIDType (); + this->paTRID (); + } + + return true; + } + + if (n == "paDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->paDate_parser_) + this->paDate (this->paDate_parser_->post_date_time ()); + + return true; + } + + return false; + } + + // paNameType_pskel + // + + void paNameType_pskel:: + paResult (bool) + { + } + + void paNameType_pskel:: + post_paNameType () + { + post_labelType (); + } + + bool paNameType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::eppcom_1_0::labelType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "paResult" && ns.empty ()) + { + if (this->paResult_parser_) + { + this->paResult_parser_->pre (); + this->paResult_parser_->_pre_impl (); + this->paResult_parser_->_characters (v); + this->paResult_parser_->_post_impl (); + this->paResult (this->paResult_parser_->post_boolean ()); + } + + return true; + } + + return false; + } + + // renDataType_pskel + // + + void renDataType_pskel:: + name () + { + } + + void renDataType_pskel:: + exDate (const ::xml_schema::date_time&) + { + } + + void renDataType_pskel:: + post_renDataType () + { + } + + bool renDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "exDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->exDate_parser_; + + if (this->exDate_parser_) + this->exDate_parser_->pre (); + + return true; + } + + return false; + } + + bool renDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "exDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->exDate_parser_) + this->exDate (this->exDate_parser_->post_date_time ()); + + return true; + } + + return false; + } + + // trnDataType_pskel + // + + void trnDataType_pskel:: + name () + { + } + + void trnDataType_pskel:: + trStatus () + { + } + + void trnDataType_pskel:: + reID () + { + } + + void trnDataType_pskel:: + reDate (const ::xml_schema::date_time&) + { + } + + void trnDataType_pskel:: + acID () + { + } + + void trnDataType_pskel:: + acDate (const ::xml_schema::date_time&) + { + } + + void trnDataType_pskel:: + exDate (const ::xml_schema::date_time&) + { + } + + void trnDataType_pskel:: + post_trnDataType () + { + } + + bool trnDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "trStatus" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->trStatus_parser_; + + if (this->trStatus_parser_) + this->trStatus_parser_->pre (); + + return true; + } + + if (n == "reID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->reID_parser_; + + if (this->reID_parser_) + this->reID_parser_->pre (); + + return true; + } + + if (n == "reDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->reDate_parser_; + + if (this->reDate_parser_) + this->reDate_parser_->pre (); + + return true; + } + + if (n == "acID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->acID_parser_; + + if (this->acID_parser_) + this->acID_parser_->pre (); + + return true; + } + + if (n == "acDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->acDate_parser_; + + if (this->acDate_parser_) + this->acDate_parser_->pre (); + + return true; + } + + if (n == "exDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->exDate_parser_; + + if (this->exDate_parser_) + this->exDate_parser_->pre (); + + return true; + } + + return false; + } + + bool trnDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "trStatus" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->trStatus_parser_) + { + this->trStatus_parser_->post_trStatusType (); + this->trStatus (); + } + + return true; + } + + if (n == "reID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->reID_parser_) + { + this->reID_parser_->post_clIDType (); + this->reID (); + } + + return true; + } + + if (n == "reDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->reDate_parser_) + this->reDate (this->reDate_parser_->post_date_time ()); + + return true; + } + + if (n == "acID" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->acID_parser_) + { + this->acID_parser_->post_clIDType (); + this->acID (); + } + + return true; + } + + if (n == "acDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->acDate_parser_) + this->acDate (this->acDate_parser_->post_date_time ()); + + return true; + } + + if (n == "exDate" && ns == "urn:ietf:params:xml:ns:domain-1.0") + { + if (this->exDate_parser_) + this->exDate (this->exDate_parser_->post_date_time ()); + + return true; + } + + return false; + } +} + +// Begin epilogue. +// +// +// End epilogue. + diff --git a/APIG/client/epp-1.0.cpp b/APIG/client/epp-1.0.cpp new file mode 100644 index 0000000..e5b028e --- /dev/null +++ b/APIG/client/epp-1.0.cpp @@ -0,0 +1,4119 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +// Begin prologue. +// +// +// End prologue. + +#include "epp-1.0-pskel.hxx" + +namespace epp_1_0 +{ + // eppType_pskel + // + + void eppType_pskel:: + greeting_parser (::epp_1_0::greetingType_pskel& p) + { + this->greeting_parser_ = &p; + } + + void eppType_pskel:: + hello_parser (::xml_schema::any_type_pskel& p) + { + this->hello_parser_ = &p; + } + + void eppType_pskel:: + command_parser (::epp_1_0::commandType_pskel& p) + { + this->command_parser_ = &p; + } + + void eppType_pskel:: + response_parser (::epp_1_0::responseType_pskel& p) + { + this->response_parser_ = &p; + } + + void eppType_pskel:: + extension_parser (::epp_1_0::extAnyType_pskel& p) + { + this->extension_parser_ = &p; + } + + void eppType_pskel:: + parsers (::epp_1_0::greetingType_pskel& greeting, + ::xml_schema::any_type_pskel& hello, + ::epp_1_0::commandType_pskel& command, + ::epp_1_0::responseType_pskel& response, + ::epp_1_0::extAnyType_pskel& extension) + { + this->greeting_parser_ = &greeting; + this->hello_parser_ = &hello; + this->command_parser_ = &command; + this->response_parser_ = &response; + this->extension_parser_ = &extension; + } + + eppType_pskel:: + eppType_pskel () + : greeting_parser_ (0), + hello_parser_ (0), + command_parser_ (0), + response_parser_ (0), + extension_parser_ (0) + { + } + + // greetingType_pskel + // + + void greetingType_pskel:: + svID_parser (::epp_1_0::sIDType_pskel& p) + { + this->svID_parser_ = &p; + } + + void greetingType_pskel:: + svDate_parser (::xml_schema::date_time_pskel& p) + { + this->svDate_parser_ = &p; + } + + void greetingType_pskel:: + svcMenu_parser (::epp_1_0::svcMenuType_pskel& p) + { + this->svcMenu_parser_ = &p; + } + + void greetingType_pskel:: + dcp_parser (::epp_1_0::dcpType_pskel& p) + { + this->dcp_parser_ = &p; + } + + void greetingType_pskel:: + parsers (::epp_1_0::sIDType_pskel& svID, + ::xml_schema::date_time_pskel& svDate, + ::epp_1_0::svcMenuType_pskel& svcMenu, + ::epp_1_0::dcpType_pskel& dcp) + { + this->svID_parser_ = &svID; + this->svDate_parser_ = &svDate; + this->svcMenu_parser_ = &svcMenu; + this->dcp_parser_ = &dcp; + } + + greetingType_pskel:: + greetingType_pskel () + : svID_parser_ (0), + svDate_parser_ (0), + svcMenu_parser_ (0), + dcp_parser_ (0) + { + } + + // svcMenuType_pskel + // + + void svcMenuType_pskel:: + version_parser (::epp_1_0::versionType_pskel& p) + { + this->version_parser_ = &p; + } + + void svcMenuType_pskel:: + lang_parser (::xml_schema::language_pskel& p) + { + this->lang_parser_ = &p; + } + + void svcMenuType_pskel:: + objURI_parser (::xml_schema::uri_pskel& p) + { + this->objURI_parser_ = &p; + } + + void svcMenuType_pskel:: + svcExtension_parser (::epp_1_0::extURIType_pskel& p) + { + this->svcExtension_parser_ = &p; + } + + void svcMenuType_pskel:: + parsers (::epp_1_0::versionType_pskel& version, + ::xml_schema::language_pskel& lang, + ::xml_schema::uri_pskel& objURI, + ::epp_1_0::extURIType_pskel& svcExtension) + { + this->version_parser_ = &version; + this->lang_parser_ = ⟨ + this->objURI_parser_ = &objURI; + this->svcExtension_parser_ = &svcExtension; + } + + svcMenuType_pskel:: + svcMenuType_pskel () + : version_parser_ (0), + lang_parser_ (0), + objURI_parser_ (0), + svcExtension_parser_ (0) + { + } + + // dcpType_pskel + // + + void dcpType_pskel:: + access_parser (::epp_1_0::dcpAccessType_pskel& p) + { + this->access_parser_ = &p; + } + + void dcpType_pskel:: + statement_parser (::epp_1_0::dcpStatementType_pskel& p) + { + this->statement_parser_ = &p; + } + + void dcpType_pskel:: + expiry_parser (::epp_1_0::dcpExpiryType_pskel& p) + { + this->expiry_parser_ = &p; + } + + void dcpType_pskel:: + parsers (::epp_1_0::dcpAccessType_pskel& access, + ::epp_1_0::dcpStatementType_pskel& statement, + ::epp_1_0::dcpExpiryType_pskel& expiry) + { + this->access_parser_ = &access; + this->statement_parser_ = &statement; + this->expiry_parser_ = &expiry; + } + + dcpType_pskel:: + dcpType_pskel () + : access_parser_ (0), + statement_parser_ (0), + expiry_parser_ (0) + { + } + + // dcpAccessType_pskel + // + + void dcpAccessType_pskel:: + all_parser (::xml_schema::any_type_pskel& p) + { + this->all_parser_ = &p; + } + + void dcpAccessType_pskel:: + none_parser (::xml_schema::any_type_pskel& p) + { + this->none_parser_ = &p; + } + + void dcpAccessType_pskel:: + null_parser (::xml_schema::any_type_pskel& p) + { + this->null_parser_ = &p; + } + + void dcpAccessType_pskel:: + other_parser (::xml_schema::any_type_pskel& p) + { + this->other_parser_ = &p; + } + + void dcpAccessType_pskel:: + personal_parser (::xml_schema::any_type_pskel& p) + { + this->personal_parser_ = &p; + } + + void dcpAccessType_pskel:: + personalAndOther_parser (::xml_schema::any_type_pskel& p) + { + this->personalAndOther_parser_ = &p; + } + + void dcpAccessType_pskel:: + parsers (::xml_schema::any_type_pskel& all, + ::xml_schema::any_type_pskel& none, + ::xml_schema::any_type_pskel& null, + ::xml_schema::any_type_pskel& other, + ::xml_schema::any_type_pskel& personal, + ::xml_schema::any_type_pskel& personalAndOther) + { + this->all_parser_ = &all; + this->none_parser_ = &none; + this->null_parser_ = &null; + this->other_parser_ = &other; + this->personal_parser_ = &personal; + this->personalAndOther_parser_ = &personalAndOther; + } + + dcpAccessType_pskel:: + dcpAccessType_pskel () + : all_parser_ (0), + none_parser_ (0), + null_parser_ (0), + other_parser_ (0), + personal_parser_ (0), + personalAndOther_parser_ (0) + { + } + + // dcpStatementType_pskel + // + + void dcpStatementType_pskel:: + purpose_parser (::epp_1_0::dcpPurposeType_pskel& p) + { + this->purpose_parser_ = &p; + } + + void dcpStatementType_pskel:: + recipient_parser (::epp_1_0::dcpRecipientType_pskel& p) + { + this->recipient_parser_ = &p; + } + + void dcpStatementType_pskel:: + retention_parser (::epp_1_0::dcpRetentionType_pskel& p) + { + this->retention_parser_ = &p; + } + + void dcpStatementType_pskel:: + parsers (::epp_1_0::dcpPurposeType_pskel& purpose, + ::epp_1_0::dcpRecipientType_pskel& recipient, + ::epp_1_0::dcpRetentionType_pskel& retention) + { + this->purpose_parser_ = &purpose; + this->recipient_parser_ = &recipient; + this->retention_parser_ = &retention; + } + + dcpStatementType_pskel:: + dcpStatementType_pskel () + : purpose_parser_ (0), + recipient_parser_ (0), + retention_parser_ (0) + { + } + + // dcpPurposeType_pskel + // + + void dcpPurposeType_pskel:: + admin_parser (::xml_schema::any_type_pskel& p) + { + this->admin_parser_ = &p; + } + + void dcpPurposeType_pskel:: + contact_parser (::xml_schema::any_type_pskel& p) + { + this->contact_parser_ = &p; + } + + void dcpPurposeType_pskel:: + other_parser (::xml_schema::any_type_pskel& p) + { + this->other_parser_ = &p; + } + + void dcpPurposeType_pskel:: + prov_parser (::xml_schema::any_type_pskel& p) + { + this->prov_parser_ = &p; + } + + void dcpPurposeType_pskel:: + parsers (::xml_schema::any_type_pskel& admin, + ::xml_schema::any_type_pskel& contact, + ::xml_schema::any_type_pskel& other, + ::xml_schema::any_type_pskel& prov) + { + this->admin_parser_ = &admin; + this->contact_parser_ = &contact; + this->other_parser_ = &other; + this->prov_parser_ = &prov; + } + + dcpPurposeType_pskel:: + dcpPurposeType_pskel () + : admin_parser_ (0), + contact_parser_ (0), + other_parser_ (0), + prov_parser_ (0) + { + } + + // dcpRecipientType_pskel + // + + void dcpRecipientType_pskel:: + other_parser (::xml_schema::any_type_pskel& p) + { + this->other_parser_ = &p; + } + + void dcpRecipientType_pskel:: + ours_parser (::epp_1_0::dcpOursType_pskel& p) + { + this->ours_parser_ = &p; + } + + void dcpRecipientType_pskel:: + public_parser (::xml_schema::any_type_pskel& p) + { + this->public__parser_ = &p; + } + + void dcpRecipientType_pskel:: + same_parser (::xml_schema::any_type_pskel& p) + { + this->same_parser_ = &p; + } + + void dcpRecipientType_pskel:: + unrelated_parser (::xml_schema::any_type_pskel& p) + { + this->unrelated_parser_ = &p; + } + + void dcpRecipientType_pskel:: + parsers (::xml_schema::any_type_pskel& other, + ::epp_1_0::dcpOursType_pskel& ours, + ::xml_schema::any_type_pskel& public_, + ::xml_schema::any_type_pskel& same, + ::xml_schema::any_type_pskel& unrelated) + { + this->other_parser_ = &other; + this->ours_parser_ = &ours; + this->public__parser_ = &public_; + this->same_parser_ = &same; + this->unrelated_parser_ = &unrelated; + } + + dcpRecipientType_pskel:: + dcpRecipientType_pskel () + : other_parser_ (0), + ours_parser_ (0), + public__parser_ (0), + same_parser_ (0), + unrelated_parser_ (0) + { + } + + // dcpOursType_pskel + // + + void dcpOursType_pskel:: + recDesc_parser (::epp_1_0::dcpRecDescType_pskel& p) + { + this->recDesc_parser_ = &p; + } + + void dcpOursType_pskel:: + parsers (::epp_1_0::dcpRecDescType_pskel& recDesc) + { + this->recDesc_parser_ = &recDesc; + } + + dcpOursType_pskel:: + dcpOursType_pskel () + : recDesc_parser_ (0) + { + } + + // dcpRetentionType_pskel + // + + void dcpRetentionType_pskel:: + business_parser (::xml_schema::any_type_pskel& p) + { + this->business_parser_ = &p; + } + + void dcpRetentionType_pskel:: + indefinite_parser (::xml_schema::any_type_pskel& p) + { + this->indefinite_parser_ = &p; + } + + void dcpRetentionType_pskel:: + legal_parser (::xml_schema::any_type_pskel& p) + { + this->legal_parser_ = &p; + } + + void dcpRetentionType_pskel:: + none_parser (::xml_schema::any_type_pskel& p) + { + this->none_parser_ = &p; + } + + void dcpRetentionType_pskel:: + stated_parser (::xml_schema::any_type_pskel& p) + { + this->stated_parser_ = &p; + } + + void dcpRetentionType_pskel:: + parsers (::xml_schema::any_type_pskel& business, + ::xml_schema::any_type_pskel& indefinite, + ::xml_schema::any_type_pskel& legal, + ::xml_schema::any_type_pskel& none, + ::xml_schema::any_type_pskel& stated) + { + this->business_parser_ = &business; + this->indefinite_parser_ = &indefinite; + this->legal_parser_ = &legal; + this->none_parser_ = &none; + this->stated_parser_ = &stated; + } + + dcpRetentionType_pskel:: + dcpRetentionType_pskel () + : business_parser_ (0), + indefinite_parser_ (0), + legal_parser_ (0), + none_parser_ (0), + stated_parser_ (0) + { + } + + // dcpExpiryType_pskel + // + + void dcpExpiryType_pskel:: + absolute_parser (::xml_schema::date_time_pskel& p) + { + this->absolute_parser_ = &p; + } + + void dcpExpiryType_pskel:: + relative_parser (::xml_schema::duration_pskel& p) + { + this->relative_parser_ = &p; + } + + void dcpExpiryType_pskel:: + parsers (::xml_schema::date_time_pskel& absolute, + ::xml_schema::duration_pskel& relative) + { + this->absolute_parser_ = &absolute; + this->relative_parser_ = &relative; + } + + dcpExpiryType_pskel:: + dcpExpiryType_pskel () + : absolute_parser_ (0), + relative_parser_ (0) + { + } + + // extURIType_pskel + // + + void extURIType_pskel:: + extURI_parser (::xml_schema::uri_pskel& p) + { + this->extURI_parser_ = &p; + } + + void extURIType_pskel:: + parsers (::xml_schema::uri_pskel& extURI) + { + this->extURI_parser_ = &extURI; + } + + extURIType_pskel:: + extURIType_pskel () + : extURI_parser_ (0) + { + } + + // commandType_pskel + // + + void commandType_pskel:: + check_parser (::epp_1_0::readWriteType_pskel& p) + { + this->check_parser_ = &p; + } + + void commandType_pskel:: + create_parser (::epp_1_0::readWriteType_pskel& p) + { + this->create_parser_ = &p; + } + + void commandType_pskel:: + delete_parser (::epp_1_0::readWriteType_pskel& p) + { + this->delete__parser_ = &p; + } + + void commandType_pskel:: + info_parser (::epp_1_0::readWriteType_pskel& p) + { + this->info_parser_ = &p; + } + + void commandType_pskel:: + login_parser (::epp_1_0::loginType_pskel& p) + { + this->login_parser_ = &p; + } + + void commandType_pskel:: + logout_parser (::xml_schema::any_type_pskel& p) + { + this->logout_parser_ = &p; + } + + void commandType_pskel:: + poll_parser (::epp_1_0::pollType_pskel& p) + { + this->poll_parser_ = &p; + } + + void commandType_pskel:: + renew_parser (::epp_1_0::readWriteType_pskel& p) + { + this->renew_parser_ = &p; + } + + void commandType_pskel:: + transfer_parser (::epp_1_0::transferType_pskel& p) + { + this->transfer_parser_ = &p; + } + + void commandType_pskel:: + update_parser (::epp_1_0::readWriteType_pskel& p) + { + this->update_parser_ = &p; + } + + void commandType_pskel:: + extension_parser (::epp_1_0::extAnyType_pskel& p) + { + this->extension_parser_ = &p; + } + + void commandType_pskel:: + clTRID_parser (::epp_1_0::trIDStringType_pskel& p) + { + this->clTRID_parser_ = &p; + } + + void commandType_pskel:: + parsers (::epp_1_0::readWriteType_pskel& check, + ::epp_1_0::readWriteType_pskel& create, + ::epp_1_0::readWriteType_pskel& delete_, + ::epp_1_0::readWriteType_pskel& info, + ::epp_1_0::loginType_pskel& login, + ::xml_schema::any_type_pskel& logout, + ::epp_1_0::pollType_pskel& poll, + ::epp_1_0::readWriteType_pskel& renew, + ::epp_1_0::transferType_pskel& transfer, + ::epp_1_0::readWriteType_pskel& update, + ::epp_1_0::extAnyType_pskel& extension, + ::epp_1_0::trIDStringType_pskel& clTRID) + { + this->check_parser_ = ✓ + this->create_parser_ = &create; + this->delete__parser_ = &delete_; + this->info_parser_ = &info; + this->login_parser_ = &login; + this->logout_parser_ = &logout; + this->poll_parser_ = &poll; + this->renew_parser_ = &renew; + this->transfer_parser_ = &transfer; + this->update_parser_ = &update; + this->extension_parser_ = &extension; + this->clTRID_parser_ = &clTRID; + } + + commandType_pskel:: + commandType_pskel () + : check_parser_ (0), + create_parser_ (0), + delete__parser_ (0), + info_parser_ (0), + login_parser_ (0), + logout_parser_ (0), + poll_parser_ (0), + renew_parser_ (0), + transfer_parser_ (0), + update_parser_ (0), + extension_parser_ (0), + clTRID_parser_ (0) + { + } + + // loginType_pskel + // + + void loginType_pskel:: + clID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->clID_parser_ = &p; + } + + void loginType_pskel:: + pw_parser (::epp_1_0::pwType_pskel& p) + { + this->pw_parser_ = &p; + } + + void loginType_pskel:: + newPW_parser (::epp_1_0::pwType_pskel& p) + { + this->newPW_parser_ = &p; + } + + void loginType_pskel:: + options_parser (::epp_1_0::credsOptionsType_pskel& p) + { + this->options_parser_ = &p; + } + + void loginType_pskel:: + svcs_parser (::epp_1_0::loginSvcType_pskel& p) + { + this->svcs_parser_ = &p; + } + + void loginType_pskel:: + parsers (::eppcom_1_0::clIDType_pskel& clID, + ::epp_1_0::pwType_pskel& pw, + ::epp_1_0::pwType_pskel& newPW, + ::epp_1_0::credsOptionsType_pskel& options, + ::epp_1_0::loginSvcType_pskel& svcs) + { + this->clID_parser_ = &clID; + this->pw_parser_ = &pw; + this->newPW_parser_ = &newPW; + this->options_parser_ = &options; + this->svcs_parser_ = &svcs; + } + + loginType_pskel:: + loginType_pskel () + : clID_parser_ (0), + pw_parser_ (0), + newPW_parser_ (0), + options_parser_ (0), + svcs_parser_ (0) + { + } + + // credsOptionsType_pskel + // + + void credsOptionsType_pskel:: + version_parser (::epp_1_0::versionType_pskel& p) + { + this->version_parser_ = &p; + } + + void credsOptionsType_pskel:: + lang_parser (::xml_schema::language_pskel& p) + { + this->lang_parser_ = &p; + } + + void credsOptionsType_pskel:: + parsers (::epp_1_0::versionType_pskel& version, + ::xml_schema::language_pskel& lang) + { + this->version_parser_ = &version; + this->lang_parser_ = ⟨ + } + + credsOptionsType_pskel:: + credsOptionsType_pskel () + : version_parser_ (0), + lang_parser_ (0) + { + } + + // loginSvcType_pskel + // + + void loginSvcType_pskel:: + objURI_parser (::xml_schema::uri_pskel& p) + { + this->objURI_parser_ = &p; + } + + void loginSvcType_pskel:: + svcExtension_parser (::epp_1_0::extURIType_pskel& p) + { + this->svcExtension_parser_ = &p; + } + + void loginSvcType_pskel:: + parsers (::xml_schema::uri_pskel& objURI, + ::epp_1_0::extURIType_pskel& svcExtension) + { + this->objURI_parser_ = &objURI; + this->svcExtension_parser_ = &svcExtension; + } + + loginSvcType_pskel:: + loginSvcType_pskel () + : objURI_parser_ (0), + svcExtension_parser_ (0) + { + } + + // pollType_pskel + // + + void pollType_pskel:: + op_parser (::epp_1_0::pollOpType_pskel& p) + { + this->op_parser_ = &p; + } + + void pollType_pskel:: + msgID_parser (::xml_schema::token_pskel& p) + { + this->msgID_parser_ = &p; + } + + void pollType_pskel:: + parsers (::epp_1_0::pollOpType_pskel& op, + ::xml_schema::token_pskel& msgID) + { + this->op_parser_ = &op; + this->msgID_parser_ = &msgID; + } + + pollType_pskel:: + pollType_pskel () + : op_parser_ (0), + msgID_parser_ (0) + { + } + + // transferType_pskel + // + + void transferType_pskel:: + op_parser (::epp_1_0::transferOpType_pskel& p) + { + this->op_parser_ = &p; + } + + void transferType_pskel:: + parsers (::epp_1_0::transferOpType_pskel& op) + { + this->op_parser_ = &op; + } + + transferType_pskel:: + transferType_pskel () + : op_parser_ (0) + { + } + + // trIDType_pskel + // + + void trIDType_pskel:: + clTRID_parser (::epp_1_0::trIDStringType_pskel& p) + { + this->clTRID_parser_ = &p; + } + + void trIDType_pskel:: + svTRID_parser (::epp_1_0::trIDStringType_pskel& p) + { + this->svTRID_parser_ = &p; + } + + void trIDType_pskel:: + parsers (::epp_1_0::trIDStringType_pskel& clTRID, + ::epp_1_0::trIDStringType_pskel& svTRID) + { + this->clTRID_parser_ = &clTRID; + this->svTRID_parser_ = &svTRID; + } + + trIDType_pskel:: + trIDType_pskel () + : clTRID_parser_ (0), + svTRID_parser_ (0) + { + } + + // responseType_pskel + // + + void responseType_pskel:: + result_parser (::epp_1_0::resultType_pskel& p) + { + this->result_parser_ = &p; + } + + void responseType_pskel:: + msgQ_parser (::epp_1_0::msgQType_pskel& p) + { + this->msgQ_parser_ = &p; + } + + void responseType_pskel:: + resData_parser (::epp_1_0::extAnyType_pskel& p) + { + this->resData_parser_ = &p; + } + + void responseType_pskel:: + extension_parser (::epp_1_0::extAnyType_pskel& p) + { + this->extension_parser_ = &p; + } + + void responseType_pskel:: + trID_parser (::epp_1_0::trIDType_pskel& p) + { + this->trID_parser_ = &p; + } + + void responseType_pskel:: + parsers (::epp_1_0::resultType_pskel& result, + ::epp_1_0::msgQType_pskel& msgQ, + ::epp_1_0::extAnyType_pskel& resData, + ::epp_1_0::extAnyType_pskel& extension, + ::epp_1_0::trIDType_pskel& trID) + { + this->result_parser_ = &result; + this->msgQ_parser_ = &msgQ; + this->resData_parser_ = &resData; + this->extension_parser_ = &extension; + this->trID_parser_ = &trID; + } + + responseType_pskel:: + responseType_pskel () + : result_parser_ (0), + msgQ_parser_ (0), + resData_parser_ (0), + extension_parser_ (0), + trID_parser_ (0) + { + } + + // resultType_pskel + // + + void resultType_pskel:: + msg_parser (::epp_1_0::msgType_pskel& p) + { + this->msg_parser_ = &p; + } + + void resultType_pskel:: + value_parser (::epp_1_0::errValueType_pskel& p) + { + this->value_parser_ = &p; + } + + void resultType_pskel:: + extValue_parser (::epp_1_0::extErrValueType_pskel& p) + { + this->extValue_parser_ = &p; + } + + void resultType_pskel:: + code_parser (::epp_1_0::resultCodeType_pskel& p) + { + this->code_parser_ = &p; + } + + void resultType_pskel:: + parsers (::epp_1_0::msgType_pskel& msg, + ::epp_1_0::errValueType_pskel& value, + ::epp_1_0::extErrValueType_pskel& extValue, + ::epp_1_0::resultCodeType_pskel& code) + { + this->msg_parser_ = &msg; + this->value_parser_ = &value; + this->extValue_parser_ = &extValue; + this->code_parser_ = &code; + } + + resultType_pskel:: + resultType_pskel () + : msg_parser_ (0), + value_parser_ (0), + extValue_parser_ (0), + code_parser_ (0) + { + } + + // extErrValueType_pskel + // + + void extErrValueType_pskel:: + value_parser (::epp_1_0::errValueType_pskel& p) + { + this->value_parser_ = &p; + } + + void extErrValueType_pskel:: + reason_parser (::epp_1_0::msgType_pskel& p) + { + this->reason_parser_ = &p; + } + + void extErrValueType_pskel:: + parsers (::epp_1_0::errValueType_pskel& value, + ::epp_1_0::msgType_pskel& reason) + { + this->value_parser_ = &value; + this->reason_parser_ = &reason; + } + + extErrValueType_pskel:: + extErrValueType_pskel () + : value_parser_ (0), + reason_parser_ (0) + { + } + + // msgQType_pskel + // + + void msgQType_pskel:: + qDate_parser (::xml_schema::date_time_pskel& p) + { + this->qDate_parser_ = &p; + } + + void msgQType_pskel:: + msg_parser (::epp_1_0::mixedMsgType_pskel& p) + { + this->msg_parser_ = &p; + } + + void msgQType_pskel:: + count_parser (::xml_schema::unsigned_long_pskel& p) + { + this->count_parser_ = &p; + } + + void msgQType_pskel:: + id_parser (::eppcom_1_0::minTokenType_pskel& p) + { + this->id_parser_ = &p; + } + + void msgQType_pskel:: + parsers (::xml_schema::date_time_pskel& qDate, + ::epp_1_0::mixedMsgType_pskel& msg, + ::xml_schema::unsigned_long_pskel& count, + ::eppcom_1_0::minTokenType_pskel& id) + { + this->qDate_parser_ = &qDate; + this->msg_parser_ = &msg; + this->count_parser_ = &count; + this->id_parser_ = &id; + } + + msgQType_pskel:: + msgQType_pskel () + : qDate_parser_ (0), + msg_parser_ (0), + count_parser_ (0), + id_parser_ (0) + { + } + + // mixedMsgType_pskel + // + + void mixedMsgType_pskel:: + lang_parser (::xml_schema::language_pskel& p) + { + this->lang_parser_ = &p; + } + + void mixedMsgType_pskel:: + parsers (::xml_schema::language_pskel& lang) + { + this->lang_parser_ = ⟨ + } + + mixedMsgType_pskel:: + mixedMsgType_pskel () + : lang_parser_ (0) + { + } + + // msgType_pskel + // + + void msgType_pskel:: + lang_parser (::xml_schema::language_pskel& p) + { + this->lang_parser_ = &p; + } + + void msgType_pskel:: + parsers (::xml_schema::language_pskel& lang) + { + this->lang_parser_ = ⟨ + } + + msgType_pskel:: + msgType_pskel () + : lang_parser_ (0) + { + } +} + +namespace epp_1_0 +{ + // eppType_pskel + // + + void eppType_pskel:: + greeting () + { + } + + void eppType_pskel:: + hello () + { + } + + void eppType_pskel:: + command () + { + } + + void eppType_pskel:: + response () + { + } + + void eppType_pskel:: + extension () + { + } + + void eppType_pskel:: + post_eppType () + { + } + + bool eppType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "greeting" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->greeting_parser_; + + if (this->greeting_parser_) + this->greeting_parser_->pre (); + + return true; + } + + if (n == "hello" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->hello_parser_; + + if (this->hello_parser_) + this->hello_parser_->pre (); + + return true; + } + + if (n == "command" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->command_parser_; + + if (this->command_parser_) + this->command_parser_->pre (); + + return true; + } + + if (n == "response" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->response_parser_; + + if (this->response_parser_) + this->response_parser_->pre (); + + return true; + } + + if (n == "extension" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->extension_parser_; + + if (this->extension_parser_) + this->extension_parser_->pre (); + + return true; + } + + return false; + } + + bool eppType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "greeting" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->greeting_parser_) + { + this->greeting_parser_->post_greetingType (); + this->greeting (); + } + + return true; + } + + if (n == "hello" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->hello_parser_) + { + this->hello_parser_->post_any_type (); + this->hello (); + } + + return true; + } + + if (n == "command" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->command_parser_) + { + this->command_parser_->post_commandType (); + this->command (); + } + + return true; + } + + if (n == "response" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->response_parser_) + { + this->response_parser_->post_responseType (); + this->response (); + } + + return true; + } + + if (n == "extension" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->extension_parser_) + { + this->extension_parser_->post_extAnyType (); + this->extension (); + } + + return true; + } + + return false; + } + + // greetingType_pskel + // + + void greetingType_pskel:: + svID () + { + } + + void greetingType_pskel:: + svDate (const ::xml_schema::date_time&) + { + } + + void greetingType_pskel:: + svcMenu () + { + } + + void greetingType_pskel:: + dcp () + { + } + + void greetingType_pskel:: + post_greetingType () + { + } + + bool greetingType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "svID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->svID_parser_; + + if (this->svID_parser_) + this->svID_parser_->pre (); + + return true; + } + + if (n == "svDate" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->svDate_parser_; + + if (this->svDate_parser_) + this->svDate_parser_->pre (); + + return true; + } + + if (n == "svcMenu" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->svcMenu_parser_; + + if (this->svcMenu_parser_) + this->svcMenu_parser_->pre (); + + return true; + } + + if (n == "dcp" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->dcp_parser_; + + if (this->dcp_parser_) + this->dcp_parser_->pre (); + + return true; + } + + return false; + } + + bool greetingType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "svID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->svID_parser_) + { + this->svID_parser_->post_sIDType (); + this->svID (); + } + + return true; + } + + if (n == "svDate" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->svDate_parser_) + this->svDate (this->svDate_parser_->post_date_time ()); + + return true; + } + + if (n == "svcMenu" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->svcMenu_parser_) + { + this->svcMenu_parser_->post_svcMenuType (); + this->svcMenu (); + } + + return true; + } + + if (n == "dcp" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->dcp_parser_) + { + this->dcp_parser_->post_dcpType (); + this->dcp (); + } + + return true; + } + + return false; + } + + // sIDType_pskel + // + + void sIDType_pskel:: + post_sIDType () + { + } + + // svcMenuType_pskel + // + + void svcMenuType_pskel:: + version () + { + } + + void svcMenuType_pskel:: + lang (const ::std::string&) + { + } + + void svcMenuType_pskel:: + objURI (const ::std::string&) + { + } + + void svcMenuType_pskel:: + svcExtension () + { + } + + void svcMenuType_pskel:: + post_svcMenuType () + { + } + + bool svcMenuType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "version" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->version_parser_; + + if (this->version_parser_) + this->version_parser_->pre (); + + return true; + } + + if (n == "lang" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->lang_parser_; + + if (this->lang_parser_) + this->lang_parser_->pre (); + + return true; + } + + if (n == "objURI" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->objURI_parser_; + + if (this->objURI_parser_) + this->objURI_parser_->pre (); + + return true; + } + + if (n == "svcExtension" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->svcExtension_parser_; + + if (this->svcExtension_parser_) + this->svcExtension_parser_->pre (); + + return true; + } + + return false; + } + + bool svcMenuType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "version" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->version_parser_) + { + this->version_parser_->post_versionType (); + this->version (); + } + + return true; + } + + if (n == "lang" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->lang_parser_) + this->lang (this->lang_parser_->post_language ()); + + return true; + } + + if (n == "objURI" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->objURI_parser_) + this->objURI (this->objURI_parser_->post_uri ()); + + return true; + } + + if (n == "svcExtension" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->svcExtension_parser_) + { + this->svcExtension_parser_->post_extURIType (); + this->svcExtension (); + } + + return true; + } + + return false; + } + + // dcpType_pskel + // + + void dcpType_pskel:: + access () + { + } + + void dcpType_pskel:: + statement () + { + } + + void dcpType_pskel:: + expiry () + { + } + + void dcpType_pskel:: + post_dcpType () + { + } + + bool dcpType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "access" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->access_parser_; + + if (this->access_parser_) + this->access_parser_->pre (); + + return true; + } + + if (n == "statement" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->statement_parser_; + + if (this->statement_parser_) + this->statement_parser_->pre (); + + return true; + } + + if (n == "expiry" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->expiry_parser_; + + if (this->expiry_parser_) + this->expiry_parser_->pre (); + + return true; + } + + return false; + } + + bool dcpType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "access" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->access_parser_) + { + this->access_parser_->post_dcpAccessType (); + this->access (); + } + + return true; + } + + if (n == "statement" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->statement_parser_) + { + this->statement_parser_->post_dcpStatementType (); + this->statement (); + } + + return true; + } + + if (n == "expiry" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->expiry_parser_) + { + this->expiry_parser_->post_dcpExpiryType (); + this->expiry (); + } + + return true; + } + + return false; + } + + // dcpAccessType_pskel + // + + void dcpAccessType_pskel:: + all () + { + } + + void dcpAccessType_pskel:: + none () + { + } + + void dcpAccessType_pskel:: + null () + { + } + + void dcpAccessType_pskel:: + other () + { + } + + void dcpAccessType_pskel:: + personal () + { + } + + void dcpAccessType_pskel:: + personalAndOther () + { + } + + void dcpAccessType_pskel:: + post_dcpAccessType () + { + } + + bool dcpAccessType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "all" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->all_parser_; + + if (this->all_parser_) + this->all_parser_->pre (); + + return true; + } + + if (n == "none" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->none_parser_; + + if (this->none_parser_) + this->none_parser_->pre (); + + return true; + } + + if (n == "null" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->null_parser_; + + if (this->null_parser_) + this->null_parser_->pre (); + + return true; + } + + if (n == "other" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->other_parser_; + + if (this->other_parser_) + this->other_parser_->pre (); + + return true; + } + + if (n == "personal" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->personal_parser_; + + if (this->personal_parser_) + this->personal_parser_->pre (); + + return true; + } + + if (n == "personalAndOther" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->personalAndOther_parser_; + + if (this->personalAndOther_parser_) + this->personalAndOther_parser_->pre (); + + return true; + } + + return false; + } + + bool dcpAccessType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "all" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->all_parser_) + { + this->all_parser_->post_any_type (); + this->all (); + } + + return true; + } + + if (n == "none" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->none_parser_) + { + this->none_parser_->post_any_type (); + this->none (); + } + + return true; + } + + if (n == "null" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->null_parser_) + { + this->null_parser_->post_any_type (); + this->null (); + } + + return true; + } + + if (n == "other" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->other_parser_) + { + this->other_parser_->post_any_type (); + this->other (); + } + + return true; + } + + if (n == "personal" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->personal_parser_) + { + this->personal_parser_->post_any_type (); + this->personal (); + } + + return true; + } + + if (n == "personalAndOther" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->personalAndOther_parser_) + { + this->personalAndOther_parser_->post_any_type (); + this->personalAndOther (); + } + + return true; + } + + return false; + } + + // dcpStatementType_pskel + // + + void dcpStatementType_pskel:: + purpose () + { + } + + void dcpStatementType_pskel:: + recipient () + { + } + + void dcpStatementType_pskel:: + retention () + { + } + + void dcpStatementType_pskel:: + post_dcpStatementType () + { + } + + bool dcpStatementType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "purpose" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->purpose_parser_; + + if (this->purpose_parser_) + this->purpose_parser_->pre (); + + return true; + } + + if (n == "recipient" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->recipient_parser_; + + if (this->recipient_parser_) + this->recipient_parser_->pre (); + + return true; + } + + if (n == "retention" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->retention_parser_; + + if (this->retention_parser_) + this->retention_parser_->pre (); + + return true; + } + + return false; + } + + bool dcpStatementType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "purpose" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->purpose_parser_) + { + this->purpose_parser_->post_dcpPurposeType (); + this->purpose (); + } + + return true; + } + + if (n == "recipient" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->recipient_parser_) + { + this->recipient_parser_->post_dcpRecipientType (); + this->recipient (); + } + + return true; + } + + if (n == "retention" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->retention_parser_) + { + this->retention_parser_->post_dcpRetentionType (); + this->retention (); + } + + return true; + } + + return false; + } + + // dcpPurposeType_pskel + // + + void dcpPurposeType_pskel:: + admin () + { + } + + void dcpPurposeType_pskel:: + contact () + { + } + + void dcpPurposeType_pskel:: + other () + { + } + + void dcpPurposeType_pskel:: + prov () + { + } + + void dcpPurposeType_pskel:: + post_dcpPurposeType () + { + } + + bool dcpPurposeType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "admin" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->admin_parser_; + + if (this->admin_parser_) + this->admin_parser_->pre (); + + return true; + } + + if (n == "contact" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->contact_parser_; + + if (this->contact_parser_) + this->contact_parser_->pre (); + + return true; + } + + if (n == "other" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->other_parser_; + + if (this->other_parser_) + this->other_parser_->pre (); + + return true; + } + + if (n == "prov" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->prov_parser_; + + if (this->prov_parser_) + this->prov_parser_->pre (); + + return true; + } + + return false; + } + + bool dcpPurposeType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "admin" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->admin_parser_) + { + this->admin_parser_->post_any_type (); + this->admin (); + } + + return true; + } + + if (n == "contact" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->contact_parser_) + { + this->contact_parser_->post_any_type (); + this->contact (); + } + + return true; + } + + if (n == "other" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->other_parser_) + { + this->other_parser_->post_any_type (); + this->other (); + } + + return true; + } + + if (n == "prov" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->prov_parser_) + { + this->prov_parser_->post_any_type (); + this->prov (); + } + + return true; + } + + return false; + } + + // dcpRecipientType_pskel + // + + void dcpRecipientType_pskel:: + other () + { + } + + void dcpRecipientType_pskel:: + ours () + { + } + + void dcpRecipientType_pskel:: + public_ () + { + } + + void dcpRecipientType_pskel:: + same () + { + } + + void dcpRecipientType_pskel:: + unrelated () + { + } + + void dcpRecipientType_pskel:: + post_dcpRecipientType () + { + } + + bool dcpRecipientType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "other" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->other_parser_; + + if (this->other_parser_) + this->other_parser_->pre (); + + return true; + } + + if (n == "ours" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->ours_parser_; + + if (this->ours_parser_) + this->ours_parser_->pre (); + + return true; + } + + if (n == "public" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->public__parser_; + + if (this->public__parser_) + this->public__parser_->pre (); + + return true; + } + + if (n == "same" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->same_parser_; + + if (this->same_parser_) + this->same_parser_->pre (); + + return true; + } + + if (n == "unrelated" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->unrelated_parser_; + + if (this->unrelated_parser_) + this->unrelated_parser_->pre (); + + return true; + } + + return false; + } + + bool dcpRecipientType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "other" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->other_parser_) + { + this->other_parser_->post_any_type (); + this->other (); + } + + return true; + } + + if (n == "ours" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->ours_parser_) + { + this->ours_parser_->post_dcpOursType (); + this->ours (); + } + + return true; + } + + if (n == "public" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->public__parser_) + { + this->public__parser_->post_any_type (); + this->public_ (); + } + + return true; + } + + if (n == "same" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->same_parser_) + { + this->same_parser_->post_any_type (); + this->same (); + } + + return true; + } + + if (n == "unrelated" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->unrelated_parser_) + { + this->unrelated_parser_->post_any_type (); + this->unrelated (); + } + + return true; + } + + return false; + } + + // dcpOursType_pskel + // + + void dcpOursType_pskel:: + recDesc () + { + } + + void dcpOursType_pskel:: + post_dcpOursType () + { + } + + bool dcpOursType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "recDesc" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->recDesc_parser_; + + if (this->recDesc_parser_) + this->recDesc_parser_->pre (); + + return true; + } + + return false; + } + + bool dcpOursType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "recDesc" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->recDesc_parser_) + { + this->recDesc_parser_->post_dcpRecDescType (); + this->recDesc (); + } + + return true; + } + + return false; + } + + // dcpRecDescType_pskel + // + + void dcpRecDescType_pskel:: + post_dcpRecDescType () + { + } + + // dcpRetentionType_pskel + // + + void dcpRetentionType_pskel:: + business () + { + } + + void dcpRetentionType_pskel:: + indefinite () + { + } + + void dcpRetentionType_pskel:: + legal () + { + } + + void dcpRetentionType_pskel:: + none () + { + } + + void dcpRetentionType_pskel:: + stated () + { + } + + void dcpRetentionType_pskel:: + post_dcpRetentionType () + { + } + + bool dcpRetentionType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "business" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->business_parser_; + + if (this->business_parser_) + this->business_parser_->pre (); + + return true; + } + + if (n == "indefinite" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->indefinite_parser_; + + if (this->indefinite_parser_) + this->indefinite_parser_->pre (); + + return true; + } + + if (n == "legal" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->legal_parser_; + + if (this->legal_parser_) + this->legal_parser_->pre (); + + return true; + } + + if (n == "none" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->none_parser_; + + if (this->none_parser_) + this->none_parser_->pre (); + + return true; + } + + if (n == "stated" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->stated_parser_; + + if (this->stated_parser_) + this->stated_parser_->pre (); + + return true; + } + + return false; + } + + bool dcpRetentionType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "business" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->business_parser_) + { + this->business_parser_->post_any_type (); + this->business (); + } + + return true; + } + + if (n == "indefinite" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->indefinite_parser_) + { + this->indefinite_parser_->post_any_type (); + this->indefinite (); + } + + return true; + } + + if (n == "legal" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->legal_parser_) + { + this->legal_parser_->post_any_type (); + this->legal (); + } + + return true; + } + + if (n == "none" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->none_parser_) + { + this->none_parser_->post_any_type (); + this->none (); + } + + return true; + } + + if (n == "stated" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->stated_parser_) + { + this->stated_parser_->post_any_type (); + this->stated (); + } + + return true; + } + + return false; + } + + // dcpExpiryType_pskel + // + + void dcpExpiryType_pskel:: + absolute (const ::xml_schema::date_time&) + { + } + + void dcpExpiryType_pskel:: + relative (const ::xml_schema::duration&) + { + } + + void dcpExpiryType_pskel:: + post_dcpExpiryType () + { + } + + bool dcpExpiryType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "absolute" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->absolute_parser_; + + if (this->absolute_parser_) + this->absolute_parser_->pre (); + + return true; + } + + if (n == "relative" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->relative_parser_; + + if (this->relative_parser_) + this->relative_parser_->pre (); + + return true; + } + + return false; + } + + bool dcpExpiryType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "absolute" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->absolute_parser_) + this->absolute (this->absolute_parser_->post_date_time ()); + + return true; + } + + if (n == "relative" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->relative_parser_) + this->relative (this->relative_parser_->post_duration ()); + + return true; + } + + return false; + } + + // extAnyType_pskel + // + + void extAnyType_pskel:: + post_extAnyType () + { + } + + // extURIType_pskel + // + + void extURIType_pskel:: + extURI (const ::std::string&) + { + } + + void extURIType_pskel:: + post_extURIType () + { + } + + bool extURIType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "extURI" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->extURI_parser_; + + if (this->extURI_parser_) + this->extURI_parser_->pre (); + + return true; + } + + return false; + } + + bool extURIType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "extURI" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->extURI_parser_) + this->extURI (this->extURI_parser_->post_uri ()); + + return true; + } + + return false; + } + + // versionType_pskel + // + + void versionType_pskel:: + post_versionType () + { + } + + // commandType_pskel + // + + void commandType_pskel:: + check () + { + } + + void commandType_pskel:: + create () + { + } + + void commandType_pskel:: + delete_ () + { + } + + void commandType_pskel:: + info () + { + } + + void commandType_pskel:: + login () + { + } + + void commandType_pskel:: + logout () + { + } + + void commandType_pskel:: + poll () + { + } + + void commandType_pskel:: + renew () + { + } + + void commandType_pskel:: + transfer () + { + } + + void commandType_pskel:: + update () + { + } + + void commandType_pskel:: + extension () + { + } + + void commandType_pskel:: + clTRID () + { + } + + void commandType_pskel:: + post_commandType () + { + } + + bool commandType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "check" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->check_parser_; + + if (this->check_parser_) + this->check_parser_->pre (); + + return true; + } + + if (n == "create" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->create_parser_; + + if (this->create_parser_) + this->create_parser_->pre (); + + return true; + } + + if (n == "delete" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->delete__parser_; + + if (this->delete__parser_) + this->delete__parser_->pre (); + + return true; + } + + if (n == "info" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->info_parser_; + + if (this->info_parser_) + this->info_parser_->pre (); + + return true; + } + + if (n == "login" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->login_parser_; + + if (this->login_parser_) + this->login_parser_->pre (); + + return true; + } + + if (n == "logout" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->logout_parser_; + + if (this->logout_parser_) + this->logout_parser_->pre (); + + return true; + } + + if (n == "poll" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->poll_parser_; + + if (this->poll_parser_) + this->poll_parser_->pre (); + + return true; + } + + if (n == "renew" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->renew_parser_; + + if (this->renew_parser_) + this->renew_parser_->pre (); + + return true; + } + + if (n == "transfer" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->transfer_parser_; + + if (this->transfer_parser_) + this->transfer_parser_->pre (); + + return true; + } + + if (n == "update" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->update_parser_; + + if (this->update_parser_) + this->update_parser_->pre (); + + return true; + } + + if (n == "extension" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->extension_parser_; + + if (this->extension_parser_) + this->extension_parser_->pre (); + + return true; + } + + if (n == "clTRID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->clTRID_parser_; + + if (this->clTRID_parser_) + this->clTRID_parser_->pre (); + + return true; + } + + return false; + } + + bool commandType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "check" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->check_parser_) + { + this->check_parser_->post_readWriteType (); + this->check (); + } + + return true; + } + + if (n == "create" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->create_parser_) + { + this->create_parser_->post_readWriteType (); + this->create (); + } + + return true; + } + + if (n == "delete" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->delete__parser_) + { + this->delete__parser_->post_readWriteType (); + this->delete_ (); + } + + return true; + } + + if (n == "info" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->info_parser_) + { + this->info_parser_->post_readWriteType (); + this->info (); + } + + return true; + } + + if (n == "login" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->login_parser_) + { + this->login_parser_->post_loginType (); + this->login (); + } + + return true; + } + + if (n == "logout" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->logout_parser_) + { + this->logout_parser_->post_any_type (); + this->logout (); + } + + return true; + } + + if (n == "poll" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->poll_parser_) + { + this->poll_parser_->post_pollType (); + this->poll (); + } + + return true; + } + + if (n == "renew" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->renew_parser_) + { + this->renew_parser_->post_readWriteType (); + this->renew (); + } + + return true; + } + + if (n == "transfer" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->transfer_parser_) + { + this->transfer_parser_->post_transferType (); + this->transfer (); + } + + return true; + } + + if (n == "update" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->update_parser_) + { + this->update_parser_->post_readWriteType (); + this->update (); + } + + return true; + } + + if (n == "extension" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->extension_parser_) + { + this->extension_parser_->post_extAnyType (); + this->extension (); + } + + return true; + } + + if (n == "clTRID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->clTRID_parser_) + { + this->clTRID_parser_->post_trIDStringType (); + this->clTRID (); + } + + return true; + } + + return false; + } + + // loginType_pskel + // + + void loginType_pskel:: + clID () + { + } + + void loginType_pskel:: + pw () + { + } + + void loginType_pskel:: + newPW () + { + } + + void loginType_pskel:: + options () + { + } + + void loginType_pskel:: + svcs () + { + } + + void loginType_pskel:: + post_loginType () + { + } + + bool loginType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "clID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->clID_parser_; + + if (this->clID_parser_) + this->clID_parser_->pre (); + + return true; + } + + if (n == "pw" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->pw_parser_; + + if (this->pw_parser_) + this->pw_parser_->pre (); + + return true; + } + + if (n == "newPW" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->newPW_parser_; + + if (this->newPW_parser_) + this->newPW_parser_->pre (); + + return true; + } + + if (n == "options" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->options_parser_; + + if (this->options_parser_) + this->options_parser_->pre (); + + return true; + } + + if (n == "svcs" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->svcs_parser_; + + if (this->svcs_parser_) + this->svcs_parser_->pre (); + + return true; + } + + return false; + } + + bool loginType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "clID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->clID_parser_) + { + this->clID_parser_->post_clIDType (); + this->clID (); + } + + return true; + } + + if (n == "pw" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->pw_parser_) + { + this->pw_parser_->post_pwType (); + this->pw (); + } + + return true; + } + + if (n == "newPW" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->newPW_parser_) + { + this->newPW_parser_->post_pwType (); + this->newPW (); + } + + return true; + } + + if (n == "options" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->options_parser_) + { + this->options_parser_->post_credsOptionsType (); + this->options (); + } + + return true; + } + + if (n == "svcs" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->svcs_parser_) + { + this->svcs_parser_->post_loginSvcType (); + this->svcs (); + } + + return true; + } + + return false; + } + + // credsOptionsType_pskel + // + + void credsOptionsType_pskel:: + version () + { + } + + void credsOptionsType_pskel:: + lang (const ::std::string&) + { + } + + void credsOptionsType_pskel:: + post_credsOptionsType () + { + } + + bool credsOptionsType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "version" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->version_parser_; + + if (this->version_parser_) + this->version_parser_->pre (); + + return true; + } + + if (n == "lang" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->lang_parser_; + + if (this->lang_parser_) + this->lang_parser_->pre (); + + return true; + } + + return false; + } + + bool credsOptionsType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "version" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->version_parser_) + { + this->version_parser_->post_versionType (); + this->version (); + } + + return true; + } + + if (n == "lang" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->lang_parser_) + this->lang (this->lang_parser_->post_language ()); + + return true; + } + + return false; + } + + // pwType_pskel + // + + void pwType_pskel:: + post_pwType () + { + } + + // loginSvcType_pskel + // + + void loginSvcType_pskel:: + objURI (const ::std::string&) + { + } + + void loginSvcType_pskel:: + svcExtension () + { + } + + void loginSvcType_pskel:: + post_loginSvcType () + { + } + + bool loginSvcType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "objURI" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->objURI_parser_; + + if (this->objURI_parser_) + this->objURI_parser_->pre (); + + return true; + } + + if (n == "svcExtension" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->svcExtension_parser_; + + if (this->svcExtension_parser_) + this->svcExtension_parser_->pre (); + + return true; + } + + return false; + } + + bool loginSvcType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "objURI" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->objURI_parser_) + this->objURI (this->objURI_parser_->post_uri ()); + + return true; + } + + if (n == "svcExtension" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->svcExtension_parser_) + { + this->svcExtension_parser_->post_extURIType (); + this->svcExtension (); + } + + return true; + } + + return false; + } + + // pollType_pskel + // + + void pollType_pskel:: + op () + { + } + + void pollType_pskel:: + msgID (const ::std::string&) + { + } + + void pollType_pskel:: + post_pollType () + { + } + + bool pollType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::complex_content::_attribute_impl (ns, n, v)) + return true; + + if (n == "op" && ns.empty ()) + { + if (this->op_parser_) + { + this->op_parser_->pre (); + this->op_parser_->_pre_impl (); + this->op_parser_->_characters (v); + this->op_parser_->_post_impl (); + this->op_parser_->post_pollOpType (); + this->op (); + } + + return true; + } + + if (n == "msgID" && ns.empty ()) + { + if (this->msgID_parser_) + { + this->msgID_parser_->pre (); + this->msgID_parser_->_pre_impl (); + this->msgID_parser_->_characters (v); + this->msgID_parser_->_post_impl (); + this->msgID (this->msgID_parser_->post_token ()); + } + + return true; + } + + return false; + } + + // pollOpType_pskel + // + + void pollOpType_pskel:: + post_pollOpType () + { + } + + // transferType_pskel + // + + void transferType_pskel:: + op () + { + } + + void transferType_pskel:: + post_transferType () + { + } + + bool transferType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::complex_content::_attribute_impl (ns, n, v)) + return true; + + if (n == "op" && ns.empty ()) + { + if (this->op_parser_) + { + this->op_parser_->pre (); + this->op_parser_->_pre_impl (); + this->op_parser_->_characters (v); + this->op_parser_->_post_impl (); + this->op_parser_->post_transferOpType (); + this->op (); + } + + return true; + } + + return false; + } + + // transferOpType_pskel + // + + void transferOpType_pskel:: + post_transferOpType () + { + } + + // readWriteType_pskel + // + + void readWriteType_pskel:: + post_readWriteType () + { + } + + // trIDType_pskel + // + + void trIDType_pskel:: + clTRID () + { + } + + void trIDType_pskel:: + svTRID () + { + } + + void trIDType_pskel:: + post_trIDType () + { + } + + bool trIDType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "clTRID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->clTRID_parser_; + + if (this->clTRID_parser_) + this->clTRID_parser_->pre (); + + return true; + } + + if (n == "svTRID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->svTRID_parser_; + + if (this->svTRID_parser_) + this->svTRID_parser_->pre (); + + return true; + } + + return false; + } + + bool trIDType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "clTRID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->clTRID_parser_) + { + this->clTRID_parser_->post_trIDStringType (); + this->clTRID (); + } + + return true; + } + + if (n == "svTRID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->svTRID_parser_) + { + this->svTRID_parser_->post_trIDStringType (); + this->svTRID (); + } + + return true; + } + + return false; + } + + // trIDStringType_pskel + // + + void trIDStringType_pskel:: + post_trIDStringType () + { + } + + // responseType_pskel + // + + void responseType_pskel:: + result () + { + } + + void responseType_pskel:: + msgQ () + { + } + + void responseType_pskel:: + resData () + { + } + + void responseType_pskel:: + extension () + { + } + + void responseType_pskel:: + trID () + { + } + + void responseType_pskel:: + post_responseType () + { + } + + bool responseType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "result" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->result_parser_; + + if (this->result_parser_) + this->result_parser_->pre (); + + return true; + } + + if (n == "msgQ" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->msgQ_parser_; + + if (this->msgQ_parser_) + this->msgQ_parser_->pre (); + + return true; + } + + if (n == "resData" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->resData_parser_; + + if (this->resData_parser_) + this->resData_parser_->pre (); + + return true; + } + + if (n == "extension" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->extension_parser_; + + if (this->extension_parser_) + this->extension_parser_->pre (); + + return true; + } + + if (n == "trID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->trID_parser_; + + if (this->trID_parser_) + this->trID_parser_->pre (); + + return true; + } + + return false; + } + + bool responseType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "result" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->result_parser_) + { + this->result_parser_->post_resultType (); + this->result (); + } + + return true; + } + + if (n == "msgQ" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->msgQ_parser_) + { + this->msgQ_parser_->post_msgQType (); + this->msgQ (); + } + + return true; + } + + if (n == "resData" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->resData_parser_) + { + this->resData_parser_->post_extAnyType (); + this->resData (); + } + + return true; + } + + if (n == "extension" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->extension_parser_) + { + this->extension_parser_->post_extAnyType (); + this->extension (); + } + + return true; + } + + if (n == "trID" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->trID_parser_) + { + this->trID_parser_->post_trIDType (); + this->trID (); + } + + return true; + } + + return false; + } + + // resultType_pskel + // + + void resultType_pskel:: + msg () + { + } + + void resultType_pskel:: + value () + { + } + + void resultType_pskel:: + extValue () + { + } + + void resultType_pskel:: + code () + { + } + + void resultType_pskel:: + post_resultType () + { + } + + bool resultType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "msg" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->msg_parser_; + + if (this->msg_parser_) + this->msg_parser_->pre (); + + return true; + } + + if (n == "value" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->value_parser_; + + if (this->value_parser_) + this->value_parser_->pre (); + + return true; + } + + if (n == "extValue" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->extValue_parser_; + + if (this->extValue_parser_) + this->extValue_parser_->pre (); + + return true; + } + + return false; + } + + bool resultType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "msg" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->msg_parser_) + { + this->msg_parser_->post_msgType (); + this->msg (); + } + + return true; + } + + if (n == "value" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->value_parser_) + { + this->value_parser_->post_errValueType (); + this->value (); + } + + return true; + } + + if (n == "extValue" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->extValue_parser_) + { + this->extValue_parser_->post_extErrValueType (); + this->extValue (); + } + + return true; + } + + return false; + } + + bool resultType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::complex_content::_attribute_impl (ns, n, v)) + return true; + + if (n == "code" && ns.empty ()) + { + if (this->code_parser_) + { + this->code_parser_->pre (); + this->code_parser_->_pre_impl (); + this->code_parser_->_characters (v); + this->code_parser_->_post_impl (); + this->code_parser_->post_resultCodeType (); + this->code (); + } + + return true; + } + + return false; + } + + // errValueType_pskel + // + + void errValueType_pskel:: + post_errValueType () + { + } + + // extErrValueType_pskel + // + + void extErrValueType_pskel:: + value () + { + } + + void extErrValueType_pskel:: + reason () + { + } + + void extErrValueType_pskel:: + post_extErrValueType () + { + } + + bool extErrValueType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "value" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->value_parser_; + + if (this->value_parser_) + this->value_parser_->pre (); + + return true; + } + + if (n == "reason" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->reason_parser_; + + if (this->reason_parser_) + this->reason_parser_->pre (); + + return true; + } + + return false; + } + + bool extErrValueType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "value" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->value_parser_) + { + this->value_parser_->post_errValueType (); + this->value (); + } + + return true; + } + + if (n == "reason" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->reason_parser_) + { + this->reason_parser_->post_msgType (); + this->reason (); + } + + return true; + } + + return false; + } + + // msgQType_pskel + // + + void msgQType_pskel:: + qDate (const ::xml_schema::date_time&) + { + } + + void msgQType_pskel:: + msg () + { + } + + void msgQType_pskel:: + count (unsigned long long) + { + } + + void msgQType_pskel:: + id () + { + } + + void msgQType_pskel:: + post_msgQType () + { + } + + bool msgQType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "qDate" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->qDate_parser_; + + if (this->qDate_parser_) + this->qDate_parser_->pre (); + + return true; + } + + if (n == "msg" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->msg_parser_; + + if (this->msg_parser_) + this->msg_parser_->pre (); + + return true; + } + + return false; + } + + bool msgQType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "qDate" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->qDate_parser_) + this->qDate (this->qDate_parser_->post_date_time ()); + + return true; + } + + if (n == "msg" && ns == "urn:ietf:params:xml:ns:epp-1.0") + { + if (this->msg_parser_) + { + this->msg_parser_->post_mixedMsgType (); + this->msg (); + } + + return true; + } + + return false; + } + + bool msgQType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::complex_content::_attribute_impl (ns, n, v)) + return true; + + if (n == "count" && ns.empty ()) + { + if (this->count_parser_) + { + this->count_parser_->pre (); + this->count_parser_->_pre_impl (); + this->count_parser_->_characters (v); + this->count_parser_->_post_impl (); + this->count (this->count_parser_->post_unsigned_long ()); + } + + return true; + } + + if (n == "id" && ns.empty ()) + { + if (this->id_parser_) + { + this->id_parser_->pre (); + this->id_parser_->_pre_impl (); + this->id_parser_->_characters (v); + this->id_parser_->_post_impl (); + this->id_parser_->post_minTokenType (); + this->id (); + } + + return true; + } + + return false; + } + + // mixedMsgType_pskel + // + + void mixedMsgType_pskel:: + lang (const ::std::string&) + { + } + + void mixedMsgType_pskel:: + post_mixedMsgType () + { + } + + bool mixedMsgType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::complex_content::_attribute_impl (ns, n, v)) + return true; + + if (n == "lang" && ns.empty ()) + { + if (this->lang_parser_) + { + this->lang_parser_->pre (); + this->lang_parser_->_pre_impl (); + this->lang_parser_->_characters (v); + this->lang_parser_->_post_impl (); + this->lang (this->lang_parser_->post_language ()); + } + + return true; + } + + return false; + } + + // msgType_pskel + // + + void msgType_pskel:: + lang (const ::std::string&) + { + } + + void msgType_pskel:: + post_msgType () + { + } + + bool msgType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::normalized_string_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "lang" && ns.empty ()) + { + if (this->lang_parser_) + { + this->lang_parser_->pre (); + this->lang_parser_->_pre_impl (); + this->lang_parser_->_characters (v); + this->lang_parser_->_post_impl (); + this->lang (this->lang_parser_->post_language ()); + } + + return true; + } + + return false; + } + + // resultCodeType_pskel + // + + void resultCodeType_pskel:: + post_resultCodeType () + { + } +} + +// Begin epilogue. +// +// +// End epilogue. + diff --git a/APIG/client/eppcom-1.0.cpp b/APIG/client/eppcom-1.0.cpp new file mode 100644 index 0000000..819aecc --- /dev/null +++ b/APIG/client/eppcom-1.0.cpp @@ -0,0 +1,227 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +// Begin prologue. +// +// +// End prologue. + +#include "eppcom-1.0-pskel.hxx" + +namespace eppcom_1_0 +{ + // pwAuthInfoType_pskel + // + + void pwAuthInfoType_pskel:: + roid_parser (::eppcom_1_0::roidType_pskel& p) + { + this->roid_parser_ = &p; + } + + void pwAuthInfoType_pskel:: + parsers (::eppcom_1_0::roidType_pskel& roid) + { + this->roid_parser_ = &roid; + } + + pwAuthInfoType_pskel:: + pwAuthInfoType_pskel () + : roid_parser_ (0) + { + } + + // reasonType_pskel + // + + void reasonType_pskel:: + lang_parser (::xml_schema::language_pskel& p) + { + this->lang_parser_ = &p; + } + + void reasonType_pskel:: + parsers (::xml_schema::language_pskel& lang) + { + this->lang_parser_ = ⟨ + } + + reasonType_pskel:: + reasonType_pskel () + : lang_parser_ (0) + { + } +} + +namespace eppcom_1_0 +{ + // pwAuthInfoType_pskel + // + + void pwAuthInfoType_pskel:: + roid () + { + } + + void pwAuthInfoType_pskel:: + post_pwAuthInfoType () + { + } + + bool pwAuthInfoType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::normalized_string_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "roid" && ns.empty ()) + { + if (this->roid_parser_) + { + this->roid_parser_->pre (); + this->roid_parser_->_pre_impl (); + this->roid_parser_->_characters (v); + this->roid_parser_->_post_impl (); + this->roid_parser_->post_roidType (); + this->roid (); + } + + return true; + } + + return false; + } + + // extAuthInfoType_pskel + // + + void extAuthInfoType_pskel:: + post_extAuthInfoType () + { + } + + // reasonBaseType_pskel + // + + void reasonBaseType_pskel:: + post_reasonBaseType () + { + } + + // reasonType_pskel + // + + void reasonType_pskel:: + lang (const ::std::string&) + { + } + + void reasonType_pskel:: + post_reasonType () + { + post_reasonBaseType (); + } + + bool reasonType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::eppcom_1_0::reasonBaseType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "lang" && ns.empty ()) + { + if (this->lang_parser_) + { + this->lang_parser_->pre (); + this->lang_parser_->_pre_impl (); + this->lang_parser_->_characters (v); + this->lang_parser_->_post_impl (); + this->lang (this->lang_parser_->post_language ()); + } + + return true; + } + + return false; + } + + // clIDType_pskel + // + + void clIDType_pskel:: + post_clIDType () + { + } + + // labelType_pskel + // + + void labelType_pskel:: + post_labelType () + { + } + + // minTokenType_pskel + // + + void minTokenType_pskel:: + post_minTokenType () + { + } + + // roidType_pskel + // + + void roidType_pskel:: + post_roidType () + { + } + + // trStatusType_pskel + // + + void trStatusType_pskel:: + post_trStatusType () + { + } +} + +// Begin epilogue. +// +// +// End epilogue. + diff --git a/APIG/client/host-1.0.cpp b/APIG/client/host-1.0.cpp new file mode 100644 index 0000000..2f640d8 --- /dev/null +++ b/APIG/client/host-1.0.cpp @@ -0,0 +1,1817 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +// Begin prologue. +// +// +// End prologue. + +#include "host-1.0-pskel.hxx" + +namespace host_1_0 +{ + // createType_pskel + // + + void createType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void createType_pskel:: + addr_parser (::host_1_0::addrType_pskel& p) + { + this->addr_parser_ = &p; + } + + void createType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::host_1_0::addrType_pskel& addr) + { + this->name_parser_ = &name; + this->addr_parser_ = &addr; + } + + createType_pskel:: + createType_pskel () + : name_parser_ (0), + addr_parser_ (0) + { + } + + // addrType_pskel + // + + void addrType_pskel:: + ip_parser (::host_1_0::ipType_pskel& p) + { + this->ip_parser_ = &p; + } + + void addrType_pskel:: + parsers (::host_1_0::ipType_pskel& ip) + { + this->ip_parser_ = &ip; + } + + addrType_pskel:: + addrType_pskel () + : ip_parser_ (0) + { + } + + // sNameType_pskel + // + + void sNameType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void sNameType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name) + { + this->name_parser_ = &name; + } + + sNameType_pskel:: + sNameType_pskel () + : name_parser_ (0) + { + } + + // mNameType_pskel + // + + void mNameType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void mNameType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name) + { + this->name_parser_ = &name; + } + + mNameType_pskel:: + mNameType_pskel () + : name_parser_ (0) + { + } + + // updateType_pskel + // + + void updateType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void updateType_pskel:: + add_parser (::host_1_0::addRemType_pskel& p) + { + this->add_parser_ = &p; + } + + void updateType_pskel:: + rem_parser (::host_1_0::addRemType_pskel& p) + { + this->rem_parser_ = &p; + } + + void updateType_pskel:: + chg_parser (::host_1_0::chgType_pskel& p) + { + this->chg_parser_ = &p; + } + + void updateType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::host_1_0::addRemType_pskel& add, + ::host_1_0::addRemType_pskel& rem, + ::host_1_0::chgType_pskel& chg) + { + this->name_parser_ = &name; + this->add_parser_ = &add; + this->rem_parser_ = &rem; + this->chg_parser_ = &chg; + } + + updateType_pskel:: + updateType_pskel () + : name_parser_ (0), + add_parser_ (0), + rem_parser_ (0), + chg_parser_ (0) + { + } + + // addRemType_pskel + // + + void addRemType_pskel:: + addr_parser (::host_1_0::addrType_pskel& p) + { + this->addr_parser_ = &p; + } + + void addRemType_pskel:: + status_parser (::host_1_0::statusType_pskel& p) + { + this->status_parser_ = &p; + } + + void addRemType_pskel:: + parsers (::host_1_0::addrType_pskel& addr, + ::host_1_0::statusType_pskel& status) + { + this->addr_parser_ = &addr; + this->status_parser_ = &status; + } + + addRemType_pskel:: + addRemType_pskel () + : addr_parser_ (0), + status_parser_ (0) + { + } + + // chgType_pskel + // + + void chgType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void chgType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name) + { + this->name_parser_ = &name; + } + + chgType_pskel:: + chgType_pskel () + : name_parser_ (0) + { + } + + // chkDataType_pskel + // + + void chkDataType_pskel:: + cd_parser (::host_1_0::checkType_pskel& p) + { + this->cd_parser_ = &p; + } + + void chkDataType_pskel:: + parsers (::host_1_0::checkType_pskel& cd) + { + this->cd_parser_ = &cd; + } + + chkDataType_pskel:: + chkDataType_pskel () + : cd_parser_ (0) + { + } + + // checkType_pskel + // + + void checkType_pskel:: + name_parser (::host_1_0::checkNameType_pskel& p) + { + this->name_parser_ = &p; + } + + void checkType_pskel:: + reason_parser (::eppcom_1_0::reasonType_pskel& p) + { + this->reason_parser_ = &p; + } + + void checkType_pskel:: + parsers (::host_1_0::checkNameType_pskel& name, + ::eppcom_1_0::reasonType_pskel& reason) + { + this->name_parser_ = &name; + this->reason_parser_ = &reason; + } + + checkType_pskel:: + checkType_pskel () + : name_parser_ (0), + reason_parser_ (0) + { + } + + // checkNameType_pskel + // + + void checkNameType_pskel:: + avail_parser (::xml_schema::boolean_pskel& p) + { + this->avail_parser_ = &p; + } + + void checkNameType_pskel:: + parsers (::xml_schema::boolean_pskel& avail) + { + this->avail_parser_ = &avail; + } + + checkNameType_pskel:: + checkNameType_pskel () + : avail_parser_ (0) + { + } + + // creDataType_pskel + // + + void creDataType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void creDataType_pskel:: + crDate_parser (::xml_schema::date_time_pskel& p) + { + this->crDate_parser_ = &p; + } + + void creDataType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::xml_schema::date_time_pskel& crDate) + { + this->name_parser_ = &name; + this->crDate_parser_ = &crDate; + } + + creDataType_pskel:: + creDataType_pskel () + : name_parser_ (0), + crDate_parser_ (0) + { + } + + // infDataType_pskel + // + + void infDataType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void infDataType_pskel:: + roid_parser (::eppcom_1_0::roidType_pskel& p) + { + this->roid_parser_ = &p; + } + + void infDataType_pskel:: + status_parser (::host_1_0::statusType_pskel& p) + { + this->status_parser_ = &p; + } + + void infDataType_pskel:: + addr_parser (::host_1_0::addrType_pskel& p) + { + this->addr_parser_ = &p; + } + + void infDataType_pskel:: + clID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->clID_parser_ = &p; + } + + void infDataType_pskel:: + crID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->crID_parser_ = &p; + } + + void infDataType_pskel:: + crDate_parser (::xml_schema::date_time_pskel& p) + { + this->crDate_parser_ = &p; + } + + void infDataType_pskel:: + upID_parser (::eppcom_1_0::clIDType_pskel& p) + { + this->upID_parser_ = &p; + } + + void infDataType_pskel:: + upDate_parser (::xml_schema::date_time_pskel& p) + { + this->upDate_parser_ = &p; + } + + void infDataType_pskel:: + trDate_parser (::xml_schema::date_time_pskel& p) + { + this->trDate_parser_ = &p; + } + + void infDataType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::eppcom_1_0::roidType_pskel& roid, + ::host_1_0::statusType_pskel& status, + ::host_1_0::addrType_pskel& addr, + ::eppcom_1_0::clIDType_pskel& clID, + ::eppcom_1_0::clIDType_pskel& crID, + ::xml_schema::date_time_pskel& crDate, + ::eppcom_1_0::clIDType_pskel& upID, + ::xml_schema::date_time_pskel& upDate, + ::xml_schema::date_time_pskel& trDate) + { + this->name_parser_ = &name; + this->roid_parser_ = &roid; + this->status_parser_ = &status; + this->addr_parser_ = &addr; + this->clID_parser_ = &clID; + this->crID_parser_ = &crID; + this->crDate_parser_ = &crDate; + this->upID_parser_ = &upID; + this->upDate_parser_ = &upDate; + this->trDate_parser_ = &trDate; + } + + infDataType_pskel:: + infDataType_pskel () + : name_parser_ (0), + roid_parser_ (0), + status_parser_ (0), + addr_parser_ (0), + clID_parser_ (0), + crID_parser_ (0), + crDate_parser_ (0), + upID_parser_ (0), + upDate_parser_ (0), + trDate_parser_ (0) + { + } + + // statusType_pskel + // + + void statusType_pskel:: + s_parser (::host_1_0::statusValueType_pskel& p) + { + this->s_parser_ = &p; + } + + void statusType_pskel:: + lang_parser (::xml_schema::language_pskel& p) + { + this->lang_parser_ = &p; + } + + void statusType_pskel:: + parsers (::host_1_0::statusValueType_pskel& s, + ::xml_schema::language_pskel& lang) + { + this->s_parser_ = &s; + this->lang_parser_ = ⟨ + } + + statusType_pskel:: + statusType_pskel () + : s_parser_ (0), + lang_parser_ (0) + { + } + + // panDataType_pskel + // + + void panDataType_pskel:: + name_parser (::host_1_0::paNameType_pskel& p) + { + this->name_parser_ = &p; + } + + void panDataType_pskel:: + paTRID_parser (::epp_1_0::trIDType_pskel& p) + { + this->paTRID_parser_ = &p; + } + + void panDataType_pskel:: + paDate_parser (::xml_schema::date_time_pskel& p) + { + this->paDate_parser_ = &p; + } + + void panDataType_pskel:: + parsers (::host_1_0::paNameType_pskel& name, + ::epp_1_0::trIDType_pskel& paTRID, + ::xml_schema::date_time_pskel& paDate) + { + this->name_parser_ = &name; + this->paTRID_parser_ = &paTRID; + this->paDate_parser_ = &paDate; + } + + panDataType_pskel:: + panDataType_pskel () + : name_parser_ (0), + paTRID_parser_ (0), + paDate_parser_ (0) + { + } + + // paNameType_pskel + // + + void paNameType_pskel:: + paResult_parser (::xml_schema::boolean_pskel& p) + { + this->paResult_parser_ = &p; + } + + void paNameType_pskel:: + parsers (::xml_schema::boolean_pskel& paResult) + { + this->paResult_parser_ = &paResult; + } + + paNameType_pskel:: + paNameType_pskel () + : paResult_parser_ (0) + { + } +} + +namespace host_1_0 +{ + // createType_pskel + // + + void createType_pskel:: + name () + { + } + + void createType_pskel:: + addr () + { + } + + void createType_pskel:: + post_createType () + { + } + + bool createType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->addr_parser_; + + if (this->addr_parser_) + this->addr_parser_->pre (); + + return true; + } + + return false; + } + + bool createType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->addr_parser_) + { + this->addr_parser_->post_addrType (); + this->addr (); + } + + return true; + } + + return false; + } + + // addrStringType_pskel + // + + void addrStringType_pskel:: + post_addrStringType () + { + } + + // addrType_pskel + // + + void addrType_pskel:: + ip () + { + } + + void addrType_pskel:: + post_addrType () + { + post_addrStringType (); + } + + bool addrType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::host_1_0::addrStringType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "ip" && ns.empty ()) + { + if (this->ip_parser_) + { + this->ip_parser_->pre (); + this->ip_parser_->_pre_impl (); + this->ip_parser_->_characters (v); + this->ip_parser_->_post_impl (); + this->ip_parser_->post_ipType (); + this->ip (); + } + + return true; + } + + return false; + } + + // ipType_pskel + // + + void ipType_pskel:: + post_ipType () + { + } + + // sNameType_pskel + // + + void sNameType_pskel:: + name () + { + } + + void sNameType_pskel:: + post_sNameType () + { + } + + bool sNameType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + return false; + } + + bool sNameType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + return false; + } + + // mNameType_pskel + // + + void mNameType_pskel:: + name () + { + } + + void mNameType_pskel:: + post_mNameType () + { + } + + bool mNameType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + return false; + } + + bool mNameType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + return false; + } + + // updateType_pskel + // + + void updateType_pskel:: + name () + { + } + + void updateType_pskel:: + add () + { + } + + void updateType_pskel:: + rem () + { + } + + void updateType_pskel:: + chg () + { + } + + void updateType_pskel:: + post_updateType () + { + } + + bool updateType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "add" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->add_parser_; + + if (this->add_parser_) + this->add_parser_->pre (); + + return true; + } + + if (n == "rem" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->rem_parser_; + + if (this->rem_parser_) + this->rem_parser_->pre (); + + return true; + } + + if (n == "chg" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->chg_parser_; + + if (this->chg_parser_) + this->chg_parser_->pre (); + + return true; + } + + return false; + } + + bool updateType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "add" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->add_parser_) + { + this->add_parser_->post_addRemType (); + this->add (); + } + + return true; + } + + if (n == "rem" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->rem_parser_) + { + this->rem_parser_->post_addRemType (); + this->rem (); + } + + return true; + } + + if (n == "chg" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->chg_parser_) + { + this->chg_parser_->post_chgType (); + this->chg (); + } + + return true; + } + + return false; + } + + // addRemType_pskel + // + + void addRemType_pskel:: + addr () + { + } + + void addRemType_pskel:: + status () + { + } + + void addRemType_pskel:: + post_addRemType () + { + } + + bool addRemType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->addr_parser_; + + if (this->addr_parser_) + this->addr_parser_->pre (); + + return true; + } + + if (n == "status" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->status_parser_; + + if (this->status_parser_) + this->status_parser_->pre (); + + return true; + } + + return false; + } + + bool addRemType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->addr_parser_) + { + this->addr_parser_->post_addrType (); + this->addr (); + } + + return true; + } + + if (n == "status" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->status_parser_) + { + this->status_parser_->post_statusType (); + this->status (); + } + + return true; + } + + return false; + } + + // chgType_pskel + // + + void chgType_pskel:: + name () + { + } + + void chgType_pskel:: + post_chgType () + { + } + + bool chgType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + return false; + } + + bool chgType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + return false; + } + + // chkDataType_pskel + // + + void chkDataType_pskel:: + cd () + { + } + + void chkDataType_pskel:: + post_chkDataType () + { + } + + bool chkDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "cd" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->cd_parser_; + + if (this->cd_parser_) + this->cd_parser_->pre (); + + return true; + } + + return false; + } + + bool chkDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "cd" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->cd_parser_) + { + this->cd_parser_->post_checkType (); + this->cd (); + } + + return true; + } + + return false; + } + + // checkType_pskel + // + + void checkType_pskel:: + name () + { + } + + void checkType_pskel:: + reason () + { + } + + void checkType_pskel:: + post_checkType () + { + } + + bool checkType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "reason" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->reason_parser_; + + if (this->reason_parser_) + this->reason_parser_->pre (); + + return true; + } + + return false; + } + + bool checkType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_checkNameType (); + this->name (); + } + + return true; + } + + if (n == "reason" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->reason_parser_) + { + this->reason_parser_->post_reasonType (); + this->reason (); + } + + return true; + } + + return false; + } + + // checkNameType_pskel + // + + void checkNameType_pskel:: + avail (bool) + { + } + + void checkNameType_pskel:: + post_checkNameType () + { + post_labelType (); + } + + bool checkNameType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::eppcom_1_0::labelType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "avail" && ns.empty ()) + { + if (this->avail_parser_) + { + this->avail_parser_->pre (); + this->avail_parser_->_pre_impl (); + this->avail_parser_->_characters (v); + this->avail_parser_->_post_impl (); + this->avail (this->avail_parser_->post_boolean ()); + } + + return true; + } + + return false; + } + + // creDataType_pskel + // + + void creDataType_pskel:: + name () + { + } + + void creDataType_pskel:: + crDate (const ::xml_schema::date_time&) + { + } + + void creDataType_pskel:: + post_creDataType () + { + } + + bool creDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->crDate_parser_; + + if (this->crDate_parser_) + this->crDate_parser_->pre (); + + return true; + } + + return false; + } + + bool creDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->crDate_parser_) + this->crDate (this->crDate_parser_->post_date_time ()); + + return true; + } + + return false; + } + + // infDataType_pskel + // + + void infDataType_pskel:: + name () + { + } + + void infDataType_pskel:: + roid () + { + } + + void infDataType_pskel:: + status () + { + } + + void infDataType_pskel:: + addr () + { + } + + void infDataType_pskel:: + clID () + { + } + + void infDataType_pskel:: + crID () + { + } + + void infDataType_pskel:: + crDate (const ::xml_schema::date_time&) + { + } + + void infDataType_pskel:: + upID () + { + } + + void infDataType_pskel:: + upDate (const ::xml_schema::date_time&) + { + } + + void infDataType_pskel:: + trDate (const ::xml_schema::date_time&) + { + } + + void infDataType_pskel:: + post_infDataType () + { + } + + bool infDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "roid" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->roid_parser_; + + if (this->roid_parser_) + this->roid_parser_->pre (); + + return true; + } + + if (n == "status" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->status_parser_; + + if (this->status_parser_) + this->status_parser_->pre (); + + return true; + } + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->addr_parser_; + + if (this->addr_parser_) + this->addr_parser_->pre (); + + return true; + } + + if (n == "clID" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->clID_parser_; + + if (this->clID_parser_) + this->clID_parser_->pre (); + + return true; + } + + if (n == "crID" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->crID_parser_; + + if (this->crID_parser_) + this->crID_parser_->pre (); + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->crDate_parser_; + + if (this->crDate_parser_) + this->crDate_parser_->pre (); + + return true; + } + + if (n == "upID" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->upID_parser_; + + if (this->upID_parser_) + this->upID_parser_->pre (); + + return true; + } + + if (n == "upDate" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->upDate_parser_; + + if (this->upDate_parser_) + this->upDate_parser_->pre (); + + return true; + } + + if (n == "trDate" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->trDate_parser_; + + if (this->trDate_parser_) + this->trDate_parser_->pre (); + + return true; + } + + return false; + } + + bool infDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "roid" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->roid_parser_) + { + this->roid_parser_->post_roidType (); + this->roid (); + } + + return true; + } + + if (n == "status" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->status_parser_) + { + this->status_parser_->post_statusType (); + this->status (); + } + + return true; + } + + if (n == "addr" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->addr_parser_) + { + this->addr_parser_->post_addrType (); + this->addr (); + } + + return true; + } + + if (n == "clID" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->clID_parser_) + { + this->clID_parser_->post_clIDType (); + this->clID (); + } + + return true; + } + + if (n == "crID" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->crID_parser_) + { + this->crID_parser_->post_clIDType (); + this->crID (); + } + + return true; + } + + if (n == "crDate" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->crDate_parser_) + this->crDate (this->crDate_parser_->post_date_time ()); + + return true; + } + + if (n == "upID" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->upID_parser_) + { + this->upID_parser_->post_clIDType (); + this->upID (); + } + + return true; + } + + if (n == "upDate" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->upDate_parser_) + this->upDate (this->upDate_parser_->post_date_time ()); + + return true; + } + + if (n == "trDate" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->trDate_parser_) + this->trDate (this->trDate_parser_->post_date_time ()); + + return true; + } + + return false; + } + + // statusType_pskel + // + + void statusType_pskel:: + s () + { + } + + void statusType_pskel:: + lang (const ::std::string&) + { + } + + void statusType_pskel:: + post_statusType () + { + } + + bool statusType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::xml_schema::normalized_string_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "s" && ns.empty ()) + { + if (this->s_parser_) + { + this->s_parser_->pre (); + this->s_parser_->_pre_impl (); + this->s_parser_->_characters (v); + this->s_parser_->_post_impl (); + this->s_parser_->post_statusValueType (); + this->s (); + } + + return true; + } + + if (n == "lang" && ns.empty ()) + { + if (this->lang_parser_) + { + this->lang_parser_->pre (); + this->lang_parser_->_pre_impl (); + this->lang_parser_->_characters (v); + this->lang_parser_->_post_impl (); + this->lang (this->lang_parser_->post_language ()); + } + + return true; + } + + return false; + } + + // statusValueType_pskel + // + + void statusValueType_pskel:: + post_statusValueType () + { + } + + // panDataType_pskel + // + + void panDataType_pskel:: + name () + { + } + + void panDataType_pskel:: + paTRID () + { + } + + void panDataType_pskel:: + paDate (const ::xml_schema::date_time&) + { + } + + void panDataType_pskel:: + post_panDataType () + { + } + + bool panDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "paTRID" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->paTRID_parser_; + + if (this->paTRID_parser_) + this->paTRID_parser_->pre (); + + return true; + } + + if (n == "paDate" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->paDate_parser_; + + if (this->paDate_parser_) + this->paDate_parser_->pre (); + + return true; + } + + return false; + } + + bool panDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_paNameType (); + this->name (); + } + + return true; + } + + if (n == "paTRID" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->paTRID_parser_) + { + this->paTRID_parser_->post_trIDType (); + this->paTRID (); + } + + return true; + } + + if (n == "paDate" && ns == "urn:ietf:params:xml:ns:host-1.0") + { + if (this->paDate_parser_) + this->paDate (this->paDate_parser_->post_date_time ()); + + return true; + } + + return false; + } + + // paNameType_pskel + // + + void paNameType_pskel:: + paResult (bool) + { + } + + void paNameType_pskel:: + post_paNameType () + { + post_labelType (); + } + + bool paNameType_pskel:: + _attribute_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string& v) + { + if (this->::eppcom_1_0::labelType_pskel::_attribute_impl (ns, n, v)) + return true; + + if (n == "paResult" && ns.empty ()) + { + if (this->paResult_parser_) + { + this->paResult_parser_->pre (); + this->paResult_parser_->_pre_impl (); + this->paResult_parser_->_characters (v); + this->paResult_parser_->_post_impl (); + this->paResult (this->paResult_parser_->post_boolean ()); + } + + return true; + } + + return false; + } +} + +// Begin epilogue. +// +// +// End epilogue. + diff --git a/APIG/client/registrant-1.0.cpp b/APIG/client/registrant-1.0.cpp new file mode 100644 index 0000000..fe511b2 --- /dev/null +++ b/APIG/client/registrant-1.0.cpp @@ -0,0 +1,486 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +// Begin prologue. +// +// +// End prologue. + +#include "registrant-1.0-pskel.hxx" + +namespace registrant_1_0 +{ + // commandType_pskel + // + + void commandType_pskel:: + registrantTransfer_parser (::registrant_1_0::registrantTransferType_pskel& p) + { + this->registrantTransfer_parser_ = &p; + } + + void commandType_pskel:: + clTRID_parser (::epp_1_0::trIDStringType_pskel& p) + { + this->clTRID_parser_ = &p; + } + + void commandType_pskel:: + parsers (::registrant_1_0::registrantTransferType_pskel& registrantTransfer, + ::epp_1_0::trIDStringType_pskel& clTRID) + { + this->registrantTransfer_parser_ = ®istrantTransfer; + this->clTRID_parser_ = &clTRID; + } + + commandType_pskel:: + commandType_pskel () + : registrantTransfer_parser_ (0), + clTRID_parser_ (0) + { + } + + // registrantTransferType_pskel + // + + void registrantTransferType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void registrantTransferType_pskel:: + curExpDate_parser (::xml_schema::date_pskel& p) + { + this->curExpDate_parser_ = &p; + } + + void registrantTransferType_pskel:: + period_parser (::domain_1_0::periodType_pskel& p) + { + this->period_parser_ = &p; + } + + void registrantTransferType_pskel:: + kvlist_parser (::kv_1_0::listType_pskel& p) + { + this->kvlist_parser_ = &p; + } + + void registrantTransferType_pskel:: + explanation_parser (::xml_schema::normalized_string_pskel& p) + { + this->explanation_parser_ = &p; + } + + void registrantTransferType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::xml_schema::date_pskel& curExpDate, + ::domain_1_0::periodType_pskel& period, + ::kv_1_0::listType_pskel& kvlist, + ::xml_schema::normalized_string_pskel& explanation) + { + this->name_parser_ = &name; + this->curExpDate_parser_ = &curExpDate; + this->period_parser_ = . + this->kvlist_parser_ = &kvlist; + this->explanation_parser_ = &explanation; + } + + registrantTransferType_pskel:: + registrantTransferType_pskel () + : name_parser_ (0), + curExpDate_parser_ (0), + period_parser_ (0), + kvlist_parser_ (0), + explanation_parser_ (0) + { + } + + // rtrnDataType_pskel + // + + void rtrnDataType_pskel:: + name_parser (::eppcom_1_0::labelType_pskel& p) + { + this->name_parser_ = &p; + } + + void rtrnDataType_pskel:: + exDate_parser (::xml_schema::date_time_pskel& p) + { + this->exDate_parser_ = &p; + } + + void rtrnDataType_pskel:: + parsers (::eppcom_1_0::labelType_pskel& name, + ::xml_schema::date_time_pskel& exDate) + { + this->name_parser_ = &name; + this->exDate_parser_ = &exDate; + } + + rtrnDataType_pskel:: + rtrnDataType_pskel () + : name_parser_ (0), + exDate_parser_ (0) + { + } +} + +namespace registrant_1_0 +{ + // commandType_pskel + // + + void commandType_pskel:: + registrantTransfer () + { + } + + void commandType_pskel:: + clTRID () + { + } + + void commandType_pskel:: + post_commandType () + { + } + + bool commandType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "registrantTransfer" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->registrantTransfer_parser_; + + if (this->registrantTransfer_parser_) + this->registrantTransfer_parser_->pre (); + + return true; + } + + if (n == "clTRID" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->clTRID_parser_; + + if (this->clTRID_parser_) + this->clTRID_parser_->pre (); + + return true; + } + + return false; + } + + bool commandType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "registrantTransfer" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + if (this->registrantTransfer_parser_) + { + this->registrantTransfer_parser_->post_registrantTransferType (); + this->registrantTransfer (); + } + + return true; + } + + if (n == "clTRID" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + if (this->clTRID_parser_) + { + this->clTRID_parser_->post_trIDStringType (); + this->clTRID (); + } + + return true; + } + + return false; + } + + // registrantTransferType_pskel + // + + void registrantTransferType_pskel:: + name () + { + } + + void registrantTransferType_pskel:: + curExpDate (const ::xml_schema::date&) + { + } + + void registrantTransferType_pskel:: + period () + { + } + + void registrantTransferType_pskel:: + kvlist () + { + } + + void registrantTransferType_pskel:: + explanation (const ::std::string&) + { + } + + void registrantTransferType_pskel:: + post_registrantTransferType () + { + } + + bool registrantTransferType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "curExpDate" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->curExpDate_parser_; + + if (this->curExpDate_parser_) + this->curExpDate_parser_->pre (); + + return true; + } + + if (n == "period" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->period_parser_; + + if (this->period_parser_) + this->period_parser_->pre (); + + return true; + } + + if (n == "kvlist" && ns == "urn:X-ar:params:xml:ns:kv-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->kvlist_parser_; + + if (this->kvlist_parser_) + this->kvlist_parser_->pre (); + + return true; + } + + if (n == "explanation" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->explanation_parser_; + + if (this->explanation_parser_) + this->explanation_parser_->pre (); + + return true; + } + + return false; + } + + bool registrantTransferType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "curExpDate" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + if (this->curExpDate_parser_) + this->curExpDate (this->curExpDate_parser_->post_date ()); + + return true; + } + + if (n == "period" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + if (this->period_parser_) + { + this->period_parser_->post_periodType (); + this->period (); + } + + return true; + } + + if (n == "kvlist" && ns == "urn:X-ar:params:xml:ns:kv-1.0") + { + if (this->kvlist_parser_) + { + this->kvlist_parser_->post_listType (); + this->kvlist (); + } + + return true; + } + + if (n == "explanation" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + if (this->explanation_parser_) + this->explanation (this->explanation_parser_->post_normalized_string ()); + + return true; + } + + return false; + } + + // rtrnDataType_pskel + // + + void rtrnDataType_pskel:: + name () + { + } + + void rtrnDataType_pskel:: + exDate (const ::xml_schema::date_time&) + { + } + + void rtrnDataType_pskel:: + post_rtrnDataType () + { + } + + bool rtrnDataType_pskel:: + _start_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n, + const ::xml_schema::ro_string* t) + { + XSD_UNUSED (t); + + if (this->::xml_schema::complex_content::_start_element_impl (ns, n, t)) + return true; + + if (n == "name" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->name_parser_; + + if (this->name_parser_) + this->name_parser_->pre (); + + return true; + } + + if (n == "exDate" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + this->::xml_schema::complex_content::context_.top ().parser_ = this->exDate_parser_; + + if (this->exDate_parser_) + this->exDate_parser_->pre (); + + return true; + } + + return false; + } + + bool rtrnDataType_pskel:: + _end_element_impl (const ::xml_schema::ro_string& ns, + const ::xml_schema::ro_string& n) + { + if (this->::xml_schema::complex_content::_end_element_impl (ns, n)) + return true; + + if (n == "name" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + if (this->name_parser_) + { + this->name_parser_->post_labelType (); + this->name (); + } + + return true; + } + + if (n == "exDate" && ns == "urn:X-ar:params:xml:ns:registrant-1.0") + { + if (this->exDate_parser_) + this->exDate (this->exDate_parser_->post_date_time ()); + + return true; + } + + return false; + } +} + +// Begin epilogue. +// +// +// End epilogue. + diff --git a/APIG/include/contact-1.0.hpp b/APIG/include/contact-1.0.hpp new file mode 100644 index 0000000..8093387 --- /dev/null +++ b/APIG/include/contact-1.0.hpp @@ -0,0 +1,1805 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +#ifndef CXX______RESOURCES_CONTACT_1_0_PSKEL_HXX +#define CXX______RESOURCES_CONTACT_1_0_PSKEL_HXX + +// Begin prologue. +// +// +// End prologue. + +#include + +#if (XSD_INT_VERSION != 3030000L) +#error XSD runtime version mismatch +#endif + +#include + +// Forward declarations +// +namespace contact_1_0 +{ + class ccType_pskel; + class e164StringType_pskel; + class e164Type_pskel; + class pcType_pskel; + class postalLineType_pskel; + class optPostalLineType_pskel; + class createType_pskel; + class postalInfoType_pskel; + class postalInfoEnumType_pskel; + class addrType_pskel; + class authInfoType_pskel; + class discloseType_pskel; + class intLocType_pskel; + class sIDType_pskel; + class mIDType_pskel; + class authIDType_pskel; + class updateType_pskel; + class addRemType_pskel; + class chgType_pskel; + class chgPostalInfoType_pskel; + class chkDataType_pskel; + class checkType_pskel; + class checkIDType_pskel; + class creDataType_pskel; + class infDataType_pskel; + class statusType_pskel; + class statusValueType_pskel; + class panDataType_pskel; + class paCLIDType_pskel; + class trnDataType_pskel; +} + + +#ifndef XSD_USE_CHAR +#define XSD_USE_CHAR +#endif + +#ifndef XSD_CXX_PARSER_USE_CHAR +#define XSD_CXX_PARSER_USE_CHAR +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace xml_schema +{ + // Built-in XML Schema types mapping. + // + typedef ::xsd::cxx::parser::string_sequence< char > string_sequence; + typedef ::xsd::cxx::parser::qname< char > qname; + typedef ::xsd::cxx::parser::buffer buffer; + typedef ::xsd::cxx::parser::time_zone time_zone; + typedef ::xsd::cxx::parser::gday gday; + typedef ::xsd::cxx::parser::gmonth gmonth; + typedef ::xsd::cxx::parser::gyear gyear; + typedef ::xsd::cxx::parser::gmonth_day gmonth_day; + typedef ::xsd::cxx::parser::gyear_month gyear_month; + typedef ::xsd::cxx::parser::date date; + typedef ::xsd::cxx::parser::time time; + typedef ::xsd::cxx::parser::date_time date_time; + typedef ::xsd::cxx::parser::duration duration; + + // Base parser skeletons. + // + typedef ::xsd::cxx::parser::parser_base< char > parser_base; + typedef ::xsd::cxx::parser::non_validating::empty_content< char > empty_content; + typedef ::xsd::cxx::parser::non_validating::simple_content< char > simple_content; + typedef ::xsd::cxx::parser::non_validating::complex_content< char > complex_content; + typedef ::xsd::cxx::parser::non_validating::list_base< char > list_base; + + // Parser skeletons and implementations for the XML Schema + // built-in types. + // + typedef ::xsd::cxx::parser::non_validating::any_type_pskel< char > any_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_type_pimpl< char > any_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pskel< char > any_simple_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pimpl< char > any_simple_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::byte_pskel< char > byte_pskel; + typedef ::xsd::cxx::parser::non_validating::byte_pimpl< char > byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pskel< char > unsigned_byte_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pimpl< char > unsigned_byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::short_pskel< char > short_pskel; + typedef ::xsd::cxx::parser::non_validating::short_pimpl< char > short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pskel< char > unsigned_short_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pimpl< char > unsigned_short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::int_pskel< char > int_pskel; + typedef ::xsd::cxx::parser::non_validating::int_pimpl< char > int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pskel< char > unsigned_int_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pimpl< char > unsigned_int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::long_pskel< char > long_pskel; + typedef ::xsd::cxx::parser::non_validating::long_pimpl< char > long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pskel< char > unsigned_long_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pimpl< char > unsigned_long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::integer_pskel< char > integer_pskel; + typedef ::xsd::cxx::parser::non_validating::integer_pimpl< char > integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pskel< char > non_positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pimpl< char > non_positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pskel< char > non_negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pimpl< char > non_negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::positive_integer_pskel< char > positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::positive_integer_pimpl< char > positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::negative_integer_pskel< char > negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::negative_integer_pimpl< char > negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::boolean_pskel< char > boolean_pskel; + typedef ::xsd::cxx::parser::non_validating::boolean_pimpl< char > boolean_pimpl; + + typedef ::xsd::cxx::parser::non_validating::float_pskel< char > float_pskel; + typedef ::xsd::cxx::parser::non_validating::float_pimpl< char > float_pimpl; + + typedef ::xsd::cxx::parser::non_validating::double_pskel< char > double_pskel; + typedef ::xsd::cxx::parser::non_validating::double_pimpl< char > double_pimpl; + + typedef ::xsd::cxx::parser::non_validating::decimal_pskel< char > decimal_pskel; + typedef ::xsd::cxx::parser::non_validating::decimal_pimpl< char > decimal_pimpl; + + typedef ::xsd::cxx::parser::non_validating::string_pskel< char > string_pskel; + typedef ::xsd::cxx::parser::non_validating::string_pimpl< char > string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::normalized_string_pskel< char > normalized_string_pskel; + typedef ::xsd::cxx::parser::non_validating::normalized_string_pimpl< char > normalized_string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::token_pskel< char > token_pskel; + typedef ::xsd::cxx::parser::non_validating::token_pimpl< char > token_pimpl; + + typedef ::xsd::cxx::parser::non_validating::name_pskel< char > name_pskel; + typedef ::xsd::cxx::parser::non_validating::name_pimpl< char > name_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtoken_pskel< char > nmtoken_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtoken_pimpl< char > nmtoken_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtokens_pskel< char > nmtokens_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtokens_pimpl< char > nmtokens_pimpl; + + typedef ::xsd::cxx::parser::non_validating::ncname_pskel< char > ncname_pskel; + typedef ::xsd::cxx::parser::non_validating::ncname_pimpl< char > ncname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::language_pskel< char > language_pskel; + typedef ::xsd::cxx::parser::non_validating::language_pimpl< char > language_pimpl; + + typedef ::xsd::cxx::parser::non_validating::id_pskel< char > id_pskel; + typedef ::xsd::cxx::parser::non_validating::id_pimpl< char > id_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idref_pskel< char > idref_pskel; + typedef ::xsd::cxx::parser::non_validating::idref_pimpl< char > idref_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idrefs_pskel< char > idrefs_pskel; + typedef ::xsd::cxx::parser::non_validating::idrefs_pimpl< char > idrefs_pimpl; + + typedef ::xsd::cxx::parser::non_validating::uri_pskel< char > uri_pskel; + typedef ::xsd::cxx::parser::non_validating::uri_pimpl< char > uri_pimpl; + + typedef ::xsd::cxx::parser::non_validating::qname_pskel< char > qname_pskel; + typedef ::xsd::cxx::parser::non_validating::qname_pimpl< char > qname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::base64_binary_pskel< char > base64_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::base64_binary_pimpl< char > base64_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::hex_binary_pskel< char > hex_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::hex_binary_pimpl< char > hex_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_pskel< char > date_pskel; + typedef ::xsd::cxx::parser::non_validating::date_pimpl< char > date_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_time_pskel< char > date_time_pskel; + typedef ::xsd::cxx::parser::non_validating::date_time_pimpl< char > date_time_pimpl; + + typedef ::xsd::cxx::parser::non_validating::duration_pskel< char > duration_pskel; + typedef ::xsd::cxx::parser::non_validating::duration_pimpl< char > duration_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gday_pskel< char > gday_pskel; + typedef ::xsd::cxx::parser::non_validating::gday_pimpl< char > gday_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_pskel< char > gmonth_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_pimpl< char > gmonth_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pskel< char > gmonth_day_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pimpl< char > gmonth_day_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_pskel< char > gyear_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_pimpl< char > gyear_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_month_pskel< char > gyear_month_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_month_pimpl< char > gyear_month_pimpl; + + typedef ::xsd::cxx::parser::non_validating::time_pskel< char > time_pskel; + typedef ::xsd::cxx::parser::non_validating::time_pimpl< char > time_pimpl; + + // Exceptions. See libxsd/xsd/cxx/parser/exceptions.hxx for details. + // + typedef ::xsd::cxx::parser::exception< char > exception; + + // Parsing diagnostics. + // + typedef ::xsd::cxx::parser::severity severity; + typedef ::xsd::cxx::parser::error< char > error; + typedef ::xsd::cxx::parser::diagnostics< char > diagnostics; + typedef ::xsd::cxx::parser::parsing< char > parsing; + + // Error handler. See libxsd/xsd/cxx/xml/error-handler.hxx for details. + // + typedef ::xsd::cxx::xml::error_handler< char > error_handler; + + // Read-only string. + // + typedef ::xsd::cxx::ro_string< char > ro_string; + + // Parsing flags. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::flags flags; + + // Parsing properties. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::properties< char > properties; + + // Document type. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::document< char > document; +} + +#include "eppcom-1.0-pskel.hxx" + +#include "epp-1.0-pskel.hxx" + +namespace contact_1_0 +{ + class ccType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_ccType (); + }; + + class e164StringType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_e164StringType (); + }; + + class e164Type_pskel: public virtual ::contact_1_0::e164StringType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + x (const ::std::string&); + + virtual void + post_e164Type (); + + // Parser construction API. + // + void + x_parser (::xml_schema::token_pskel&); + + void + parsers (::xml_schema::token_pskel& /* x */); + + // Constructor. + // + e164Type_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::token_pskel* x_parser_; + }; + + class pcType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_pcType (); + }; + + class postalLineType_pskel: public virtual ::xml_schema::normalized_string_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_postalLineType (); + }; + + class optPostalLineType_pskel: public virtual ::xml_schema::normalized_string_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_optPostalLineType (); + }; + + class createType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + id (); + + virtual void + postalInfo (); + + virtual void + voice (); + + virtual void + fax (); + + virtual void + email (); + + virtual void + authInfo (); + + virtual void + disclose (); + + virtual void + post_createType (); + + // Parser construction API. + // + void + id_parser (::eppcom_1_0::clIDType_pskel&); + + void + postalInfo_parser (::contact_1_0::postalInfoType_pskel&); + + void + voice_parser (::contact_1_0::e164Type_pskel&); + + void + fax_parser (::contact_1_0::e164Type_pskel&); + + void + email_parser (::eppcom_1_0::minTokenType_pskel&); + + void + authInfo_parser (::contact_1_0::authInfoType_pskel&); + + void + disclose_parser (::contact_1_0::discloseType_pskel&); + + void + parsers (::eppcom_1_0::clIDType_pskel& /* id */, + ::contact_1_0::postalInfoType_pskel& /* postalInfo */, + ::contact_1_0::e164Type_pskel& /* voice */, + ::contact_1_0::e164Type_pskel& /* fax */, + ::eppcom_1_0::minTokenType_pskel& /* email */, + ::contact_1_0::authInfoType_pskel& /* authInfo */, + ::contact_1_0::discloseType_pskel& /* disclose */); + + // Constructor. + // + createType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::clIDType_pskel* id_parser_; + ::contact_1_0::postalInfoType_pskel* postalInfo_parser_; + ::contact_1_0::e164Type_pskel* voice_parser_; + ::contact_1_0::e164Type_pskel* fax_parser_; + ::eppcom_1_0::minTokenType_pskel* email_parser_; + ::contact_1_0::authInfoType_pskel* authInfo_parser_; + ::contact_1_0::discloseType_pskel* disclose_parser_; + }; + + class postalInfoType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + org (); + + virtual void + addr (); + + virtual void + type (); + + virtual void + post_postalInfoType (); + + // Parser construction API. + // + void + name_parser (::contact_1_0::postalLineType_pskel&); + + void + org_parser (::contact_1_0::optPostalLineType_pskel&); + + void + addr_parser (::contact_1_0::addrType_pskel&); + + void + type_parser (::contact_1_0::postalInfoEnumType_pskel&); + + void + parsers (::contact_1_0::postalLineType_pskel& /* name */, + ::contact_1_0::optPostalLineType_pskel& /* org */, + ::contact_1_0::addrType_pskel& /* addr */, + ::contact_1_0::postalInfoEnumType_pskel& /* type */); + + // Constructor. + // + postalInfoType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::postalLineType_pskel* name_parser_; + ::contact_1_0::optPostalLineType_pskel* org_parser_; + ::contact_1_0::addrType_pskel* addr_parser_; + ::contact_1_0::postalInfoEnumType_pskel* type_parser_; + }; + + class postalInfoEnumType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_postalInfoEnumType (); + }; + + class addrType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + street (); + + virtual void + city (); + + virtual void + sp (); + + virtual void + pc (); + + virtual void + cc (); + + virtual void + post_addrType (); + + // Parser construction API. + // + void + street_parser (::contact_1_0::optPostalLineType_pskel&); + + void + city_parser (::contact_1_0::postalLineType_pskel&); + + void + sp_parser (::contact_1_0::optPostalLineType_pskel&); + + void + pc_parser (::contact_1_0::pcType_pskel&); + + void + cc_parser (::contact_1_0::ccType_pskel&); + + void + parsers (::contact_1_0::optPostalLineType_pskel& /* street */, + ::contact_1_0::postalLineType_pskel& /* city */, + ::contact_1_0::optPostalLineType_pskel& /* sp */, + ::contact_1_0::pcType_pskel& /* pc */, + ::contact_1_0::ccType_pskel& /* cc */); + + // Constructor. + // + addrType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::optPostalLineType_pskel* street_parser_; + ::contact_1_0::postalLineType_pskel* city_parser_; + ::contact_1_0::optPostalLineType_pskel* sp_parser_; + ::contact_1_0::pcType_pskel* pc_parser_; + ::contact_1_0::ccType_pskel* cc_parser_; + }; + + class authInfoType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + pw (); + + virtual void + ext (); + + virtual void + post_authInfoType (); + + // Parser construction API. + // + void + pw_parser (::eppcom_1_0::pwAuthInfoType_pskel&); + + void + ext_parser (::eppcom_1_0::extAuthInfoType_pskel&); + + void + parsers (::eppcom_1_0::pwAuthInfoType_pskel& /* pw */, + ::eppcom_1_0::extAuthInfoType_pskel& /* ext */); + + // Constructor. + // + authInfoType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::pwAuthInfoType_pskel* pw_parser_; + ::eppcom_1_0::extAuthInfoType_pskel* ext_parser_; + }; + + class discloseType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + org (); + + virtual void + addr (); + + virtual void + voice (); + + virtual void + fax (); + + virtual void + email (); + + virtual void + flag (bool); + + virtual void + post_discloseType (); + + // Parser construction API. + // + void + name_parser (::contact_1_0::intLocType_pskel&); + + void + org_parser (::contact_1_0::intLocType_pskel&); + + void + addr_parser (::contact_1_0::intLocType_pskel&); + + void + voice_parser (::xml_schema::any_type_pskel&); + + void + fax_parser (::xml_schema::any_type_pskel&); + + void + email_parser (::xml_schema::any_type_pskel&); + + void + flag_parser (::xml_schema::boolean_pskel&); + + void + parsers (::contact_1_0::intLocType_pskel& /* name */, + ::contact_1_0::intLocType_pskel& /* org */, + ::contact_1_0::intLocType_pskel& /* addr */, + ::xml_schema::any_type_pskel& /* voice */, + ::xml_schema::any_type_pskel& /* fax */, + ::xml_schema::any_type_pskel& /* email */, + ::xml_schema::boolean_pskel& /* flag */); + + // Constructor. + // + discloseType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::intLocType_pskel* name_parser_; + ::contact_1_0::intLocType_pskel* org_parser_; + ::contact_1_0::intLocType_pskel* addr_parser_; + ::xml_schema::any_type_pskel* voice_parser_; + ::xml_schema::any_type_pskel* fax_parser_; + ::xml_schema::any_type_pskel* email_parser_; + ::xml_schema::boolean_pskel* flag_parser_; + }; + + class intLocType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + type (); + + virtual void + post_intLocType (); + + // Parser construction API. + // + void + type_parser (::contact_1_0::postalInfoEnumType_pskel&); + + void + parsers (::contact_1_0::postalInfoEnumType_pskel& /* type */); + + // Constructor. + // + intLocType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::postalInfoEnumType_pskel* type_parser_; + }; + + class sIDType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + id (); + + virtual void + post_sIDType (); + + // Parser construction API. + // + void + id_parser (::eppcom_1_0::clIDType_pskel&); + + void + parsers (::eppcom_1_0::clIDType_pskel& /* id */); + + // Constructor. + // + sIDType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::clIDType_pskel* id_parser_; + }; + + class mIDType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + id (); + + virtual void + post_mIDType (); + + // Parser construction API. + // + void + id_parser (::eppcom_1_0::clIDType_pskel&); + + void + parsers (::eppcom_1_0::clIDType_pskel& /* id */); + + // Constructor. + // + mIDType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::clIDType_pskel* id_parser_; + }; + + class authIDType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + id (); + + virtual void + authInfo (); + + virtual void + post_authIDType (); + + // Parser construction API. + // + void + id_parser (::eppcom_1_0::clIDType_pskel&); + + void + authInfo_parser (::contact_1_0::authInfoType_pskel&); + + void + parsers (::eppcom_1_0::clIDType_pskel& /* id */, + ::contact_1_0::authInfoType_pskel& /* authInfo */); + + // Constructor. + // + authIDType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::clIDType_pskel* id_parser_; + ::contact_1_0::authInfoType_pskel* authInfo_parser_; + }; + + class updateType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + id (); + + virtual void + add (); + + virtual void + rem (); + + virtual void + chg (); + + virtual void + post_updateType (); + + // Parser construction API. + // + void + id_parser (::eppcom_1_0::clIDType_pskel&); + + void + add_parser (::contact_1_0::addRemType_pskel&); + + void + rem_parser (::contact_1_0::addRemType_pskel&); + + void + chg_parser (::contact_1_0::chgType_pskel&); + + void + parsers (::eppcom_1_0::clIDType_pskel& /* id */, + ::contact_1_0::addRemType_pskel& /* add */, + ::contact_1_0::addRemType_pskel& /* rem */, + ::contact_1_0::chgType_pskel& /* chg */); + + // Constructor. + // + updateType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::clIDType_pskel* id_parser_; + ::contact_1_0::addRemType_pskel* add_parser_; + ::contact_1_0::addRemType_pskel* rem_parser_; + ::contact_1_0::chgType_pskel* chg_parser_; + }; + + class addRemType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + status (); + + virtual void + post_addRemType (); + + // Parser construction API. + // + void + status_parser (::contact_1_0::statusType_pskel&); + + void + parsers (::contact_1_0::statusType_pskel& /* status */); + + // Constructor. + // + addRemType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::statusType_pskel* status_parser_; + }; + + class chgType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + postalInfo (); + + virtual void + voice (); + + virtual void + fax (); + + virtual void + email (); + + virtual void + authInfo (); + + virtual void + disclose (); + + virtual void + post_chgType (); + + // Parser construction API. + // + void + postalInfo_parser (::contact_1_0::chgPostalInfoType_pskel&); + + void + voice_parser (::contact_1_0::e164Type_pskel&); + + void + fax_parser (::contact_1_0::e164Type_pskel&); + + void + email_parser (::eppcom_1_0::minTokenType_pskel&); + + void + authInfo_parser (::contact_1_0::authInfoType_pskel&); + + void + disclose_parser (::contact_1_0::discloseType_pskel&); + + void + parsers (::contact_1_0::chgPostalInfoType_pskel& /* postalInfo */, + ::contact_1_0::e164Type_pskel& /* voice */, + ::contact_1_0::e164Type_pskel& /* fax */, + ::eppcom_1_0::minTokenType_pskel& /* email */, + ::contact_1_0::authInfoType_pskel& /* authInfo */, + ::contact_1_0::discloseType_pskel& /* disclose */); + + // Constructor. + // + chgType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::chgPostalInfoType_pskel* postalInfo_parser_; + ::contact_1_0::e164Type_pskel* voice_parser_; + ::contact_1_0::e164Type_pskel* fax_parser_; + ::eppcom_1_0::minTokenType_pskel* email_parser_; + ::contact_1_0::authInfoType_pskel* authInfo_parser_; + ::contact_1_0::discloseType_pskel* disclose_parser_; + }; + + class chgPostalInfoType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + org (); + + virtual void + addr (); + + virtual void + type (); + + virtual void + post_chgPostalInfoType (); + + // Parser construction API. + // + void + name_parser (::contact_1_0::postalLineType_pskel&); + + void + org_parser (::contact_1_0::optPostalLineType_pskel&); + + void + addr_parser (::contact_1_0::addrType_pskel&); + + void + type_parser (::contact_1_0::postalInfoEnumType_pskel&); + + void + parsers (::contact_1_0::postalLineType_pskel& /* name */, + ::contact_1_0::optPostalLineType_pskel& /* org */, + ::contact_1_0::addrType_pskel& /* addr */, + ::contact_1_0::postalInfoEnumType_pskel& /* type */); + + // Constructor. + // + chgPostalInfoType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::postalLineType_pskel* name_parser_; + ::contact_1_0::optPostalLineType_pskel* org_parser_; + ::contact_1_0::addrType_pskel* addr_parser_; + ::contact_1_0::postalInfoEnumType_pskel* type_parser_; + }; + + class chkDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + cd (); + + virtual void + post_chkDataType (); + + // Parser construction API. + // + void + cd_parser (::contact_1_0::checkType_pskel&); + + void + parsers (::contact_1_0::checkType_pskel& /* cd */); + + // Constructor. + // + chkDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::checkType_pskel* cd_parser_; + }; + + class checkType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + id (); + + virtual void + reason (); + + virtual void + post_checkType (); + + // Parser construction API. + // + void + id_parser (::contact_1_0::checkIDType_pskel&); + + void + reason_parser (::eppcom_1_0::reasonType_pskel&); + + void + parsers (::contact_1_0::checkIDType_pskel& /* id */, + ::eppcom_1_0::reasonType_pskel& /* reason */); + + // Constructor. + // + checkType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::checkIDType_pskel* id_parser_; + ::eppcom_1_0::reasonType_pskel* reason_parser_; + }; + + class checkIDType_pskel: public virtual ::eppcom_1_0::clIDType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + avail (bool); + + virtual void + post_checkIDType (); + + // Parser construction API. + // + void + avail_parser (::xml_schema::boolean_pskel&); + + void + parsers (::xml_schema::boolean_pskel& /* avail */); + + // Constructor. + // + checkIDType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::boolean_pskel* avail_parser_; + }; + + class creDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + id (); + + virtual void + crDate (const ::xml_schema::date_time&); + + virtual void + post_creDataType (); + + // Parser construction API. + // + void + id_parser (::eppcom_1_0::clIDType_pskel&); + + void + crDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::eppcom_1_0::clIDType_pskel& /* id */, + ::xml_schema::date_time_pskel& /* crDate */); + + // Constructor. + // + creDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::clIDType_pskel* id_parser_; + ::xml_schema::date_time_pskel* crDate_parser_; + }; + + class infDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + id (); + + virtual void + roid (); + + virtual void + status (); + + virtual void + postalInfo (); + + virtual void + voice (); + + virtual void + fax (); + + virtual void + email (); + + virtual void + clID (); + + virtual void + crID (); + + virtual void + crDate (const ::xml_schema::date_time&); + + virtual void + upID (); + + virtual void + upDate (const ::xml_schema::date_time&); + + virtual void + trDate (const ::xml_schema::date_time&); + + virtual void + authInfo (); + + virtual void + disclose (); + + virtual void + post_infDataType (); + + // Parser construction API. + // + void + id_parser (::eppcom_1_0::clIDType_pskel&); + + void + roid_parser (::eppcom_1_0::roidType_pskel&); + + void + status_parser (::contact_1_0::statusType_pskel&); + + void + postalInfo_parser (::contact_1_0::postalInfoType_pskel&); + + void + voice_parser (::contact_1_0::e164Type_pskel&); + + void + fax_parser (::contact_1_0::e164Type_pskel&); + + void + email_parser (::eppcom_1_0::minTokenType_pskel&); + + void + clID_parser (::eppcom_1_0::clIDType_pskel&); + + void + crID_parser (::eppcom_1_0::clIDType_pskel&); + + void + crDate_parser (::xml_schema::date_time_pskel&); + + void + upID_parser (::eppcom_1_0::clIDType_pskel&); + + void + upDate_parser (::xml_schema::date_time_pskel&); + + void + trDate_parser (::xml_schema::date_time_pskel&); + + void + authInfo_parser (::contact_1_0::authInfoType_pskel&); + + void + disclose_parser (::contact_1_0::discloseType_pskel&); + + void + parsers (::eppcom_1_0::clIDType_pskel& /* id */, + ::eppcom_1_0::roidType_pskel& /* roid */, + ::contact_1_0::statusType_pskel& /* status */, + ::contact_1_0::postalInfoType_pskel& /* postalInfo */, + ::contact_1_0::e164Type_pskel& /* voice */, + ::contact_1_0::e164Type_pskel& /* fax */, + ::eppcom_1_0::minTokenType_pskel& /* email */, + ::eppcom_1_0::clIDType_pskel& /* clID */, + ::eppcom_1_0::clIDType_pskel& /* crID */, + ::xml_schema::date_time_pskel& /* crDate */, + ::eppcom_1_0::clIDType_pskel& /* upID */, + ::xml_schema::date_time_pskel& /* upDate */, + ::xml_schema::date_time_pskel& /* trDate */, + ::contact_1_0::authInfoType_pskel& /* authInfo */, + ::contact_1_0::discloseType_pskel& /* disclose */); + + // Constructor. + // + infDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::clIDType_pskel* id_parser_; + ::eppcom_1_0::roidType_pskel* roid_parser_; + ::contact_1_0::statusType_pskel* status_parser_; + ::contact_1_0::postalInfoType_pskel* postalInfo_parser_; + ::contact_1_0::e164Type_pskel* voice_parser_; + ::contact_1_0::e164Type_pskel* fax_parser_; + ::eppcom_1_0::minTokenType_pskel* email_parser_; + ::eppcom_1_0::clIDType_pskel* clID_parser_; + ::eppcom_1_0::clIDType_pskel* crID_parser_; + ::xml_schema::date_time_pskel* crDate_parser_; + ::eppcom_1_0::clIDType_pskel* upID_parser_; + ::xml_schema::date_time_pskel* upDate_parser_; + ::xml_schema::date_time_pskel* trDate_parser_; + ::contact_1_0::authInfoType_pskel* authInfo_parser_; + ::contact_1_0::discloseType_pskel* disclose_parser_; + }; + + class statusType_pskel: public virtual ::xml_schema::normalized_string_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + s (); + + virtual void + lang (const ::std::string&); + + virtual void + post_statusType (); + + // Parser construction API. + // + void + s_parser (::contact_1_0::statusValueType_pskel&); + + void + lang_parser (::xml_schema::language_pskel&); + + void + parsers (::contact_1_0::statusValueType_pskel& /* s */, + ::xml_schema::language_pskel& /* lang */); + + // Constructor. + // + statusType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::statusValueType_pskel* s_parser_; + ::xml_schema::language_pskel* lang_parser_; + }; + + class statusValueType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_statusValueType (); + }; + + class panDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + id (); + + virtual void + paTRID (); + + virtual void + paDate (const ::xml_schema::date_time&); + + virtual void + post_panDataType (); + + // Parser construction API. + // + void + id_parser (::contact_1_0::paCLIDType_pskel&); + + void + paTRID_parser (::epp_1_0::trIDType_pskel&); + + void + paDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::contact_1_0::paCLIDType_pskel& /* id */, + ::epp_1_0::trIDType_pskel& /* paTRID */, + ::xml_schema::date_time_pskel& /* paDate */); + + // Constructor. + // + panDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::contact_1_0::paCLIDType_pskel* id_parser_; + ::epp_1_0::trIDType_pskel* paTRID_parser_; + ::xml_schema::date_time_pskel* paDate_parser_; + }; + + class paCLIDType_pskel: public virtual ::eppcom_1_0::clIDType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + paResult (bool); + + virtual void + post_paCLIDType (); + + // Parser construction API. + // + void + paResult_parser (::xml_schema::boolean_pskel&); + + void + parsers (::xml_schema::boolean_pskel& /* paResult */); + + // Constructor. + // + paCLIDType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::boolean_pskel* paResult_parser_; + }; + + class trnDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + id (); + + virtual void + trStatus (); + + virtual void + reID (); + + virtual void + reDate (const ::xml_schema::date_time&); + + virtual void + acID (); + + virtual void + acDate (const ::xml_schema::date_time&); + + virtual void + post_trnDataType (); + + // Parser construction API. + // + void + id_parser (::eppcom_1_0::clIDType_pskel&); + + void + trStatus_parser (::eppcom_1_0::trStatusType_pskel&); + + void + reID_parser (::eppcom_1_0::clIDType_pskel&); + + void + reDate_parser (::xml_schema::date_time_pskel&); + + void + acID_parser (::eppcom_1_0::clIDType_pskel&); + + void + acDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::eppcom_1_0::clIDType_pskel& /* id */, + ::eppcom_1_0::trStatusType_pskel& /* trStatus */, + ::eppcom_1_0::clIDType_pskel& /* reID */, + ::xml_schema::date_time_pskel& /* reDate */, + ::eppcom_1_0::clIDType_pskel& /* acID */, + ::xml_schema::date_time_pskel& /* acDate */); + + // Constructor. + // + trnDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::clIDType_pskel* id_parser_; + ::eppcom_1_0::trStatusType_pskel* trStatus_parser_; + ::eppcom_1_0::clIDType_pskel* reID_parser_; + ::xml_schema::date_time_pskel* reDate_parser_; + ::eppcom_1_0::clIDType_pskel* acID_parser_; + ::xml_schema::date_time_pskel* acDate_parser_; + }; +} + +#include + +// Begin epilogue. +// +// +// End epilogue. + +#endif // CXX______RESOURCES_CONTACT_1_0_PSKEL_HXX diff --git a/APIG/include/domain-1.0.hpp b/APIG/include/domain-1.0.hpp new file mode 100644 index 0000000..7f060e8 --- /dev/null +++ b/APIG/include/domain-1.0.hpp @@ -0,0 +1,1840 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +#ifndef CXX______RESOURCES_DOMAIN_1_0_PSKEL_HXX +#define CXX______RESOURCES_DOMAIN_1_0_PSKEL_HXX + +// Begin prologue. +// +// +// End prologue. + +#include + +#if (XSD_INT_VERSION != 3030000L) +#error XSD runtime version mismatch +#endif + +#include + +// Forward declarations +// +namespace domain_1_0 +{ + class createType_pskel; + class pLimitType_pskel; + class periodType_pskel; + class pUnitType_pskel; + class nsType_pskel; + class hostAttrType_pskel; + class contactType_pskel; + class contactAttrType_pskel; + class authInfoType_pskel; + class sNameType_pskel; + class mNameType_pskel; + class infoType_pskel; + class infoNameType_pskel; + class hostsType_pskel; + class renewType_pskel; + class transferType_pskel; + class updateType_pskel; + class addRemType_pskel; + class chgType_pskel; + class clIDChgType_pskel; + class authInfoChgType_pskel; + class chkDataType_pskel; + class checkType_pskel; + class checkNameType_pskel; + class creDataType_pskel; + class infDataType_pskel; + class statusType_pskel; + class statusValueType_pskel; + class panDataType_pskel; + class paNameType_pskel; + class renDataType_pskel; + class trnDataType_pskel; +} + + +#ifndef XSD_USE_CHAR +#define XSD_USE_CHAR +#endif + +#ifndef XSD_CXX_PARSER_USE_CHAR +#define XSD_CXX_PARSER_USE_CHAR +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace xml_schema +{ + // Built-in XML Schema types mapping. + // + typedef ::xsd::cxx::parser::string_sequence< char > string_sequence; + typedef ::xsd::cxx::parser::qname< char > qname; + typedef ::xsd::cxx::parser::buffer buffer; + typedef ::xsd::cxx::parser::time_zone time_zone; + typedef ::xsd::cxx::parser::gday gday; + typedef ::xsd::cxx::parser::gmonth gmonth; + typedef ::xsd::cxx::parser::gyear gyear; + typedef ::xsd::cxx::parser::gmonth_day gmonth_day; + typedef ::xsd::cxx::parser::gyear_month gyear_month; + typedef ::xsd::cxx::parser::date date; + typedef ::xsd::cxx::parser::time time; + typedef ::xsd::cxx::parser::date_time date_time; + typedef ::xsd::cxx::parser::duration duration; + + // Base parser skeletons. + // + typedef ::xsd::cxx::parser::parser_base< char > parser_base; + typedef ::xsd::cxx::parser::non_validating::empty_content< char > empty_content; + typedef ::xsd::cxx::parser::non_validating::simple_content< char > simple_content; + typedef ::xsd::cxx::parser::non_validating::complex_content< char > complex_content; + typedef ::xsd::cxx::parser::non_validating::list_base< char > list_base; + + // Parser skeletons and implementations for the XML Schema + // built-in types. + // + typedef ::xsd::cxx::parser::non_validating::any_type_pskel< char > any_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_type_pimpl< char > any_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pskel< char > any_simple_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pimpl< char > any_simple_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::byte_pskel< char > byte_pskel; + typedef ::xsd::cxx::parser::non_validating::byte_pimpl< char > byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pskel< char > unsigned_byte_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pimpl< char > unsigned_byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::short_pskel< char > short_pskel; + typedef ::xsd::cxx::parser::non_validating::short_pimpl< char > short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pskel< char > unsigned_short_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pimpl< char > unsigned_short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::int_pskel< char > int_pskel; + typedef ::xsd::cxx::parser::non_validating::int_pimpl< char > int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pskel< char > unsigned_int_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pimpl< char > unsigned_int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::long_pskel< char > long_pskel; + typedef ::xsd::cxx::parser::non_validating::long_pimpl< char > long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pskel< char > unsigned_long_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pimpl< char > unsigned_long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::integer_pskel< char > integer_pskel; + typedef ::xsd::cxx::parser::non_validating::integer_pimpl< char > integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pskel< char > non_positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pimpl< char > non_positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pskel< char > non_negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pimpl< char > non_negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::positive_integer_pskel< char > positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::positive_integer_pimpl< char > positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::negative_integer_pskel< char > negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::negative_integer_pimpl< char > negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::boolean_pskel< char > boolean_pskel; + typedef ::xsd::cxx::parser::non_validating::boolean_pimpl< char > boolean_pimpl; + + typedef ::xsd::cxx::parser::non_validating::float_pskel< char > float_pskel; + typedef ::xsd::cxx::parser::non_validating::float_pimpl< char > float_pimpl; + + typedef ::xsd::cxx::parser::non_validating::double_pskel< char > double_pskel; + typedef ::xsd::cxx::parser::non_validating::double_pimpl< char > double_pimpl; + + typedef ::xsd::cxx::parser::non_validating::decimal_pskel< char > decimal_pskel; + typedef ::xsd::cxx::parser::non_validating::decimal_pimpl< char > decimal_pimpl; + + typedef ::xsd::cxx::parser::non_validating::string_pskel< char > string_pskel; + typedef ::xsd::cxx::parser::non_validating::string_pimpl< char > string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::normalized_string_pskel< char > normalized_string_pskel; + typedef ::xsd::cxx::parser::non_validating::normalized_string_pimpl< char > normalized_string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::token_pskel< char > token_pskel; + typedef ::xsd::cxx::parser::non_validating::token_pimpl< char > token_pimpl; + + typedef ::xsd::cxx::parser::non_validating::name_pskel< char > name_pskel; + typedef ::xsd::cxx::parser::non_validating::name_pimpl< char > name_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtoken_pskel< char > nmtoken_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtoken_pimpl< char > nmtoken_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtokens_pskel< char > nmtokens_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtokens_pimpl< char > nmtokens_pimpl; + + typedef ::xsd::cxx::parser::non_validating::ncname_pskel< char > ncname_pskel; + typedef ::xsd::cxx::parser::non_validating::ncname_pimpl< char > ncname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::language_pskel< char > language_pskel; + typedef ::xsd::cxx::parser::non_validating::language_pimpl< char > language_pimpl; + + typedef ::xsd::cxx::parser::non_validating::id_pskel< char > id_pskel; + typedef ::xsd::cxx::parser::non_validating::id_pimpl< char > id_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idref_pskel< char > idref_pskel; + typedef ::xsd::cxx::parser::non_validating::idref_pimpl< char > idref_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idrefs_pskel< char > idrefs_pskel; + typedef ::xsd::cxx::parser::non_validating::idrefs_pimpl< char > idrefs_pimpl; + + typedef ::xsd::cxx::parser::non_validating::uri_pskel< char > uri_pskel; + typedef ::xsd::cxx::parser::non_validating::uri_pimpl< char > uri_pimpl; + + typedef ::xsd::cxx::parser::non_validating::qname_pskel< char > qname_pskel; + typedef ::xsd::cxx::parser::non_validating::qname_pimpl< char > qname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::base64_binary_pskel< char > base64_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::base64_binary_pimpl< char > base64_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::hex_binary_pskel< char > hex_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::hex_binary_pimpl< char > hex_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_pskel< char > date_pskel; + typedef ::xsd::cxx::parser::non_validating::date_pimpl< char > date_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_time_pskel< char > date_time_pskel; + typedef ::xsd::cxx::parser::non_validating::date_time_pimpl< char > date_time_pimpl; + + typedef ::xsd::cxx::parser::non_validating::duration_pskel< char > duration_pskel; + typedef ::xsd::cxx::parser::non_validating::duration_pimpl< char > duration_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gday_pskel< char > gday_pskel; + typedef ::xsd::cxx::parser::non_validating::gday_pimpl< char > gday_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_pskel< char > gmonth_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_pimpl< char > gmonth_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pskel< char > gmonth_day_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pimpl< char > gmonth_day_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_pskel< char > gyear_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_pimpl< char > gyear_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_month_pskel< char > gyear_month_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_month_pimpl< char > gyear_month_pimpl; + + typedef ::xsd::cxx::parser::non_validating::time_pskel< char > time_pskel; + typedef ::xsd::cxx::parser::non_validating::time_pimpl< char > time_pimpl; + + // Exceptions. See libxsd/xsd/cxx/parser/exceptions.hxx for details. + // + typedef ::xsd::cxx::parser::exception< char > exception; + + // Parsing diagnostics. + // + typedef ::xsd::cxx::parser::severity severity; + typedef ::xsd::cxx::parser::error< char > error; + typedef ::xsd::cxx::parser::diagnostics< char > diagnostics; + typedef ::xsd::cxx::parser::parsing< char > parsing; + + // Error handler. See libxsd/xsd/cxx/xml/error-handler.hxx for details. + // + typedef ::xsd::cxx::xml::error_handler< char > error_handler; + + // Read-only string. + // + typedef ::xsd::cxx::ro_string< char > ro_string; + + // Parsing flags. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::flags flags; + + // Parsing properties. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::properties< char > properties; + + // Document type. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::document< char > document; +} + +#include "eppcom-1.0-pskel.hxx" + +#include "epp-1.0-pskel.hxx" + +#include "host-1.0-pskel.hxx" + +namespace domain_1_0 +{ + class createType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + period (); + + virtual void + ns (); + + virtual void + registrant (); + + virtual void + contact (); + + virtual void + authInfo (); + + virtual void + post_createType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + period_parser (::domain_1_0::periodType_pskel&); + + void + ns_parser (::domain_1_0::nsType_pskel&); + + void + registrant_parser (::eppcom_1_0::clIDType_pskel&); + + void + contact_parser (::domain_1_0::contactType_pskel&); + + void + authInfo_parser (::domain_1_0::authInfoType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::domain_1_0::periodType_pskel& /* period */, + ::domain_1_0::nsType_pskel& /* ns */, + ::eppcom_1_0::clIDType_pskel& /* registrant */, + ::domain_1_0::contactType_pskel& /* contact */, + ::domain_1_0::authInfoType_pskel& /* authInfo */); + + // Constructor. + // + createType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::domain_1_0::periodType_pskel* period_parser_; + ::domain_1_0::nsType_pskel* ns_parser_; + ::eppcom_1_0::clIDType_pskel* registrant_parser_; + ::domain_1_0::contactType_pskel* contact_parser_; + ::domain_1_0::authInfoType_pskel* authInfo_parser_; + }; + + class pLimitType_pskel: public virtual ::xml_schema::unsigned_short_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_pLimitType (); + }; + + class periodType_pskel: public virtual ::domain_1_0::pLimitType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + unit (); + + virtual void + post_periodType (); + + // Parser construction API. + // + void + unit_parser (::domain_1_0::pUnitType_pskel&); + + void + parsers (::domain_1_0::pUnitType_pskel& /* unit */); + + // Constructor. + // + periodType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::domain_1_0::pUnitType_pskel* unit_parser_; + }; + + class pUnitType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_pUnitType (); + }; + + class nsType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + hostObj (); + + virtual void + hostAttr (); + + virtual void + post_nsType (); + + // Parser construction API. + // + void + hostObj_parser (::eppcom_1_0::labelType_pskel&); + + void + hostAttr_parser (::domain_1_0::hostAttrType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* hostObj */, + ::domain_1_0::hostAttrType_pskel& /* hostAttr */); + + // Constructor. + // + nsType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* hostObj_parser_; + ::domain_1_0::hostAttrType_pskel* hostAttr_parser_; + }; + + class hostAttrType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + hostName (); + + virtual void + hostAddr (); + + virtual void + post_hostAttrType (); + + // Parser construction API. + // + void + hostName_parser (::eppcom_1_0::labelType_pskel&); + + void + hostAddr_parser (::host_1_0::addrType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* hostName */, + ::host_1_0::addrType_pskel& /* hostAddr */); + + // Constructor. + // + hostAttrType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* hostName_parser_; + ::host_1_0::addrType_pskel* hostAddr_parser_; + }; + + class contactType_pskel: public virtual ::eppcom_1_0::clIDType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + type (); + + virtual void + post_contactType (); + + // Parser construction API. + // + void + type_parser (::domain_1_0::contactAttrType_pskel&); + + void + parsers (::domain_1_0::contactAttrType_pskel& /* type */); + + // Constructor. + // + contactType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::domain_1_0::contactAttrType_pskel* type_parser_; + }; + + class contactAttrType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_contactAttrType (); + }; + + class authInfoType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + pw (); + + virtual void + ext (); + + virtual void + post_authInfoType (); + + // Parser construction API. + // + void + pw_parser (::eppcom_1_0::pwAuthInfoType_pskel&); + + void + ext_parser (::eppcom_1_0::extAuthInfoType_pskel&); + + void + parsers (::eppcom_1_0::pwAuthInfoType_pskel& /* pw */, + ::eppcom_1_0::extAuthInfoType_pskel& /* ext */); + + // Constructor. + // + authInfoType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::pwAuthInfoType_pskel* pw_parser_; + ::eppcom_1_0::extAuthInfoType_pskel* ext_parser_; + }; + + class sNameType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + post_sNameType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */); + + // Constructor. + // + sNameType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + }; + + class mNameType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + post_mNameType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */); + + // Constructor. + // + mNameType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + }; + + class infoType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + authInfo (); + + virtual void + post_infoType (); + + // Parser construction API. + // + void + name_parser (::domain_1_0::infoNameType_pskel&); + + void + authInfo_parser (::domain_1_0::authInfoType_pskel&); + + void + parsers (::domain_1_0::infoNameType_pskel& /* name */, + ::domain_1_0::authInfoType_pskel& /* authInfo */); + + // Constructor. + // + infoType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::domain_1_0::infoNameType_pskel* name_parser_; + ::domain_1_0::authInfoType_pskel* authInfo_parser_; + }; + + class infoNameType_pskel: public virtual ::eppcom_1_0::labelType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + hosts (); + + virtual void + post_infoNameType (); + + // Parser construction API. + // + void + hosts_parser (::domain_1_0::hostsType_pskel&); + + void + parsers (::domain_1_0::hostsType_pskel& /* hosts */); + + // Constructor. + // + infoNameType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::domain_1_0::hostsType_pskel* hosts_parser_; + }; + + class hostsType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_hostsType (); + }; + + class renewType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + curExpDate (const ::xml_schema::date&); + + virtual void + period (); + + virtual void + post_renewType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + curExpDate_parser (::xml_schema::date_pskel&); + + void + period_parser (::domain_1_0::periodType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::xml_schema::date_pskel& /* curExpDate */, + ::domain_1_0::periodType_pskel& /* period */); + + // Constructor. + // + renewType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::xml_schema::date_pskel* curExpDate_parser_; + ::domain_1_0::periodType_pskel* period_parser_; + }; + + class transferType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + period (); + + virtual void + authInfo (); + + virtual void + post_transferType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + period_parser (::domain_1_0::periodType_pskel&); + + void + authInfo_parser (::domain_1_0::authInfoType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::domain_1_0::periodType_pskel& /* period */, + ::domain_1_0::authInfoType_pskel& /* authInfo */); + + // Constructor. + // + transferType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::domain_1_0::periodType_pskel* period_parser_; + ::domain_1_0::authInfoType_pskel* authInfo_parser_; + }; + + class updateType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + add (); + + virtual void + rem (); + + virtual void + chg (); + + virtual void + post_updateType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + add_parser (::domain_1_0::addRemType_pskel&); + + void + rem_parser (::domain_1_0::addRemType_pskel&); + + void + chg_parser (::domain_1_0::chgType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::domain_1_0::addRemType_pskel& /* add */, + ::domain_1_0::addRemType_pskel& /* rem */, + ::domain_1_0::chgType_pskel& /* chg */); + + // Constructor. + // + updateType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::domain_1_0::addRemType_pskel* add_parser_; + ::domain_1_0::addRemType_pskel* rem_parser_; + ::domain_1_0::chgType_pskel* chg_parser_; + }; + + class addRemType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + ns (); + + virtual void + contact (); + + virtual void + status (); + + virtual void + post_addRemType (); + + // Parser construction API. + // + void + ns_parser (::domain_1_0::nsType_pskel&); + + void + contact_parser (::domain_1_0::contactType_pskel&); + + void + status_parser (::domain_1_0::statusType_pskel&); + + void + parsers (::domain_1_0::nsType_pskel& /* ns */, + ::domain_1_0::contactType_pskel& /* contact */, + ::domain_1_0::statusType_pskel& /* status */); + + // Constructor. + // + addRemType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::domain_1_0::nsType_pskel* ns_parser_; + ::domain_1_0::contactType_pskel* contact_parser_; + ::domain_1_0::statusType_pskel* status_parser_; + }; + + class chgType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + registrant (); + + virtual void + authInfo (); + + virtual void + post_chgType (); + + // Parser construction API. + // + void + registrant_parser (::domain_1_0::clIDChgType_pskel&); + + void + authInfo_parser (::domain_1_0::authInfoChgType_pskel&); + + void + parsers (::domain_1_0::clIDChgType_pskel& /* registrant */, + ::domain_1_0::authInfoChgType_pskel& /* authInfo */); + + // Constructor. + // + chgType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::domain_1_0::clIDChgType_pskel* registrant_parser_; + ::domain_1_0::authInfoChgType_pskel* authInfo_parser_; + }; + + class clIDChgType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_clIDChgType (); + }; + + class authInfoChgType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + pw (); + + virtual void + ext (); + + virtual void + null (); + + virtual void + post_authInfoChgType (); + + // Parser construction API. + // + void + pw_parser (::eppcom_1_0::pwAuthInfoType_pskel&); + + void + ext_parser (::eppcom_1_0::extAuthInfoType_pskel&); + + void + null_parser (::xml_schema::any_type_pskel&); + + void + parsers (::eppcom_1_0::pwAuthInfoType_pskel& /* pw */, + ::eppcom_1_0::extAuthInfoType_pskel& /* ext */, + ::xml_schema::any_type_pskel& /* null */); + + // Constructor. + // + authInfoChgType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::pwAuthInfoType_pskel* pw_parser_; + ::eppcom_1_0::extAuthInfoType_pskel* ext_parser_; + ::xml_schema::any_type_pskel* null_parser_; + }; + + class chkDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + cd (); + + virtual void + post_chkDataType (); + + // Parser construction API. + // + void + cd_parser (::domain_1_0::checkType_pskel&); + + void + parsers (::domain_1_0::checkType_pskel& /* cd */); + + // Constructor. + // + chkDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::domain_1_0::checkType_pskel* cd_parser_; + }; + + class checkType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + reason (); + + virtual void + post_checkType (); + + // Parser construction API. + // + void + name_parser (::domain_1_0::checkNameType_pskel&); + + void + reason_parser (::eppcom_1_0::reasonType_pskel&); + + void + parsers (::domain_1_0::checkNameType_pskel& /* name */, + ::eppcom_1_0::reasonType_pskel& /* reason */); + + // Constructor. + // + checkType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::domain_1_0::checkNameType_pskel* name_parser_; + ::eppcom_1_0::reasonType_pskel* reason_parser_; + }; + + class checkNameType_pskel: public virtual ::eppcom_1_0::labelType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + avail (bool); + + virtual void + post_checkNameType (); + + // Parser construction API. + // + void + avail_parser (::xml_schema::boolean_pskel&); + + void + parsers (::xml_schema::boolean_pskel& /* avail */); + + // Constructor. + // + checkNameType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::boolean_pskel* avail_parser_; + }; + + class creDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + crDate (const ::xml_schema::date_time&); + + virtual void + exDate (const ::xml_schema::date_time&); + + virtual void + post_creDataType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + crDate_parser (::xml_schema::date_time_pskel&); + + void + exDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::xml_schema::date_time_pskel& /* crDate */, + ::xml_schema::date_time_pskel& /* exDate */); + + // Constructor. + // + creDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::xml_schema::date_time_pskel* crDate_parser_; + ::xml_schema::date_time_pskel* exDate_parser_; + }; + + class infDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + roid (); + + virtual void + status (); + + virtual void + registrant (); + + virtual void + contact (); + + virtual void + ns (); + + virtual void + host (); + + virtual void + clID (); + + virtual void + crID (); + + virtual void + crDate (const ::xml_schema::date_time&); + + virtual void + upID (); + + virtual void + upDate (const ::xml_schema::date_time&); + + virtual void + exDate (const ::xml_schema::date_time&); + + virtual void + trDate (const ::xml_schema::date_time&); + + virtual void + authInfo (); + + virtual void + post_infDataType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + roid_parser (::eppcom_1_0::roidType_pskel&); + + void + status_parser (::domain_1_0::statusType_pskel&); + + void + registrant_parser (::eppcom_1_0::clIDType_pskel&); + + void + contact_parser (::domain_1_0::contactType_pskel&); + + void + ns_parser (::domain_1_0::nsType_pskel&); + + void + host_parser (::eppcom_1_0::labelType_pskel&); + + void + clID_parser (::eppcom_1_0::clIDType_pskel&); + + void + crID_parser (::eppcom_1_0::clIDType_pskel&); + + void + crDate_parser (::xml_schema::date_time_pskel&); + + void + upID_parser (::eppcom_1_0::clIDType_pskel&); + + void + upDate_parser (::xml_schema::date_time_pskel&); + + void + exDate_parser (::xml_schema::date_time_pskel&); + + void + trDate_parser (::xml_schema::date_time_pskel&); + + void + authInfo_parser (::domain_1_0::authInfoType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::eppcom_1_0::roidType_pskel& /* roid */, + ::domain_1_0::statusType_pskel& /* status */, + ::eppcom_1_0::clIDType_pskel& /* registrant */, + ::domain_1_0::contactType_pskel& /* contact */, + ::domain_1_0::nsType_pskel& /* ns */, + ::eppcom_1_0::labelType_pskel& /* host */, + ::eppcom_1_0::clIDType_pskel& /* clID */, + ::eppcom_1_0::clIDType_pskel& /* crID */, + ::xml_schema::date_time_pskel& /* crDate */, + ::eppcom_1_0::clIDType_pskel& /* upID */, + ::xml_schema::date_time_pskel& /* upDate */, + ::xml_schema::date_time_pskel& /* exDate */, + ::xml_schema::date_time_pskel& /* trDate */, + ::domain_1_0::authInfoType_pskel& /* authInfo */); + + // Constructor. + // + infDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::eppcom_1_0::roidType_pskel* roid_parser_; + ::domain_1_0::statusType_pskel* status_parser_; + ::eppcom_1_0::clIDType_pskel* registrant_parser_; + ::domain_1_0::contactType_pskel* contact_parser_; + ::domain_1_0::nsType_pskel* ns_parser_; + ::eppcom_1_0::labelType_pskel* host_parser_; + ::eppcom_1_0::clIDType_pskel* clID_parser_; + ::eppcom_1_0::clIDType_pskel* crID_parser_; + ::xml_schema::date_time_pskel* crDate_parser_; + ::eppcom_1_0::clIDType_pskel* upID_parser_; + ::xml_schema::date_time_pskel* upDate_parser_; + ::xml_schema::date_time_pskel* exDate_parser_; + ::xml_schema::date_time_pskel* trDate_parser_; + ::domain_1_0::authInfoType_pskel* authInfo_parser_; + }; + + class statusType_pskel: public virtual ::xml_schema::normalized_string_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + s (); + + virtual void + lang (const ::std::string&); + + virtual void + post_statusType (); + + // Parser construction API. + // + void + s_parser (::domain_1_0::statusValueType_pskel&); + + void + lang_parser (::xml_schema::language_pskel&); + + void + parsers (::domain_1_0::statusValueType_pskel& /* s */, + ::xml_schema::language_pskel& /* lang */); + + // Constructor. + // + statusType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::domain_1_0::statusValueType_pskel* s_parser_; + ::xml_schema::language_pskel* lang_parser_; + }; + + class statusValueType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_statusValueType (); + }; + + class panDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + paTRID (); + + virtual void + paDate (const ::xml_schema::date_time&); + + virtual void + post_panDataType (); + + // Parser construction API. + // + void + name_parser (::domain_1_0::paNameType_pskel&); + + void + paTRID_parser (::epp_1_0::trIDType_pskel&); + + void + paDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::domain_1_0::paNameType_pskel& /* name */, + ::epp_1_0::trIDType_pskel& /* paTRID */, + ::xml_schema::date_time_pskel& /* paDate */); + + // Constructor. + // + panDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::domain_1_0::paNameType_pskel* name_parser_; + ::epp_1_0::trIDType_pskel* paTRID_parser_; + ::xml_schema::date_time_pskel* paDate_parser_; + }; + + class paNameType_pskel: public virtual ::eppcom_1_0::labelType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + paResult (bool); + + virtual void + post_paNameType (); + + // Parser construction API. + // + void + paResult_parser (::xml_schema::boolean_pskel&); + + void + parsers (::xml_schema::boolean_pskel& /* paResult */); + + // Constructor. + // + paNameType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::boolean_pskel* paResult_parser_; + }; + + class renDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + exDate (const ::xml_schema::date_time&); + + virtual void + post_renDataType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + exDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::xml_schema::date_time_pskel& /* exDate */); + + // Constructor. + // + renDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::xml_schema::date_time_pskel* exDate_parser_; + }; + + class trnDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + trStatus (); + + virtual void + reID (); + + virtual void + reDate (const ::xml_schema::date_time&); + + virtual void + acID (); + + virtual void + acDate (const ::xml_schema::date_time&); + + virtual void + exDate (const ::xml_schema::date_time&); + + virtual void + post_trnDataType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + trStatus_parser (::eppcom_1_0::trStatusType_pskel&); + + void + reID_parser (::eppcom_1_0::clIDType_pskel&); + + void + reDate_parser (::xml_schema::date_time_pskel&); + + void + acID_parser (::eppcom_1_0::clIDType_pskel&); + + void + acDate_parser (::xml_schema::date_time_pskel&); + + void + exDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::eppcom_1_0::trStatusType_pskel& /* trStatus */, + ::eppcom_1_0::clIDType_pskel& /* reID */, + ::xml_schema::date_time_pskel& /* reDate */, + ::eppcom_1_0::clIDType_pskel& /* acID */, + ::xml_schema::date_time_pskel& /* acDate */, + ::xml_schema::date_time_pskel& /* exDate */); + + // Constructor. + // + trnDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::eppcom_1_0::trStatusType_pskel* trStatus_parser_; + ::eppcom_1_0::clIDType_pskel* reID_parser_; + ::xml_schema::date_time_pskel* reDate_parser_; + ::eppcom_1_0::clIDType_pskel* acID_parser_; + ::xml_schema::date_time_pskel* acDate_parser_; + ::xml_schema::date_time_pskel* exDate_parser_; + }; +} + +#include + +// Begin epilogue. +// +// +// End epilogue. + +#endif // CXX______RESOURCES_DOMAIN_1_0_PSKEL_HXX diff --git a/APIG/include/epp-1.0.hpp b/APIG/include/epp-1.0.hpp new file mode 100644 index 0000000..4aba337 --- /dev/null +++ b/APIG/include/epp-1.0.hpp @@ -0,0 +1,1980 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +#ifndef CXX______RESOURCES_EPP_1_0_PSKEL_HXX +#define CXX______RESOURCES_EPP_1_0_PSKEL_HXX + +// Begin prologue. +// +// +// End prologue. + +#include + +#if (XSD_INT_VERSION != 3030000L) +#error XSD runtime version mismatch +#endif + +#include + +// Forward declarations +// +namespace epp_1_0 +{ + class eppType_pskel; + class greetingType_pskel; + class sIDType_pskel; + class svcMenuType_pskel; + class dcpType_pskel; + class dcpAccessType_pskel; + class dcpStatementType_pskel; + class dcpPurposeType_pskel; + class dcpRecipientType_pskel; + class dcpOursType_pskel; + class dcpRecDescType_pskel; + class dcpRetentionType_pskel; + class dcpExpiryType_pskel; + class extAnyType_pskel; + class extURIType_pskel; + class versionType_pskel; + class commandType_pskel; + class loginType_pskel; + class credsOptionsType_pskel; + class pwType_pskel; + class loginSvcType_pskel; + class pollType_pskel; + class pollOpType_pskel; + class transferType_pskel; + class transferOpType_pskel; + class readWriteType_pskel; + class trIDType_pskel; + class trIDStringType_pskel; + class responseType_pskel; + class resultType_pskel; + class errValueType_pskel; + class extErrValueType_pskel; + class msgQType_pskel; + class mixedMsgType_pskel; + class msgType_pskel; + class resultCodeType_pskel; +} + + +#ifndef XSD_USE_CHAR +#define XSD_USE_CHAR +#endif + +#ifndef XSD_CXX_PARSER_USE_CHAR +#define XSD_CXX_PARSER_USE_CHAR +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace xml_schema +{ + // Built-in XML Schema types mapping. + // + typedef ::xsd::cxx::parser::string_sequence< char > string_sequence; + typedef ::xsd::cxx::parser::qname< char > qname; + typedef ::xsd::cxx::parser::buffer buffer; + typedef ::xsd::cxx::parser::time_zone time_zone; + typedef ::xsd::cxx::parser::gday gday; + typedef ::xsd::cxx::parser::gmonth gmonth; + typedef ::xsd::cxx::parser::gyear gyear; + typedef ::xsd::cxx::parser::gmonth_day gmonth_day; + typedef ::xsd::cxx::parser::gyear_month gyear_month; + typedef ::xsd::cxx::parser::date date; + typedef ::xsd::cxx::parser::time time; + typedef ::xsd::cxx::parser::date_time date_time; + typedef ::xsd::cxx::parser::duration duration; + + // Base parser skeletons. + // + typedef ::xsd::cxx::parser::parser_base< char > parser_base; + typedef ::xsd::cxx::parser::non_validating::empty_content< char > empty_content; + typedef ::xsd::cxx::parser::non_validating::simple_content< char > simple_content; + typedef ::xsd::cxx::parser::non_validating::complex_content< char > complex_content; + typedef ::xsd::cxx::parser::non_validating::list_base< char > list_base; + + // Parser skeletons and implementations for the XML Schema + // built-in types. + // + typedef ::xsd::cxx::parser::non_validating::any_type_pskel< char > any_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_type_pimpl< char > any_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pskel< char > any_simple_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pimpl< char > any_simple_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::byte_pskel< char > byte_pskel; + typedef ::xsd::cxx::parser::non_validating::byte_pimpl< char > byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pskel< char > unsigned_byte_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pimpl< char > unsigned_byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::short_pskel< char > short_pskel; + typedef ::xsd::cxx::parser::non_validating::short_pimpl< char > short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pskel< char > unsigned_short_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pimpl< char > unsigned_short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::int_pskel< char > int_pskel; + typedef ::xsd::cxx::parser::non_validating::int_pimpl< char > int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pskel< char > unsigned_int_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pimpl< char > unsigned_int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::long_pskel< char > long_pskel; + typedef ::xsd::cxx::parser::non_validating::long_pimpl< char > long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pskel< char > unsigned_long_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pimpl< char > unsigned_long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::integer_pskel< char > integer_pskel; + typedef ::xsd::cxx::parser::non_validating::integer_pimpl< char > integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pskel< char > non_positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pimpl< char > non_positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pskel< char > non_negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pimpl< char > non_negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::positive_integer_pskel< char > positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::positive_integer_pimpl< char > positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::negative_integer_pskel< char > negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::negative_integer_pimpl< char > negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::boolean_pskel< char > boolean_pskel; + typedef ::xsd::cxx::parser::non_validating::boolean_pimpl< char > boolean_pimpl; + + typedef ::xsd::cxx::parser::non_validating::float_pskel< char > float_pskel; + typedef ::xsd::cxx::parser::non_validating::float_pimpl< char > float_pimpl; + + typedef ::xsd::cxx::parser::non_validating::double_pskel< char > double_pskel; + typedef ::xsd::cxx::parser::non_validating::double_pimpl< char > double_pimpl; + + typedef ::xsd::cxx::parser::non_validating::decimal_pskel< char > decimal_pskel; + typedef ::xsd::cxx::parser::non_validating::decimal_pimpl< char > decimal_pimpl; + + typedef ::xsd::cxx::parser::non_validating::string_pskel< char > string_pskel; + typedef ::xsd::cxx::parser::non_validating::string_pimpl< char > string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::normalized_string_pskel< char > normalized_string_pskel; + typedef ::xsd::cxx::parser::non_validating::normalized_string_pimpl< char > normalized_string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::token_pskel< char > token_pskel; + typedef ::xsd::cxx::parser::non_validating::token_pimpl< char > token_pimpl; + + typedef ::xsd::cxx::parser::non_validating::name_pskel< char > name_pskel; + typedef ::xsd::cxx::parser::non_validating::name_pimpl< char > name_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtoken_pskel< char > nmtoken_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtoken_pimpl< char > nmtoken_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtokens_pskel< char > nmtokens_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtokens_pimpl< char > nmtokens_pimpl; + + typedef ::xsd::cxx::parser::non_validating::ncname_pskel< char > ncname_pskel; + typedef ::xsd::cxx::parser::non_validating::ncname_pimpl< char > ncname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::language_pskel< char > language_pskel; + typedef ::xsd::cxx::parser::non_validating::language_pimpl< char > language_pimpl; + + typedef ::xsd::cxx::parser::non_validating::id_pskel< char > id_pskel; + typedef ::xsd::cxx::parser::non_validating::id_pimpl< char > id_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idref_pskel< char > idref_pskel; + typedef ::xsd::cxx::parser::non_validating::idref_pimpl< char > idref_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idrefs_pskel< char > idrefs_pskel; + typedef ::xsd::cxx::parser::non_validating::idrefs_pimpl< char > idrefs_pimpl; + + typedef ::xsd::cxx::parser::non_validating::uri_pskel< char > uri_pskel; + typedef ::xsd::cxx::parser::non_validating::uri_pimpl< char > uri_pimpl; + + typedef ::xsd::cxx::parser::non_validating::qname_pskel< char > qname_pskel; + typedef ::xsd::cxx::parser::non_validating::qname_pimpl< char > qname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::base64_binary_pskel< char > base64_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::base64_binary_pimpl< char > base64_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::hex_binary_pskel< char > hex_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::hex_binary_pimpl< char > hex_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_pskel< char > date_pskel; + typedef ::xsd::cxx::parser::non_validating::date_pimpl< char > date_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_time_pskel< char > date_time_pskel; + typedef ::xsd::cxx::parser::non_validating::date_time_pimpl< char > date_time_pimpl; + + typedef ::xsd::cxx::parser::non_validating::duration_pskel< char > duration_pskel; + typedef ::xsd::cxx::parser::non_validating::duration_pimpl< char > duration_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gday_pskel< char > gday_pskel; + typedef ::xsd::cxx::parser::non_validating::gday_pimpl< char > gday_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_pskel< char > gmonth_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_pimpl< char > gmonth_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pskel< char > gmonth_day_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pimpl< char > gmonth_day_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_pskel< char > gyear_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_pimpl< char > gyear_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_month_pskel< char > gyear_month_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_month_pimpl< char > gyear_month_pimpl; + + typedef ::xsd::cxx::parser::non_validating::time_pskel< char > time_pskel; + typedef ::xsd::cxx::parser::non_validating::time_pimpl< char > time_pimpl; + + // Exceptions. See libxsd/xsd/cxx/parser/exceptions.hxx for details. + // + typedef ::xsd::cxx::parser::exception< char > exception; + + // Parsing diagnostics. + // + typedef ::xsd::cxx::parser::severity severity; + typedef ::xsd::cxx::parser::error< char > error; + typedef ::xsd::cxx::parser::diagnostics< char > diagnostics; + typedef ::xsd::cxx::parser::parsing< char > parsing; + + // Error handler. See libxsd/xsd/cxx/xml/error-handler.hxx for details. + // + typedef ::xsd::cxx::xml::error_handler< char > error_handler; + + // Read-only string. + // + typedef ::xsd::cxx::ro_string< char > ro_string; + + // Parsing flags. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::flags flags; + + // Parsing properties. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::properties< char > properties; + + // Document type. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::document< char > document; +} + +#include "eppcom-1.0-pskel.hxx" + +namespace epp_1_0 +{ + class eppType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + greeting (); + + virtual void + hello (); + + virtual void + command (); + + virtual void + response (); + + virtual void + extension (); + + virtual void + post_eppType (); + + // Parser construction API. + // + void + greeting_parser (::epp_1_0::greetingType_pskel&); + + void + hello_parser (::xml_schema::any_type_pskel&); + + void + command_parser (::epp_1_0::commandType_pskel&); + + void + response_parser (::epp_1_0::responseType_pskel&); + + void + extension_parser (::epp_1_0::extAnyType_pskel&); + + void + parsers (::epp_1_0::greetingType_pskel& /* greeting */, + ::xml_schema::any_type_pskel& /* hello */, + ::epp_1_0::commandType_pskel& /* command */, + ::epp_1_0::responseType_pskel& /* response */, + ::epp_1_0::extAnyType_pskel& /* extension */); + + // Constructor. + // + eppType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::greetingType_pskel* greeting_parser_; + ::xml_schema::any_type_pskel* hello_parser_; + ::epp_1_0::commandType_pskel* command_parser_; + ::epp_1_0::responseType_pskel* response_parser_; + ::epp_1_0::extAnyType_pskel* extension_parser_; + }; + + class greetingType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + svID (); + + virtual void + svDate (const ::xml_schema::date_time&); + + virtual void + svcMenu (); + + virtual void + dcp (); + + virtual void + post_greetingType (); + + // Parser construction API. + // + void + svID_parser (::epp_1_0::sIDType_pskel&); + + void + svDate_parser (::xml_schema::date_time_pskel&); + + void + svcMenu_parser (::epp_1_0::svcMenuType_pskel&); + + void + dcp_parser (::epp_1_0::dcpType_pskel&); + + void + parsers (::epp_1_0::sIDType_pskel& /* svID */, + ::xml_schema::date_time_pskel& /* svDate */, + ::epp_1_0::svcMenuType_pskel& /* svcMenu */, + ::epp_1_0::dcpType_pskel& /* dcp */); + + // Constructor. + // + greetingType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::sIDType_pskel* svID_parser_; + ::xml_schema::date_time_pskel* svDate_parser_; + ::epp_1_0::svcMenuType_pskel* svcMenu_parser_; + ::epp_1_0::dcpType_pskel* dcp_parser_; + }; + + class sIDType_pskel: public virtual ::xml_schema::normalized_string_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_sIDType (); + }; + + class svcMenuType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + version (); + + virtual void + lang (const ::std::string&); + + virtual void + objURI (const ::std::string&); + + virtual void + svcExtension (); + + virtual void + post_svcMenuType (); + + // Parser construction API. + // + void + version_parser (::epp_1_0::versionType_pskel&); + + void + lang_parser (::xml_schema::language_pskel&); + + void + objURI_parser (::xml_schema::uri_pskel&); + + void + svcExtension_parser (::epp_1_0::extURIType_pskel&); + + void + parsers (::epp_1_0::versionType_pskel& /* version */, + ::xml_schema::language_pskel& /* lang */, + ::xml_schema::uri_pskel& /* objURI */, + ::epp_1_0::extURIType_pskel& /* svcExtension */); + + // Constructor. + // + svcMenuType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::versionType_pskel* version_parser_; + ::xml_schema::language_pskel* lang_parser_; + ::xml_schema::uri_pskel* objURI_parser_; + ::epp_1_0::extURIType_pskel* svcExtension_parser_; + }; + + class dcpType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + access (); + + virtual void + statement (); + + virtual void + expiry (); + + virtual void + post_dcpType (); + + // Parser construction API. + // + void + access_parser (::epp_1_0::dcpAccessType_pskel&); + + void + statement_parser (::epp_1_0::dcpStatementType_pskel&); + + void + expiry_parser (::epp_1_0::dcpExpiryType_pskel&); + + void + parsers (::epp_1_0::dcpAccessType_pskel& /* access */, + ::epp_1_0::dcpStatementType_pskel& /* statement */, + ::epp_1_0::dcpExpiryType_pskel& /* expiry */); + + // Constructor. + // + dcpType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::dcpAccessType_pskel* access_parser_; + ::epp_1_0::dcpStatementType_pskel* statement_parser_; + ::epp_1_0::dcpExpiryType_pskel* expiry_parser_; + }; + + class dcpAccessType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + all (); + + virtual void + none (); + + virtual void + null (); + + virtual void + other (); + + virtual void + personal (); + + virtual void + personalAndOther (); + + virtual void + post_dcpAccessType (); + + // Parser construction API. + // + void + all_parser (::xml_schema::any_type_pskel&); + + void + none_parser (::xml_schema::any_type_pskel&); + + void + null_parser (::xml_schema::any_type_pskel&); + + void + other_parser (::xml_schema::any_type_pskel&); + + void + personal_parser (::xml_schema::any_type_pskel&); + + void + personalAndOther_parser (::xml_schema::any_type_pskel&); + + void + parsers (::xml_schema::any_type_pskel& /* all */, + ::xml_schema::any_type_pskel& /* none */, + ::xml_schema::any_type_pskel& /* null */, + ::xml_schema::any_type_pskel& /* other */, + ::xml_schema::any_type_pskel& /* personal */, + ::xml_schema::any_type_pskel& /* personalAndOther */); + + // Constructor. + // + dcpAccessType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::any_type_pskel* all_parser_; + ::xml_schema::any_type_pskel* none_parser_; + ::xml_schema::any_type_pskel* null_parser_; + ::xml_schema::any_type_pskel* other_parser_; + ::xml_schema::any_type_pskel* personal_parser_; + ::xml_schema::any_type_pskel* personalAndOther_parser_; + }; + + class dcpStatementType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + purpose (); + + virtual void + recipient (); + + virtual void + retention (); + + virtual void + post_dcpStatementType (); + + // Parser construction API. + // + void + purpose_parser (::epp_1_0::dcpPurposeType_pskel&); + + void + recipient_parser (::epp_1_0::dcpRecipientType_pskel&); + + void + retention_parser (::epp_1_0::dcpRetentionType_pskel&); + + void + parsers (::epp_1_0::dcpPurposeType_pskel& /* purpose */, + ::epp_1_0::dcpRecipientType_pskel& /* recipient */, + ::epp_1_0::dcpRetentionType_pskel& /* retention */); + + // Constructor. + // + dcpStatementType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::dcpPurposeType_pskel* purpose_parser_; + ::epp_1_0::dcpRecipientType_pskel* recipient_parser_; + ::epp_1_0::dcpRetentionType_pskel* retention_parser_; + }; + + class dcpPurposeType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + admin (); + + virtual void + contact (); + + virtual void + other (); + + virtual void + prov (); + + virtual void + post_dcpPurposeType (); + + // Parser construction API. + // + void + admin_parser (::xml_schema::any_type_pskel&); + + void + contact_parser (::xml_schema::any_type_pskel&); + + void + other_parser (::xml_schema::any_type_pskel&); + + void + prov_parser (::xml_schema::any_type_pskel&); + + void + parsers (::xml_schema::any_type_pskel& /* admin */, + ::xml_schema::any_type_pskel& /* contact */, + ::xml_schema::any_type_pskel& /* other */, + ::xml_schema::any_type_pskel& /* prov */); + + // Constructor. + // + dcpPurposeType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::any_type_pskel* admin_parser_; + ::xml_schema::any_type_pskel* contact_parser_; + ::xml_schema::any_type_pskel* other_parser_; + ::xml_schema::any_type_pskel* prov_parser_; + }; + + class dcpRecipientType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + other (); + + virtual void + ours (); + + virtual void + public_ (); + + virtual void + same (); + + virtual void + unrelated (); + + virtual void + post_dcpRecipientType (); + + // Parser construction API. + // + void + other_parser (::xml_schema::any_type_pskel&); + + void + ours_parser (::epp_1_0::dcpOursType_pskel&); + + void + public_parser (::xml_schema::any_type_pskel&); + + void + same_parser (::xml_schema::any_type_pskel&); + + void + unrelated_parser (::xml_schema::any_type_pskel&); + + void + parsers (::xml_schema::any_type_pskel& /* other */, + ::epp_1_0::dcpOursType_pskel& /* ours */, + ::xml_schema::any_type_pskel& /* public */, + ::xml_schema::any_type_pskel& /* same */, + ::xml_schema::any_type_pskel& /* unrelated */); + + // Constructor. + // + dcpRecipientType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::any_type_pskel* other_parser_; + ::epp_1_0::dcpOursType_pskel* ours_parser_; + ::xml_schema::any_type_pskel* public__parser_; + ::xml_schema::any_type_pskel* same_parser_; + ::xml_schema::any_type_pskel* unrelated_parser_; + }; + + class dcpOursType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + recDesc (); + + virtual void + post_dcpOursType (); + + // Parser construction API. + // + void + recDesc_parser (::epp_1_0::dcpRecDescType_pskel&); + + void + parsers (::epp_1_0::dcpRecDescType_pskel& /* recDesc */); + + // Constructor. + // + dcpOursType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::dcpRecDescType_pskel* recDesc_parser_; + }; + + class dcpRecDescType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_dcpRecDescType (); + }; + + class dcpRetentionType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + business (); + + virtual void + indefinite (); + + virtual void + legal (); + + virtual void + none (); + + virtual void + stated (); + + virtual void + post_dcpRetentionType (); + + // Parser construction API. + // + void + business_parser (::xml_schema::any_type_pskel&); + + void + indefinite_parser (::xml_schema::any_type_pskel&); + + void + legal_parser (::xml_schema::any_type_pskel&); + + void + none_parser (::xml_schema::any_type_pskel&); + + void + stated_parser (::xml_schema::any_type_pskel&); + + void + parsers (::xml_schema::any_type_pskel& /* business */, + ::xml_schema::any_type_pskel& /* indefinite */, + ::xml_schema::any_type_pskel& /* legal */, + ::xml_schema::any_type_pskel& /* none */, + ::xml_schema::any_type_pskel& /* stated */); + + // Constructor. + // + dcpRetentionType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::any_type_pskel* business_parser_; + ::xml_schema::any_type_pskel* indefinite_parser_; + ::xml_schema::any_type_pskel* legal_parser_; + ::xml_schema::any_type_pskel* none_parser_; + ::xml_schema::any_type_pskel* stated_parser_; + }; + + class dcpExpiryType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + absolute (const ::xml_schema::date_time&); + + virtual void + relative (const ::xml_schema::duration&); + + virtual void + post_dcpExpiryType (); + + // Parser construction API. + // + void + absolute_parser (::xml_schema::date_time_pskel&); + + void + relative_parser (::xml_schema::duration_pskel&); + + void + parsers (::xml_schema::date_time_pskel& /* absolute */, + ::xml_schema::duration_pskel& /* relative */); + + // Constructor. + // + dcpExpiryType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::date_time_pskel* absolute_parser_; + ::xml_schema::duration_pskel* relative_parser_; + }; + + class extAnyType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_extAnyType (); + }; + + class extURIType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + extURI (const ::std::string&); + + virtual void + post_extURIType (); + + // Parser construction API. + // + void + extURI_parser (::xml_schema::uri_pskel&); + + void + parsers (::xml_schema::uri_pskel& /* extURI */); + + // Constructor. + // + extURIType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::uri_pskel* extURI_parser_; + }; + + class versionType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_versionType (); + }; + + class commandType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + check (); + + virtual void + create (); + + virtual void + delete_ (); + + virtual void + info (); + + virtual void + login (); + + virtual void + logout (); + + virtual void + poll (); + + virtual void + renew (); + + virtual void + transfer (); + + virtual void + update (); + + virtual void + extension (); + + virtual void + clTRID (); + + virtual void + post_commandType (); + + // Parser construction API. + // + void + check_parser (::epp_1_0::readWriteType_pskel&); + + void + create_parser (::epp_1_0::readWriteType_pskel&); + + void + delete_parser (::epp_1_0::readWriteType_pskel&); + + void + info_parser (::epp_1_0::readWriteType_pskel&); + + void + login_parser (::epp_1_0::loginType_pskel&); + + void + logout_parser (::xml_schema::any_type_pskel&); + + void + poll_parser (::epp_1_0::pollType_pskel&); + + void + renew_parser (::epp_1_0::readWriteType_pskel&); + + void + transfer_parser (::epp_1_0::transferType_pskel&); + + void + update_parser (::epp_1_0::readWriteType_pskel&); + + void + extension_parser (::epp_1_0::extAnyType_pskel&); + + void + clTRID_parser (::epp_1_0::trIDStringType_pskel&); + + void + parsers (::epp_1_0::readWriteType_pskel& /* check */, + ::epp_1_0::readWriteType_pskel& /* create */, + ::epp_1_0::readWriteType_pskel& /* delete */, + ::epp_1_0::readWriteType_pskel& /* info */, + ::epp_1_0::loginType_pskel& /* login */, + ::xml_schema::any_type_pskel& /* logout */, + ::epp_1_0::pollType_pskel& /* poll */, + ::epp_1_0::readWriteType_pskel& /* renew */, + ::epp_1_0::transferType_pskel& /* transfer */, + ::epp_1_0::readWriteType_pskel& /* update */, + ::epp_1_0::extAnyType_pskel& /* extension */, + ::epp_1_0::trIDStringType_pskel& /* clTRID */); + + // Constructor. + // + commandType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::readWriteType_pskel* check_parser_; + ::epp_1_0::readWriteType_pskel* create_parser_; + ::epp_1_0::readWriteType_pskel* delete__parser_; + ::epp_1_0::readWriteType_pskel* info_parser_; + ::epp_1_0::loginType_pskel* login_parser_; + ::xml_schema::any_type_pskel* logout_parser_; + ::epp_1_0::pollType_pskel* poll_parser_; + ::epp_1_0::readWriteType_pskel* renew_parser_; + ::epp_1_0::transferType_pskel* transfer_parser_; + ::epp_1_0::readWriteType_pskel* update_parser_; + ::epp_1_0::extAnyType_pskel* extension_parser_; + ::epp_1_0::trIDStringType_pskel* clTRID_parser_; + }; + + class loginType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + clID (); + + virtual void + pw (); + + virtual void + newPW (); + + virtual void + options (); + + virtual void + svcs (); + + virtual void + post_loginType (); + + // Parser construction API. + // + void + clID_parser (::eppcom_1_0::clIDType_pskel&); + + void + pw_parser (::epp_1_0::pwType_pskel&); + + void + newPW_parser (::epp_1_0::pwType_pskel&); + + void + options_parser (::epp_1_0::credsOptionsType_pskel&); + + void + svcs_parser (::epp_1_0::loginSvcType_pskel&); + + void + parsers (::eppcom_1_0::clIDType_pskel& /* clID */, + ::epp_1_0::pwType_pskel& /* pw */, + ::epp_1_0::pwType_pskel& /* newPW */, + ::epp_1_0::credsOptionsType_pskel& /* options */, + ::epp_1_0::loginSvcType_pskel& /* svcs */); + + // Constructor. + // + loginType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::clIDType_pskel* clID_parser_; + ::epp_1_0::pwType_pskel* pw_parser_; + ::epp_1_0::pwType_pskel* newPW_parser_; + ::epp_1_0::credsOptionsType_pskel* options_parser_; + ::epp_1_0::loginSvcType_pskel* svcs_parser_; + }; + + class credsOptionsType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + version (); + + virtual void + lang (const ::std::string&); + + virtual void + post_credsOptionsType (); + + // Parser construction API. + // + void + version_parser (::epp_1_0::versionType_pskel&); + + void + lang_parser (::xml_schema::language_pskel&); + + void + parsers (::epp_1_0::versionType_pskel& /* version */, + ::xml_schema::language_pskel& /* lang */); + + // Constructor. + // + credsOptionsType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::versionType_pskel* version_parser_; + ::xml_schema::language_pskel* lang_parser_; + }; + + class pwType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_pwType (); + }; + + class loginSvcType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + objURI (const ::std::string&); + + virtual void + svcExtension (); + + virtual void + post_loginSvcType (); + + // Parser construction API. + // + void + objURI_parser (::xml_schema::uri_pskel&); + + void + svcExtension_parser (::epp_1_0::extURIType_pskel&); + + void + parsers (::xml_schema::uri_pskel& /* objURI */, + ::epp_1_0::extURIType_pskel& /* svcExtension */); + + // Constructor. + // + loginSvcType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::uri_pskel* objURI_parser_; + ::epp_1_0::extURIType_pskel* svcExtension_parser_; + }; + + class pollType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + op (); + + virtual void + msgID (const ::std::string&); + + virtual void + post_pollType (); + + // Parser construction API. + // + void + op_parser (::epp_1_0::pollOpType_pskel&); + + void + msgID_parser (::xml_schema::token_pskel&); + + void + parsers (::epp_1_0::pollOpType_pskel& /* op */, + ::xml_schema::token_pskel& /* msgID */); + + // Constructor. + // + pollType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::pollOpType_pskel* op_parser_; + ::xml_schema::token_pskel* msgID_parser_; + }; + + class pollOpType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_pollOpType (); + }; + + class transferType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + op (); + + virtual void + post_transferType (); + + // Parser construction API. + // + void + op_parser (::epp_1_0::transferOpType_pskel&); + + void + parsers (::epp_1_0::transferOpType_pskel& /* op */); + + // Constructor. + // + transferType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::transferOpType_pskel* op_parser_; + }; + + class transferOpType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_transferOpType (); + }; + + class readWriteType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_readWriteType (); + }; + + class trIDType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + clTRID (); + + virtual void + svTRID (); + + virtual void + post_trIDType (); + + // Parser construction API. + // + void + clTRID_parser (::epp_1_0::trIDStringType_pskel&); + + void + svTRID_parser (::epp_1_0::trIDStringType_pskel&); + + void + parsers (::epp_1_0::trIDStringType_pskel& /* clTRID */, + ::epp_1_0::trIDStringType_pskel& /* svTRID */); + + // Constructor. + // + trIDType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::trIDStringType_pskel* clTRID_parser_; + ::epp_1_0::trIDStringType_pskel* svTRID_parser_; + }; + + class trIDStringType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_trIDStringType (); + }; + + class responseType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + result (); + + virtual void + msgQ (); + + virtual void + resData (); + + virtual void + extension (); + + virtual void + trID (); + + virtual void + post_responseType (); + + // Parser construction API. + // + void + result_parser (::epp_1_0::resultType_pskel&); + + void + msgQ_parser (::epp_1_0::msgQType_pskel&); + + void + resData_parser (::epp_1_0::extAnyType_pskel&); + + void + extension_parser (::epp_1_0::extAnyType_pskel&); + + void + trID_parser (::epp_1_0::trIDType_pskel&); + + void + parsers (::epp_1_0::resultType_pskel& /* result */, + ::epp_1_0::msgQType_pskel& /* msgQ */, + ::epp_1_0::extAnyType_pskel& /* resData */, + ::epp_1_0::extAnyType_pskel& /* extension */, + ::epp_1_0::trIDType_pskel& /* trID */); + + // Constructor. + // + responseType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::resultType_pskel* result_parser_; + ::epp_1_0::msgQType_pskel* msgQ_parser_; + ::epp_1_0::extAnyType_pskel* resData_parser_; + ::epp_1_0::extAnyType_pskel* extension_parser_; + ::epp_1_0::trIDType_pskel* trID_parser_; + }; + + class resultType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + msg (); + + virtual void + value (); + + virtual void + extValue (); + + virtual void + code (); + + virtual void + post_resultType (); + + // Parser construction API. + // + void + msg_parser (::epp_1_0::msgType_pskel&); + + void + value_parser (::epp_1_0::errValueType_pskel&); + + void + extValue_parser (::epp_1_0::extErrValueType_pskel&); + + void + code_parser (::epp_1_0::resultCodeType_pskel&); + + void + parsers (::epp_1_0::msgType_pskel& /* msg */, + ::epp_1_0::errValueType_pskel& /* value */, + ::epp_1_0::extErrValueType_pskel& /* extValue */, + ::epp_1_0::resultCodeType_pskel& /* code */); + + // Constructor. + // + resultType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::msgType_pskel* msg_parser_; + ::epp_1_0::errValueType_pskel* value_parser_; + ::epp_1_0::extErrValueType_pskel* extValue_parser_; + ::epp_1_0::resultCodeType_pskel* code_parser_; + }; + + class errValueType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_errValueType (); + }; + + class extErrValueType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + value (); + + virtual void + reason (); + + virtual void + post_extErrValueType (); + + // Parser construction API. + // + void + value_parser (::epp_1_0::errValueType_pskel&); + + void + reason_parser (::epp_1_0::msgType_pskel&); + + void + parsers (::epp_1_0::errValueType_pskel& /* value */, + ::epp_1_0::msgType_pskel& /* reason */); + + // Constructor. + // + extErrValueType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::epp_1_0::errValueType_pskel* value_parser_; + ::epp_1_0::msgType_pskel* reason_parser_; + }; + + class msgQType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + qDate (const ::xml_schema::date_time&); + + virtual void + msg (); + + virtual void + count (unsigned long long); + + virtual void + id (); + + virtual void + post_msgQType (); + + // Parser construction API. + // + void + qDate_parser (::xml_schema::date_time_pskel&); + + void + msg_parser (::epp_1_0::mixedMsgType_pskel&); + + void + count_parser (::xml_schema::unsigned_long_pskel&); + + void + id_parser (::eppcom_1_0::minTokenType_pskel&); + + void + parsers (::xml_schema::date_time_pskel& /* qDate */, + ::epp_1_0::mixedMsgType_pskel& /* msg */, + ::xml_schema::unsigned_long_pskel& /* count */, + ::eppcom_1_0::minTokenType_pskel& /* id */); + + // Constructor. + // + msgQType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::date_time_pskel* qDate_parser_; + ::epp_1_0::mixedMsgType_pskel* msg_parser_; + ::xml_schema::unsigned_long_pskel* count_parser_; + ::eppcom_1_0::minTokenType_pskel* id_parser_; + }; + + class mixedMsgType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + lang (const ::std::string&); + + virtual void + post_mixedMsgType (); + + // Parser construction API. + // + void + lang_parser (::xml_schema::language_pskel&); + + void + parsers (::xml_schema::language_pskel& /* lang */); + + // Constructor. + // + mixedMsgType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::language_pskel* lang_parser_; + }; + + class msgType_pskel: public virtual ::xml_schema::normalized_string_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + lang (const ::std::string&); + + virtual void + post_msgType (); + + // Parser construction API. + // + void + lang_parser (::xml_schema::language_pskel&); + + void + parsers (::xml_schema::language_pskel& /* lang */); + + // Constructor. + // + msgType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::language_pskel* lang_parser_; + }; + + class resultCodeType_pskel: public virtual ::xml_schema::unsigned_short_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_resultCodeType (); + }; +} + +#include + +// Begin epilogue. +// +// +// End epilogue. + +#endif // CXX______RESOURCES_EPP_1_0_PSKEL_HXX diff --git a/APIG/include/eppcom-1.0.hpp b/APIG/include/eppcom-1.0.hpp new file mode 100644 index 0000000..cd4275d --- /dev/null +++ b/APIG/include/eppcom-1.0.hpp @@ -0,0 +1,447 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +#ifndef CXX______RESOURCES_EPPCOM_1_0_PSKEL_HXX +#define CXX______RESOURCES_EPPCOM_1_0_PSKEL_HXX + +// Begin prologue. +// +// +// End prologue. + +#include + +#if (XSD_INT_VERSION != 3030000L) +#error XSD runtime version mismatch +#endif + +#include + +// Forward declarations +// +namespace eppcom_1_0 +{ + class pwAuthInfoType_pskel; + class extAuthInfoType_pskel; + class reasonBaseType_pskel; + class reasonType_pskel; + class clIDType_pskel; + class labelType_pskel; + class minTokenType_pskel; + class roidType_pskel; + class trStatusType_pskel; +} + + +#ifndef XSD_USE_CHAR +#define XSD_USE_CHAR +#endif + +#ifndef XSD_CXX_PARSER_USE_CHAR +#define XSD_CXX_PARSER_USE_CHAR +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace xml_schema +{ + // Built-in XML Schema types mapping. + // + typedef ::xsd::cxx::parser::string_sequence< char > string_sequence; + typedef ::xsd::cxx::parser::qname< char > qname; + typedef ::xsd::cxx::parser::buffer buffer; + typedef ::xsd::cxx::parser::time_zone time_zone; + typedef ::xsd::cxx::parser::gday gday; + typedef ::xsd::cxx::parser::gmonth gmonth; + typedef ::xsd::cxx::parser::gyear gyear; + typedef ::xsd::cxx::parser::gmonth_day gmonth_day; + typedef ::xsd::cxx::parser::gyear_month gyear_month; + typedef ::xsd::cxx::parser::date date; + typedef ::xsd::cxx::parser::time time; + typedef ::xsd::cxx::parser::date_time date_time; + typedef ::xsd::cxx::parser::duration duration; + + // Base parser skeletons. + // + typedef ::xsd::cxx::parser::parser_base< char > parser_base; + typedef ::xsd::cxx::parser::non_validating::empty_content< char > empty_content; + typedef ::xsd::cxx::parser::non_validating::simple_content< char > simple_content; + typedef ::xsd::cxx::parser::non_validating::complex_content< char > complex_content; + typedef ::xsd::cxx::parser::non_validating::list_base< char > list_base; + + // Parser skeletons and implementations for the XML Schema + // built-in types. + // + typedef ::xsd::cxx::parser::non_validating::any_type_pskel< char > any_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_type_pimpl< char > any_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pskel< char > any_simple_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pimpl< char > any_simple_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::byte_pskel< char > byte_pskel; + typedef ::xsd::cxx::parser::non_validating::byte_pimpl< char > byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pskel< char > unsigned_byte_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pimpl< char > unsigned_byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::short_pskel< char > short_pskel; + typedef ::xsd::cxx::parser::non_validating::short_pimpl< char > short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pskel< char > unsigned_short_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pimpl< char > unsigned_short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::int_pskel< char > int_pskel; + typedef ::xsd::cxx::parser::non_validating::int_pimpl< char > int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pskel< char > unsigned_int_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pimpl< char > unsigned_int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::long_pskel< char > long_pskel; + typedef ::xsd::cxx::parser::non_validating::long_pimpl< char > long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pskel< char > unsigned_long_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pimpl< char > unsigned_long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::integer_pskel< char > integer_pskel; + typedef ::xsd::cxx::parser::non_validating::integer_pimpl< char > integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pskel< char > non_positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pimpl< char > non_positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pskel< char > non_negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pimpl< char > non_negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::positive_integer_pskel< char > positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::positive_integer_pimpl< char > positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::negative_integer_pskel< char > negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::negative_integer_pimpl< char > negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::boolean_pskel< char > boolean_pskel; + typedef ::xsd::cxx::parser::non_validating::boolean_pimpl< char > boolean_pimpl; + + typedef ::xsd::cxx::parser::non_validating::float_pskel< char > float_pskel; + typedef ::xsd::cxx::parser::non_validating::float_pimpl< char > float_pimpl; + + typedef ::xsd::cxx::parser::non_validating::double_pskel< char > double_pskel; + typedef ::xsd::cxx::parser::non_validating::double_pimpl< char > double_pimpl; + + typedef ::xsd::cxx::parser::non_validating::decimal_pskel< char > decimal_pskel; + typedef ::xsd::cxx::parser::non_validating::decimal_pimpl< char > decimal_pimpl; + + typedef ::xsd::cxx::parser::non_validating::string_pskel< char > string_pskel; + typedef ::xsd::cxx::parser::non_validating::string_pimpl< char > string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::normalized_string_pskel< char > normalized_string_pskel; + typedef ::xsd::cxx::parser::non_validating::normalized_string_pimpl< char > normalized_string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::token_pskel< char > token_pskel; + typedef ::xsd::cxx::parser::non_validating::token_pimpl< char > token_pimpl; + + typedef ::xsd::cxx::parser::non_validating::name_pskel< char > name_pskel; + typedef ::xsd::cxx::parser::non_validating::name_pimpl< char > name_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtoken_pskel< char > nmtoken_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtoken_pimpl< char > nmtoken_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtokens_pskel< char > nmtokens_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtokens_pimpl< char > nmtokens_pimpl; + + typedef ::xsd::cxx::parser::non_validating::ncname_pskel< char > ncname_pskel; + typedef ::xsd::cxx::parser::non_validating::ncname_pimpl< char > ncname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::language_pskel< char > language_pskel; + typedef ::xsd::cxx::parser::non_validating::language_pimpl< char > language_pimpl; + + typedef ::xsd::cxx::parser::non_validating::id_pskel< char > id_pskel; + typedef ::xsd::cxx::parser::non_validating::id_pimpl< char > id_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idref_pskel< char > idref_pskel; + typedef ::xsd::cxx::parser::non_validating::idref_pimpl< char > idref_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idrefs_pskel< char > idrefs_pskel; + typedef ::xsd::cxx::parser::non_validating::idrefs_pimpl< char > idrefs_pimpl; + + typedef ::xsd::cxx::parser::non_validating::uri_pskel< char > uri_pskel; + typedef ::xsd::cxx::parser::non_validating::uri_pimpl< char > uri_pimpl; + + typedef ::xsd::cxx::parser::non_validating::qname_pskel< char > qname_pskel; + typedef ::xsd::cxx::parser::non_validating::qname_pimpl< char > qname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::base64_binary_pskel< char > base64_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::base64_binary_pimpl< char > base64_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::hex_binary_pskel< char > hex_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::hex_binary_pimpl< char > hex_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_pskel< char > date_pskel; + typedef ::xsd::cxx::parser::non_validating::date_pimpl< char > date_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_time_pskel< char > date_time_pskel; + typedef ::xsd::cxx::parser::non_validating::date_time_pimpl< char > date_time_pimpl; + + typedef ::xsd::cxx::parser::non_validating::duration_pskel< char > duration_pskel; + typedef ::xsd::cxx::parser::non_validating::duration_pimpl< char > duration_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gday_pskel< char > gday_pskel; + typedef ::xsd::cxx::parser::non_validating::gday_pimpl< char > gday_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_pskel< char > gmonth_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_pimpl< char > gmonth_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pskel< char > gmonth_day_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pimpl< char > gmonth_day_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_pskel< char > gyear_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_pimpl< char > gyear_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_month_pskel< char > gyear_month_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_month_pimpl< char > gyear_month_pimpl; + + typedef ::xsd::cxx::parser::non_validating::time_pskel< char > time_pskel; + typedef ::xsd::cxx::parser::non_validating::time_pimpl< char > time_pimpl; + + // Exceptions. See libxsd/xsd/cxx/parser/exceptions.hxx for details. + // + typedef ::xsd::cxx::parser::exception< char > exception; + + // Parsing diagnostics. + // + typedef ::xsd::cxx::parser::severity severity; + typedef ::xsd::cxx::parser::error< char > error; + typedef ::xsd::cxx::parser::diagnostics< char > diagnostics; + typedef ::xsd::cxx::parser::parsing< char > parsing; + + // Error handler. See libxsd/xsd/cxx/xml/error-handler.hxx for details. + // + typedef ::xsd::cxx::xml::error_handler< char > error_handler; + + // Read-only string. + // + typedef ::xsd::cxx::ro_string< char > ro_string; + + // Parsing flags. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::flags flags; + + // Parsing properties. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::properties< char > properties; + + // Document type. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::document< char > document; +} + +namespace eppcom_1_0 +{ + class pwAuthInfoType_pskel: public virtual ::xml_schema::normalized_string_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + roid (); + + virtual void + post_pwAuthInfoType (); + + // Parser construction API. + // + void + roid_parser (::eppcom_1_0::roidType_pskel&); + + void + parsers (::eppcom_1_0::roidType_pskel& /* roid */); + + // Constructor. + // + pwAuthInfoType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::roidType_pskel* roid_parser_; + }; + + class extAuthInfoType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_extAuthInfoType (); + }; + + class reasonBaseType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_reasonBaseType (); + }; + + class reasonType_pskel: public virtual ::eppcom_1_0::reasonBaseType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + lang (const ::std::string&); + + virtual void + post_reasonType (); + + // Parser construction API. + // + void + lang_parser (::xml_schema::language_pskel&); + + void + parsers (::xml_schema::language_pskel& /* lang */); + + // Constructor. + // + reasonType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::language_pskel* lang_parser_; + }; + + class clIDType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_clIDType (); + }; + + class labelType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_labelType (); + }; + + class minTokenType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_minTokenType (); + }; + + class roidType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_roidType (); + }; + + class trStatusType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_trStatusType (); + }; +} + +#include + +// Begin epilogue. +// +// +// End epilogue. + +#endif // CXX______RESOURCES_EPPCOM_1_0_PSKEL_HXX diff --git a/APIG/include/host-1.0.hpp b/APIG/include/host-1.0.hpp new file mode 100644 index 0000000..dfd56b5 --- /dev/null +++ b/APIG/include/host-1.0.hpp @@ -0,0 +1,1102 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +#ifndef CXX______RESOURCES_HOST_1_0_PSKEL_HXX +#define CXX______RESOURCES_HOST_1_0_PSKEL_HXX + +// Begin prologue. +// +// +// End prologue. + +#include + +#if (XSD_INT_VERSION != 3030000L) +#error XSD runtime version mismatch +#endif + +#include + +// Forward declarations +// +namespace host_1_0 +{ + class createType_pskel; + class addrStringType_pskel; + class addrType_pskel; + class ipType_pskel; + class sNameType_pskel; + class mNameType_pskel; + class updateType_pskel; + class addRemType_pskel; + class chgType_pskel; + class chkDataType_pskel; + class checkType_pskel; + class checkNameType_pskel; + class creDataType_pskel; + class infDataType_pskel; + class statusType_pskel; + class statusValueType_pskel; + class panDataType_pskel; + class paNameType_pskel; +} + + +#ifndef XSD_USE_CHAR +#define XSD_USE_CHAR +#endif + +#ifndef XSD_CXX_PARSER_USE_CHAR +#define XSD_CXX_PARSER_USE_CHAR +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace xml_schema +{ + // Built-in XML Schema types mapping. + // + typedef ::xsd::cxx::parser::string_sequence< char > string_sequence; + typedef ::xsd::cxx::parser::qname< char > qname; + typedef ::xsd::cxx::parser::buffer buffer; + typedef ::xsd::cxx::parser::time_zone time_zone; + typedef ::xsd::cxx::parser::gday gday; + typedef ::xsd::cxx::parser::gmonth gmonth; + typedef ::xsd::cxx::parser::gyear gyear; + typedef ::xsd::cxx::parser::gmonth_day gmonth_day; + typedef ::xsd::cxx::parser::gyear_month gyear_month; + typedef ::xsd::cxx::parser::date date; + typedef ::xsd::cxx::parser::time time; + typedef ::xsd::cxx::parser::date_time date_time; + typedef ::xsd::cxx::parser::duration duration; + + // Base parser skeletons. + // + typedef ::xsd::cxx::parser::parser_base< char > parser_base; + typedef ::xsd::cxx::parser::non_validating::empty_content< char > empty_content; + typedef ::xsd::cxx::parser::non_validating::simple_content< char > simple_content; + typedef ::xsd::cxx::parser::non_validating::complex_content< char > complex_content; + typedef ::xsd::cxx::parser::non_validating::list_base< char > list_base; + + // Parser skeletons and implementations for the XML Schema + // built-in types. + // + typedef ::xsd::cxx::parser::non_validating::any_type_pskel< char > any_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_type_pimpl< char > any_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pskel< char > any_simple_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pimpl< char > any_simple_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::byte_pskel< char > byte_pskel; + typedef ::xsd::cxx::parser::non_validating::byte_pimpl< char > byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pskel< char > unsigned_byte_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pimpl< char > unsigned_byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::short_pskel< char > short_pskel; + typedef ::xsd::cxx::parser::non_validating::short_pimpl< char > short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pskel< char > unsigned_short_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pimpl< char > unsigned_short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::int_pskel< char > int_pskel; + typedef ::xsd::cxx::parser::non_validating::int_pimpl< char > int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pskel< char > unsigned_int_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pimpl< char > unsigned_int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::long_pskel< char > long_pskel; + typedef ::xsd::cxx::parser::non_validating::long_pimpl< char > long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pskel< char > unsigned_long_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pimpl< char > unsigned_long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::integer_pskel< char > integer_pskel; + typedef ::xsd::cxx::parser::non_validating::integer_pimpl< char > integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pskel< char > non_positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pimpl< char > non_positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pskel< char > non_negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pimpl< char > non_negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::positive_integer_pskel< char > positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::positive_integer_pimpl< char > positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::negative_integer_pskel< char > negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::negative_integer_pimpl< char > negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::boolean_pskel< char > boolean_pskel; + typedef ::xsd::cxx::parser::non_validating::boolean_pimpl< char > boolean_pimpl; + + typedef ::xsd::cxx::parser::non_validating::float_pskel< char > float_pskel; + typedef ::xsd::cxx::parser::non_validating::float_pimpl< char > float_pimpl; + + typedef ::xsd::cxx::parser::non_validating::double_pskel< char > double_pskel; + typedef ::xsd::cxx::parser::non_validating::double_pimpl< char > double_pimpl; + + typedef ::xsd::cxx::parser::non_validating::decimal_pskel< char > decimal_pskel; + typedef ::xsd::cxx::parser::non_validating::decimal_pimpl< char > decimal_pimpl; + + typedef ::xsd::cxx::parser::non_validating::string_pskel< char > string_pskel; + typedef ::xsd::cxx::parser::non_validating::string_pimpl< char > string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::normalized_string_pskel< char > normalized_string_pskel; + typedef ::xsd::cxx::parser::non_validating::normalized_string_pimpl< char > normalized_string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::token_pskel< char > token_pskel; + typedef ::xsd::cxx::parser::non_validating::token_pimpl< char > token_pimpl; + + typedef ::xsd::cxx::parser::non_validating::name_pskel< char > name_pskel; + typedef ::xsd::cxx::parser::non_validating::name_pimpl< char > name_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtoken_pskel< char > nmtoken_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtoken_pimpl< char > nmtoken_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtokens_pskel< char > nmtokens_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtokens_pimpl< char > nmtokens_pimpl; + + typedef ::xsd::cxx::parser::non_validating::ncname_pskel< char > ncname_pskel; + typedef ::xsd::cxx::parser::non_validating::ncname_pimpl< char > ncname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::language_pskel< char > language_pskel; + typedef ::xsd::cxx::parser::non_validating::language_pimpl< char > language_pimpl; + + typedef ::xsd::cxx::parser::non_validating::id_pskel< char > id_pskel; + typedef ::xsd::cxx::parser::non_validating::id_pimpl< char > id_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idref_pskel< char > idref_pskel; + typedef ::xsd::cxx::parser::non_validating::idref_pimpl< char > idref_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idrefs_pskel< char > idrefs_pskel; + typedef ::xsd::cxx::parser::non_validating::idrefs_pimpl< char > idrefs_pimpl; + + typedef ::xsd::cxx::parser::non_validating::uri_pskel< char > uri_pskel; + typedef ::xsd::cxx::parser::non_validating::uri_pimpl< char > uri_pimpl; + + typedef ::xsd::cxx::parser::non_validating::qname_pskel< char > qname_pskel; + typedef ::xsd::cxx::parser::non_validating::qname_pimpl< char > qname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::base64_binary_pskel< char > base64_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::base64_binary_pimpl< char > base64_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::hex_binary_pskel< char > hex_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::hex_binary_pimpl< char > hex_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_pskel< char > date_pskel; + typedef ::xsd::cxx::parser::non_validating::date_pimpl< char > date_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_time_pskel< char > date_time_pskel; + typedef ::xsd::cxx::parser::non_validating::date_time_pimpl< char > date_time_pimpl; + + typedef ::xsd::cxx::parser::non_validating::duration_pskel< char > duration_pskel; + typedef ::xsd::cxx::parser::non_validating::duration_pimpl< char > duration_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gday_pskel< char > gday_pskel; + typedef ::xsd::cxx::parser::non_validating::gday_pimpl< char > gday_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_pskel< char > gmonth_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_pimpl< char > gmonth_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pskel< char > gmonth_day_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pimpl< char > gmonth_day_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_pskel< char > gyear_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_pimpl< char > gyear_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_month_pskel< char > gyear_month_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_month_pimpl< char > gyear_month_pimpl; + + typedef ::xsd::cxx::parser::non_validating::time_pskel< char > time_pskel; + typedef ::xsd::cxx::parser::non_validating::time_pimpl< char > time_pimpl; + + // Exceptions. See libxsd/xsd/cxx/parser/exceptions.hxx for details. + // + typedef ::xsd::cxx::parser::exception< char > exception; + + // Parsing diagnostics. + // + typedef ::xsd::cxx::parser::severity severity; + typedef ::xsd::cxx::parser::error< char > error; + typedef ::xsd::cxx::parser::diagnostics< char > diagnostics; + typedef ::xsd::cxx::parser::parsing< char > parsing; + + // Error handler. See libxsd/xsd/cxx/xml/error-handler.hxx for details. + // + typedef ::xsd::cxx::xml::error_handler< char > error_handler; + + // Read-only string. + // + typedef ::xsd::cxx::ro_string< char > ro_string; + + // Parsing flags. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::flags flags; + + // Parsing properties. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::properties< char > properties; + + // Document type. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::document< char > document; +} + +#include "eppcom-1.0-pskel.hxx" + +#include "epp-1.0-pskel.hxx" + +namespace host_1_0 +{ + class createType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + addr (); + + virtual void + post_createType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + addr_parser (::host_1_0::addrType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::host_1_0::addrType_pskel& /* addr */); + + // Constructor. + // + createType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::host_1_0::addrType_pskel* addr_parser_; + }; + + class addrStringType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_addrStringType (); + }; + + class addrType_pskel: public virtual ::host_1_0::addrStringType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + ip (); + + virtual void + post_addrType (); + + // Parser construction API. + // + void + ip_parser (::host_1_0::ipType_pskel&); + + void + parsers (::host_1_0::ipType_pskel& /* ip */); + + // Constructor. + // + addrType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::host_1_0::ipType_pskel* ip_parser_; + }; + + class ipType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_ipType (); + }; + + class sNameType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + post_sNameType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */); + + // Constructor. + // + sNameType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + }; + + class mNameType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + post_mNameType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */); + + // Constructor. + // + mNameType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + }; + + class updateType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + add (); + + virtual void + rem (); + + virtual void + chg (); + + virtual void + post_updateType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + add_parser (::host_1_0::addRemType_pskel&); + + void + rem_parser (::host_1_0::addRemType_pskel&); + + void + chg_parser (::host_1_0::chgType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::host_1_0::addRemType_pskel& /* add */, + ::host_1_0::addRemType_pskel& /* rem */, + ::host_1_0::chgType_pskel& /* chg */); + + // Constructor. + // + updateType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::host_1_0::addRemType_pskel* add_parser_; + ::host_1_0::addRemType_pskel* rem_parser_; + ::host_1_0::chgType_pskel* chg_parser_; + }; + + class addRemType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + addr (); + + virtual void + status (); + + virtual void + post_addRemType (); + + // Parser construction API. + // + void + addr_parser (::host_1_0::addrType_pskel&); + + void + status_parser (::host_1_0::statusType_pskel&); + + void + parsers (::host_1_0::addrType_pskel& /* addr */, + ::host_1_0::statusType_pskel& /* status */); + + // Constructor. + // + addRemType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::host_1_0::addrType_pskel* addr_parser_; + ::host_1_0::statusType_pskel* status_parser_; + }; + + class chgType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + post_chgType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */); + + // Constructor. + // + chgType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + }; + + class chkDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + cd (); + + virtual void + post_chkDataType (); + + // Parser construction API. + // + void + cd_parser (::host_1_0::checkType_pskel&); + + void + parsers (::host_1_0::checkType_pskel& /* cd */); + + // Constructor. + // + chkDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::host_1_0::checkType_pskel* cd_parser_; + }; + + class checkType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + reason (); + + virtual void + post_checkType (); + + // Parser construction API. + // + void + name_parser (::host_1_0::checkNameType_pskel&); + + void + reason_parser (::eppcom_1_0::reasonType_pskel&); + + void + parsers (::host_1_0::checkNameType_pskel& /* name */, + ::eppcom_1_0::reasonType_pskel& /* reason */); + + // Constructor. + // + checkType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::host_1_0::checkNameType_pskel* name_parser_; + ::eppcom_1_0::reasonType_pskel* reason_parser_; + }; + + class checkNameType_pskel: public virtual ::eppcom_1_0::labelType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + avail (bool); + + virtual void + post_checkNameType (); + + // Parser construction API. + // + void + avail_parser (::xml_schema::boolean_pskel&); + + void + parsers (::xml_schema::boolean_pskel& /* avail */); + + // Constructor. + // + checkNameType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::boolean_pskel* avail_parser_; + }; + + class creDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + crDate (const ::xml_schema::date_time&); + + virtual void + post_creDataType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + crDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::xml_schema::date_time_pskel& /* crDate */); + + // Constructor. + // + creDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::xml_schema::date_time_pskel* crDate_parser_; + }; + + class infDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + roid (); + + virtual void + status (); + + virtual void + addr (); + + virtual void + clID (); + + virtual void + crID (); + + virtual void + crDate (const ::xml_schema::date_time&); + + virtual void + upID (); + + virtual void + upDate (const ::xml_schema::date_time&); + + virtual void + trDate (const ::xml_schema::date_time&); + + virtual void + post_infDataType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + roid_parser (::eppcom_1_0::roidType_pskel&); + + void + status_parser (::host_1_0::statusType_pskel&); + + void + addr_parser (::host_1_0::addrType_pskel&); + + void + clID_parser (::eppcom_1_0::clIDType_pskel&); + + void + crID_parser (::eppcom_1_0::clIDType_pskel&); + + void + crDate_parser (::xml_schema::date_time_pskel&); + + void + upID_parser (::eppcom_1_0::clIDType_pskel&); + + void + upDate_parser (::xml_schema::date_time_pskel&); + + void + trDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::eppcom_1_0::roidType_pskel& /* roid */, + ::host_1_0::statusType_pskel& /* status */, + ::host_1_0::addrType_pskel& /* addr */, + ::eppcom_1_0::clIDType_pskel& /* clID */, + ::eppcom_1_0::clIDType_pskel& /* crID */, + ::xml_schema::date_time_pskel& /* crDate */, + ::eppcom_1_0::clIDType_pskel& /* upID */, + ::xml_schema::date_time_pskel& /* upDate */, + ::xml_schema::date_time_pskel& /* trDate */); + + // Constructor. + // + infDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::eppcom_1_0::roidType_pskel* roid_parser_; + ::host_1_0::statusType_pskel* status_parser_; + ::host_1_0::addrType_pskel* addr_parser_; + ::eppcom_1_0::clIDType_pskel* clID_parser_; + ::eppcom_1_0::clIDType_pskel* crID_parser_; + ::xml_schema::date_time_pskel* crDate_parser_; + ::eppcom_1_0::clIDType_pskel* upID_parser_; + ::xml_schema::date_time_pskel* upDate_parser_; + ::xml_schema::date_time_pskel* trDate_parser_; + }; + + class statusType_pskel: public virtual ::xml_schema::normalized_string_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + s (); + + virtual void + lang (const ::std::string&); + + virtual void + post_statusType (); + + // Parser construction API. + // + void + s_parser (::host_1_0::statusValueType_pskel&); + + void + lang_parser (::xml_schema::language_pskel&); + + void + parsers (::host_1_0::statusValueType_pskel& /* s */, + ::xml_schema::language_pskel& /* lang */); + + // Constructor. + // + statusType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::host_1_0::statusValueType_pskel* s_parser_; + ::xml_schema::language_pskel* lang_parser_; + }; + + class statusValueType_pskel: public virtual ::xml_schema::token_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + post_statusValueType (); + }; + + class panDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + paTRID (); + + virtual void + paDate (const ::xml_schema::date_time&); + + virtual void + post_panDataType (); + + // Parser construction API. + // + void + name_parser (::host_1_0::paNameType_pskel&); + + void + paTRID_parser (::epp_1_0::trIDType_pskel&); + + void + paDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::host_1_0::paNameType_pskel& /* name */, + ::epp_1_0::trIDType_pskel& /* paTRID */, + ::xml_schema::date_time_pskel& /* paDate */); + + // Constructor. + // + panDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::host_1_0::paNameType_pskel* name_parser_; + ::epp_1_0::trIDType_pskel* paTRID_parser_; + ::xml_schema::date_time_pskel* paDate_parser_; + }; + + class paNameType_pskel: public virtual ::eppcom_1_0::labelType_pskel + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + paResult (bool); + + virtual void + post_paNameType (); + + // Parser construction API. + // + void + paResult_parser (::xml_schema::boolean_pskel&); + + void + parsers (::xml_schema::boolean_pskel& /* paResult */); + + // Constructor. + // + paNameType_pskel (); + + // Implementation. + // + protected: + virtual bool + _attribute_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::xml_schema::boolean_pskel* paResult_parser_; + }; +} + +#include + +// Begin epilogue. +// +// +// End epilogue. + +#endif // CXX______RESOURCES_HOST_1_0_PSKEL_HXX diff --git a/APIG/include/registrant-1.0.hpp b/APIG/include/registrant-1.0.hpp new file mode 100644 index 0000000..5225c37 --- /dev/null +++ b/APIG/include/registrant-1.0.hpp @@ -0,0 +1,463 @@ +// Copyright (C) 2005-2010 Code Synthesis Tools CC +// +// This program was generated by CodeSynthesis XSD, an XML Schema to +// C++ data binding compiler. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +// +// In addition, as a special exception, Code Synthesis Tools CC gives +// permission to link this program with the Xerces-C++ library (or with +// modified versions of Xerces-C++ that use the same license as Xerces-C++), +// and distribute linked combinations including the two. You must obey +// the GNU General Public License version 2 in all respects for all of +// the code used other than Xerces-C++. If you modify this copy of the +// program, you may extend this exception to your version of the program, +// but you are not obligated to do so. If you do not wish to do so, delete +// this exception statement from your version. +// +// Furthermore, Code Synthesis Tools CC makes a special exception for +// the Free/Libre and Open Source Software (FLOSS) which is described +// in the accompanying FLOSSE file. +// + +#ifndef CXX______RESOURCES_REGISTRANT_1_0_PSKEL_HXX +#define CXX______RESOURCES_REGISTRANT_1_0_PSKEL_HXX + +// Begin prologue. +// +// +// End prologue. + +#include + +#if (XSD_INT_VERSION != 3030000L) +#error XSD runtime version mismatch +#endif + +#include + +// Forward declarations +// +namespace registrant_1_0 +{ + class commandType_pskel; + class registrantTransferType_pskel; + class rtrnDataType_pskel; +} + + +#ifndef XSD_USE_CHAR +#define XSD_USE_CHAR +#endif + +#ifndef XSD_CXX_PARSER_USE_CHAR +#define XSD_CXX_PARSER_USE_CHAR +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace xml_schema +{ + // Built-in XML Schema types mapping. + // + typedef ::xsd::cxx::parser::string_sequence< char > string_sequence; + typedef ::xsd::cxx::parser::qname< char > qname; + typedef ::xsd::cxx::parser::buffer buffer; + typedef ::xsd::cxx::parser::time_zone time_zone; + typedef ::xsd::cxx::parser::gday gday; + typedef ::xsd::cxx::parser::gmonth gmonth; + typedef ::xsd::cxx::parser::gyear gyear; + typedef ::xsd::cxx::parser::gmonth_day gmonth_day; + typedef ::xsd::cxx::parser::gyear_month gyear_month; + typedef ::xsd::cxx::parser::date date; + typedef ::xsd::cxx::parser::time time; + typedef ::xsd::cxx::parser::date_time date_time; + typedef ::xsd::cxx::parser::duration duration; + + // Base parser skeletons. + // + typedef ::xsd::cxx::parser::parser_base< char > parser_base; + typedef ::xsd::cxx::parser::non_validating::empty_content< char > empty_content; + typedef ::xsd::cxx::parser::non_validating::simple_content< char > simple_content; + typedef ::xsd::cxx::parser::non_validating::complex_content< char > complex_content; + typedef ::xsd::cxx::parser::non_validating::list_base< char > list_base; + + // Parser skeletons and implementations for the XML Schema + // built-in types. + // + typedef ::xsd::cxx::parser::non_validating::any_type_pskel< char > any_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_type_pimpl< char > any_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pskel< char > any_simple_type_pskel; + typedef ::xsd::cxx::parser::non_validating::any_simple_type_pimpl< char > any_simple_type_pimpl; + + typedef ::xsd::cxx::parser::non_validating::byte_pskel< char > byte_pskel; + typedef ::xsd::cxx::parser::non_validating::byte_pimpl< char > byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pskel< char > unsigned_byte_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_byte_pimpl< char > unsigned_byte_pimpl; + + typedef ::xsd::cxx::parser::non_validating::short_pskel< char > short_pskel; + typedef ::xsd::cxx::parser::non_validating::short_pimpl< char > short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pskel< char > unsigned_short_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_short_pimpl< char > unsigned_short_pimpl; + + typedef ::xsd::cxx::parser::non_validating::int_pskel< char > int_pskel; + typedef ::xsd::cxx::parser::non_validating::int_pimpl< char > int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pskel< char > unsigned_int_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_int_pimpl< char > unsigned_int_pimpl; + + typedef ::xsd::cxx::parser::non_validating::long_pskel< char > long_pskel; + typedef ::xsd::cxx::parser::non_validating::long_pimpl< char > long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pskel< char > unsigned_long_pskel; + typedef ::xsd::cxx::parser::non_validating::unsigned_long_pimpl< char > unsigned_long_pimpl; + + typedef ::xsd::cxx::parser::non_validating::integer_pskel< char > integer_pskel; + typedef ::xsd::cxx::parser::non_validating::integer_pimpl< char > integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pskel< char > non_positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_positive_integer_pimpl< char > non_positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pskel< char > non_negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::non_negative_integer_pimpl< char > non_negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::positive_integer_pskel< char > positive_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::positive_integer_pimpl< char > positive_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::negative_integer_pskel< char > negative_integer_pskel; + typedef ::xsd::cxx::parser::non_validating::negative_integer_pimpl< char > negative_integer_pimpl; + + typedef ::xsd::cxx::parser::non_validating::boolean_pskel< char > boolean_pskel; + typedef ::xsd::cxx::parser::non_validating::boolean_pimpl< char > boolean_pimpl; + + typedef ::xsd::cxx::parser::non_validating::float_pskel< char > float_pskel; + typedef ::xsd::cxx::parser::non_validating::float_pimpl< char > float_pimpl; + + typedef ::xsd::cxx::parser::non_validating::double_pskel< char > double_pskel; + typedef ::xsd::cxx::parser::non_validating::double_pimpl< char > double_pimpl; + + typedef ::xsd::cxx::parser::non_validating::decimal_pskel< char > decimal_pskel; + typedef ::xsd::cxx::parser::non_validating::decimal_pimpl< char > decimal_pimpl; + + typedef ::xsd::cxx::parser::non_validating::string_pskel< char > string_pskel; + typedef ::xsd::cxx::parser::non_validating::string_pimpl< char > string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::normalized_string_pskel< char > normalized_string_pskel; + typedef ::xsd::cxx::parser::non_validating::normalized_string_pimpl< char > normalized_string_pimpl; + + typedef ::xsd::cxx::parser::non_validating::token_pskel< char > token_pskel; + typedef ::xsd::cxx::parser::non_validating::token_pimpl< char > token_pimpl; + + typedef ::xsd::cxx::parser::non_validating::name_pskel< char > name_pskel; + typedef ::xsd::cxx::parser::non_validating::name_pimpl< char > name_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtoken_pskel< char > nmtoken_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtoken_pimpl< char > nmtoken_pimpl; + + typedef ::xsd::cxx::parser::non_validating::nmtokens_pskel< char > nmtokens_pskel; + typedef ::xsd::cxx::parser::non_validating::nmtokens_pimpl< char > nmtokens_pimpl; + + typedef ::xsd::cxx::parser::non_validating::ncname_pskel< char > ncname_pskel; + typedef ::xsd::cxx::parser::non_validating::ncname_pimpl< char > ncname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::language_pskel< char > language_pskel; + typedef ::xsd::cxx::parser::non_validating::language_pimpl< char > language_pimpl; + + typedef ::xsd::cxx::parser::non_validating::id_pskel< char > id_pskel; + typedef ::xsd::cxx::parser::non_validating::id_pimpl< char > id_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idref_pskel< char > idref_pskel; + typedef ::xsd::cxx::parser::non_validating::idref_pimpl< char > idref_pimpl; + + typedef ::xsd::cxx::parser::non_validating::idrefs_pskel< char > idrefs_pskel; + typedef ::xsd::cxx::parser::non_validating::idrefs_pimpl< char > idrefs_pimpl; + + typedef ::xsd::cxx::parser::non_validating::uri_pskel< char > uri_pskel; + typedef ::xsd::cxx::parser::non_validating::uri_pimpl< char > uri_pimpl; + + typedef ::xsd::cxx::parser::non_validating::qname_pskel< char > qname_pskel; + typedef ::xsd::cxx::parser::non_validating::qname_pimpl< char > qname_pimpl; + + typedef ::xsd::cxx::parser::non_validating::base64_binary_pskel< char > base64_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::base64_binary_pimpl< char > base64_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::hex_binary_pskel< char > hex_binary_pskel; + typedef ::xsd::cxx::parser::non_validating::hex_binary_pimpl< char > hex_binary_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_pskel< char > date_pskel; + typedef ::xsd::cxx::parser::non_validating::date_pimpl< char > date_pimpl; + + typedef ::xsd::cxx::parser::non_validating::date_time_pskel< char > date_time_pskel; + typedef ::xsd::cxx::parser::non_validating::date_time_pimpl< char > date_time_pimpl; + + typedef ::xsd::cxx::parser::non_validating::duration_pskel< char > duration_pskel; + typedef ::xsd::cxx::parser::non_validating::duration_pimpl< char > duration_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gday_pskel< char > gday_pskel; + typedef ::xsd::cxx::parser::non_validating::gday_pimpl< char > gday_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_pskel< char > gmonth_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_pimpl< char > gmonth_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pskel< char > gmonth_day_pskel; + typedef ::xsd::cxx::parser::non_validating::gmonth_day_pimpl< char > gmonth_day_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_pskel< char > gyear_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_pimpl< char > gyear_pimpl; + + typedef ::xsd::cxx::parser::non_validating::gyear_month_pskel< char > gyear_month_pskel; + typedef ::xsd::cxx::parser::non_validating::gyear_month_pimpl< char > gyear_month_pimpl; + + typedef ::xsd::cxx::parser::non_validating::time_pskel< char > time_pskel; + typedef ::xsd::cxx::parser::non_validating::time_pimpl< char > time_pimpl; + + // Exceptions. See libxsd/xsd/cxx/parser/exceptions.hxx for details. + // + typedef ::xsd::cxx::parser::exception< char > exception; + + // Parsing diagnostics. + // + typedef ::xsd::cxx::parser::severity severity; + typedef ::xsd::cxx::parser::error< char > error; + typedef ::xsd::cxx::parser::diagnostics< char > diagnostics; + typedef ::xsd::cxx::parser::parsing< char > parsing; + + // Error handler. See libxsd/xsd/cxx/xml/error-handler.hxx for details. + // + typedef ::xsd::cxx::xml::error_handler< char > error_handler; + + // Read-only string. + // + typedef ::xsd::cxx::ro_string< char > ro_string; + + // Parsing flags. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::flags flags; + + // Parsing properties. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::properties< char > properties; + + // Document type. See libxsd/xsd/cxx/parser/xerces/elements.hxx + // for details. + // + typedef ::xsd::cxx::parser::xerces::document< char > document; +} + +#include "eppcom-1.0-pskel.hxx" + +#include "epp-1.0-pskel.hxx" + +#include "domain-1.0-pskel.hxx" + +#include "kv-1.0-pskel.hxx" + +namespace registrant_1_0 +{ + class commandType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + registrantTransfer (); + + virtual void + clTRID (); + + virtual void + post_commandType (); + + // Parser construction API. + // + void + registrantTransfer_parser (::registrant_1_0::registrantTransferType_pskel&); + + void + clTRID_parser (::epp_1_0::trIDStringType_pskel&); + + void + parsers (::registrant_1_0::registrantTransferType_pskel& /* registrantTransfer */, + ::epp_1_0::trIDStringType_pskel& /* clTRID */); + + // Constructor. + // + commandType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::registrant_1_0::registrantTransferType_pskel* registrantTransfer_parser_; + ::epp_1_0::trIDStringType_pskel* clTRID_parser_; + }; + + class registrantTransferType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + curExpDate (const ::xml_schema::date&); + + virtual void + period (); + + virtual void + kvlist (); + + virtual void + explanation (const ::std::string&); + + virtual void + post_registrantTransferType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + curExpDate_parser (::xml_schema::date_pskel&); + + void + period_parser (::domain_1_0::periodType_pskel&); + + void + kvlist_parser (::kv_1_0::listType_pskel&); + + void + explanation_parser (::xml_schema::normalized_string_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::xml_schema::date_pskel& /* curExpDate */, + ::domain_1_0::periodType_pskel& /* period */, + ::kv_1_0::listType_pskel& /* kvlist */, + ::xml_schema::normalized_string_pskel& /* explanation */); + + // Constructor. + // + registrantTransferType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::xml_schema::date_pskel* curExpDate_parser_; + ::domain_1_0::periodType_pskel* period_parser_; + ::kv_1_0::listType_pskel* kvlist_parser_; + ::xml_schema::normalized_string_pskel* explanation_parser_; + }; + + class rtrnDataType_pskel: public ::xml_schema::complex_content + { + public: + // Parser callbacks. Override them in your implementation. + // + // virtual void + // pre (); + + virtual void + name (); + + virtual void + exDate (const ::xml_schema::date_time&); + + virtual void + post_rtrnDataType (); + + // Parser construction API. + // + void + name_parser (::eppcom_1_0::labelType_pskel&); + + void + exDate_parser (::xml_schema::date_time_pskel&); + + void + parsers (::eppcom_1_0::labelType_pskel& /* name */, + ::xml_schema::date_time_pskel& /* exDate */); + + // Constructor. + // + rtrnDataType_pskel (); + + // Implementation. + // + protected: + virtual bool + _start_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&, + const ::xml_schema::ro_string*); + + virtual bool + _end_element_impl (const ::xml_schema::ro_string&, + const ::xml_schema::ro_string&); + + protected: + ::eppcom_1_0::labelType_pskel* name_parser_; + ::xml_schema::date_time_pskel* exDate_parser_; + }; +} + +#include + +// Begin epilogue. +// +// +// End epilogue. + +#endif // CXX______RESOURCES_REGISTRANT_1_0_PSKEL_HXX