00001 #ifndef _IT_BUS_CONFIG_CORBA_WSDL_ADDRESS_H_
00002 #define _IT_BUS_CONFIG_CORBA_WSDL_ADDRESS_H_
00003
00004
00005
00006
00007 #include <it_wsdl/wsdl_port.h>
00008 #include <it_bus_config/corba_wsdl_extension_element.h>
00009 #include <it_bus/sequence_complex_type.h>
00010 #include "iiop_address.h"
00011
00012 namespace IT_WS_ORB
00013 {
00018 class IT_WS_ORB_API CORBAWSDLAddress :
00019 public IT_Bus::IIOPWSDLAddress,
00020 public CORBAWSDLExtensionElement,
00021 public IT_Bus::SequenceComplexType
00022 {
00023 public:
00024
00025 CORBAWSDLAddress(
00026 IT_WSDL::WSDLExtensibleNode * parent
00027 );
00028
00029 CORBAWSDLAddress();
00030
00031 virtual ~CORBAWSDLAddress();
00032
00041 virtual const IT_Bus::String&
00042 get_location() const;
00043
00049 virtual void
00050 set_location(
00051 const IT_Bus::String& location
00052 );
00053
00067 IT_WSDL::WSDLExtensionElement*
00068 clone() const;
00069
00070 bool
00071 parse(
00072 const IT_Bus::XMLIterator & element_iterator,
00073 const IT_Bus::XMLNode & element,
00074 IT_WSDL::WSDLErrorHandler & error_handler
00075 );
00076
00077 virtual bool
00078 export_to_client() const;
00079
00083 virtual void
00084 write_attributes(
00085 IT_Bus::XMLOutputStream & stream
00086 ) const throw((IT_Bus::IOException));
00087
00094 virtual void
00095 write(
00096 IT_Bus::XMLOutputStream & stream
00097 ) const throw((IT_Bus::IOException));
00098
00105 virtual void
00106 read(
00107 const IT_Bus::QName& element_name,
00108 IT_Bus::ComplexTypeReader & reader
00109 ) throw((IT_Bus::DeserializationException));
00110
00117 virtual void
00118 write(
00119 const IT_Bus::QName& element_name,
00120 IT_Bus::ComplexTypeWriter & writer
00121 ) const throw((IT_Bus::SerializationException));
00122
00123
00124
00125
00126
00127 virtual void
00128 read_contents(
00129 IT_Bus::ComplexTypeReader & os
00130 ) throw((IT_Bus::DeserializationException));
00131
00132 virtual void
00133 write_contents(
00134 IT_Bus::ComplexTypeWriter & os
00135 ) const throw((IT_Bus::SerializationException));
00136
00137 virtual void
00138 write_attributes(
00139 IT_Bus::ComplexTypeWriter & writer
00140 ) const throw((IT_Bus::SerializationException));
00141
00142 virtual void
00143 read_attributes(
00144 IT_Bus::ComplexTypeReader & reader
00145 ) throw((IT_Bus::DeserializationException));
00146
00157 virtual const IT_Bus::QName &
00158 get_type() const;
00159
00169 virtual
00170 IT_Bus::AnyType&
00171 copy(
00172 const IT_Bus::AnyType & rhs
00173 );
00174
00178 CORBAWSDLAddress& operator=(
00179 const CORBAWSDLAddress & rhs
00180 );
00181
00190 static const CORBAWSDLAddress*
00191 get_from_port(
00192 const IT_WSDL::WSDLPort& wsdl_port
00193 );
00194
00195 private:
00196
00197 CORBAWSDLAddress (
00198 const CORBAWSDLAddress& rhs
00199 );
00200
00201 IT_Bus::String m_location;
00202 };
00203 }
00204
00205 #endif