00001 // Copyright (C) 2009-2011 by Konrad Rosenbaum <konrad@silmor.de> 00002 // protected under the GNU GPL version 3 or at your option any newer. 00003 // See COPYING.GPL file that comes with this distribution. 00004 // 00005 00006 #ifndef WOC_SOAPOUT_H 00007 #define WOC_SOAPOUT_H 00008 00009 #include "schemaout.h" 00010 00012 class WocSoapOut:public WocOutput 00013 { 00014 public: 00016 WocSoapOut(const QDomElement&); 00017 00018 protected: 00020 virtual void finalize(); 00022 virtual void newClass(const WocClass&); 00024 virtual void newTable(const WocTable&); 00026 virtual void newTransaction(const WocTransaction&); 00027 private: 00028 QString m_name,m_dir; 00029 QDomDocument m_doc; 00030 QDomElement m_root,m_bind,m_port; 00031 WocSchemaOut*m_schema; 00032 WocProcessor::AuthMode m_auth; 00033 00035 void schemaImport(); 00037 void headerMsg(); 00039 void mainElems(); 00041 void serviceTag(); 00042 00044 QString authMode2str(); 00045 }; 00046 00047 #endif