Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

it_bus_config/xml_format_wsdl_body.h

00001 #ifndef _IT_BUS_CONFIG_XML_FORMAT_WSDL_BODY_H_
00002 #define _IT_BUS_CONFIG_XML_FORMAT_WSDL_BODY_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_wsdl/wsdl_port.h>
00008 
00009 #if !defined(IT_SOAP_API)
00010 #if defined(IT_SOAP_API_EXPORT)
00011 #define IT_SOAP_API    IT_DECLSPEC_EXPORT
00012 #else
00013 #define IT_SOAP_API    IT_DECLSPEC_IMPORT
00014 #endif
00015 #endif
00016 
00017 namespace IT_Bus
00018 {
00024     class IT_SOAP_API XMLFormatWSDLBody :
00025         public IT_WSDL::WSDLExtensionElement,
00026         public XMLNode
00027     {
00028       public:
00029 
00030         XMLFormatWSDLBody(
00031             IT_WSDL::WSDLExtensibleNode & parent
00032         );
00033 
00034         virtual ~XMLFormatWSDLBody();
00035 
00036 
00037         bool
00038         parse(
00039             const XMLIterator & element_iterator,
00040             const IT_Bus::XMLNode & element,
00041             IT_WSDL::WSDLErrorHandler & error_handler
00042         );
00043 
00044         virtual void
00045         read(
00046             const IT_Bus::QName&       /*element_name*/,
00047             IT_Bus::ComplexTypeReader& /*reader*/
00048         ) throw((IT_Bus::DeserializationException))
00049         {
00050             throw IT_Bus::DeserializationException("Not Supported");
00051         }
00052 
00053         virtual void
00054         write(
00055             const IT_Bus::QName&       /*element_name*/,
00056             IT_Bus::ComplexTypeWriter& /*writer*/
00057         ) const throw((IT_Bus::SerializationException))
00058         {
00059             // complete
00060         }
00061 
00067         const QName &
00068         get_root_node_name() const;
00069 
00073         virtual void
00074         write_attributes(
00075             IT_Bus::XMLOutputStream & stream
00076         ) const throw((IOException));
00077 
00083         virtual const IT_Bus::QName &
00084         get_element_name() const;
00085 
00092         virtual const IT_Bus::String &
00093         get_target_namespace() const;
00094 
00095         virtual
00096         IT_WSDL::WSDLExtensionFactory &
00097         get_extension_factory();
00098 
00099         virtual void
00100         write(
00101             IT_Bus::XMLOutputStream & stream
00102         ) const throw((IOException));
00103 
00109         virtual 
00110         IT_Bus::AnyType&
00111         copy(
00112             const IT_Bus::AnyType& /*rhs*/
00113         )
00114         {
00115             return *this;
00116         }
00117 
00118       protected:
00119 
00120         IT_WSDL::WSDLExtensibleNode & m_wsdl_extensible_node;
00121 
00122       private:
00123 
00124         QName m_root_name;
00125 
00126         XMLFormatWSDLBody &
00127         operator = (
00128             const XMLFormatWSDLBody& rhs
00129         );
00130 
00131         XMLFormatWSDLBody (
00132             const XMLFormatWSDLBody& rhs
00133         );
00134     };
00135 }
00136 
00137 #endif  

Generated on Wed Mar 22 12:23:14 2006 for Artix by  doxygen 1.3.9.1