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