it_bus_config/corba_wsdl_extension_element.h

00001 #ifndef _IT_BUS_CONFIG_CORBA_WSDL_EXTENSION_ELEMENT_H_
00002 #define _IT_BUS_CONFIG_CORBA_WSDL_EXTENSION_ELEMENT_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus_pdk/xml_node.h>
00008 #include <it_wsdl/wsdl_extension_element.h>
00009 
00010 #if !defined(IT_WS_ORB_API)
00011 #if defined(IT_WS_ORB_API_EXPORT)
00012 #define IT_WS_ORB_API    IT_DECLSPEC_EXPORT
00013 #else
00014 #define IT_WS_ORB_API    IT_DECLSPEC_IMPORT
00015 #endif
00016 #endif
00017 
00018 namespace IT_WS_ORB
00019 {
00020     class IT_WS_ORB_API CORBAWSDLExtensionElement : 
00021         public IT_WSDL::WSDLExtensionElement,
00022         public IT_Bus::XMLNode
00023     {
00024       public:
00025         
00029         CORBAWSDLExtensionElement(
00030             IT_WSDL::WSDLExtensibleNode* the_node
00031         );
00032         
00033         virtual
00034         ~CORBAWSDLExtensionElement();
00035         
00054         virtual const IT_Bus::QName &
00055         get_element_name() const;
00056         
00068         virtual const IT_Bus::String &
00069         get_target_namespace() const;
00070         
00071         virtual
00072         IT_WSDL::WSDLExtensionFactory &
00073         get_extension_factory();
00074         
00080         virtual void
00081         write(
00082             IT_Bus::XMLOutputStream & stream
00083         ) const throw((IT_Bus::IOException));
00084         
00090         virtual void
00091         read(
00092             const IT_Bus::QName&       /*element_name*/,
00093             IT_Bus::ComplexTypeReader& /*reader*/
00094         ) throw((IT_Bus::DeserializationException))
00095         {
00096             throw IT_Bus::DeserializationException("Not Supported");
00097         }
00098         
00102         virtual void
00103         write(
00104             const IT_Bus::QName&       /*element_name*/,
00105             IT_Bus::ComplexTypeWriter& /*writer*/
00106         ) const throw((IT_Bus::SerializationException))
00107         {
00108             // complete
00109         }
00110         
00117         virtual 
00118         IT_Bus::AnyType&
00119         copy(
00120             const IT_Bus::AnyType & /*rhs*/
00121         )
00122         {
00123             return *this;
00124         }
00125         
00126       protected:
00127         
00128         IT_WSDL::WSDLExtensibleNode* m_wsdl_extensible_node;
00129         
00130       private:
00131         
00132         CORBAWSDLExtensionElement & 
00133         operator = (
00134             const CORBAWSDLExtensionElement& rhs
00135         );
00136         
00137         CORBAWSDLExtensionElement(
00138             const CORBAWSDLExtensionElement& rhs
00139         );
00140     };
00141 }
00142 
00143 #endif  

Generated on Tue Mar 20 15:27:44 2007 for Artix by  doxygen 1.5.1-p1