IT_Bus::TunnelWSDLPayload Class Reference

#include <it_bus_config/tunnel_wsdl_payload.h>

Inheritance diagram for IT_Bus::TunnelWSDLPayload:

IT_Bus::TunnelWSDLExtensionElement IT_WSDL::WSDLExtensionElement IT_Bus::XMLNode IT_WSDL::WSDLNode IT_Bus::AnyType IT_Bus::PrefixResolver IT_Bus::XMLSaxHandler IT_Bus::ImplementationDetails List of all members.

Detailed Description

Class representing the <iiop:payload> child element within the WSDL file service <port> element.

Definition at line 15 of file tunnel_wsdl_payload.h.

Public Member Functions

const Stringget_payload_type () const
 Get the value of the payload attribute.
virtual void write (const IT_Bus::QName &, IT_Bus::ComplexTypeWriter &) const throw ((IT_Bus::SerializationException))
 Write the content of the instance.
virtual void write (IT_Bus::XMLOutputStream &stream) const throw ((IT_Bus::IOException))
 Write the contents of the node.
virtual void write_attributes (IT_Bus::XMLOutputStream &stream) const throw ((IT_Bus::IOException))
 Writes the attributes for the XMLNode into the stream specified.
virtual IT_Bus::AnyTypeoperator= (const IT_Bus::AnyType &)

Static Public Attributes

static const String ELEMENT_NAME
static const String TYPE_ATTRIBUTE_NAME
static const String SEGMENT_ATTRIBUTE_NAME
static const String OCTETS_TYPE
static const String STRING_TYPE
static const String IMSRAW_TYPE
static const String IMSRAW_BINARY_TYPE
static const String CICSRAW_TYPE
static const String CICSRAW_BINARY_TYPE

Private Attributes

Int m_max_segment_size
String m_type
String m_target_namespace


Member Function Documentation

const String& IT_Bus::TunnelWSDLPayload::get_payload_type (  )  const

Get the value of the payload attribute.

Returns:
String containing the value of the payload attribute.
Possible values: octets or string.

virtual void IT_Bus::TunnelWSDLPayload::write ( const IT_Bus::QName ,
IT_Bus::ComplexTypeWriter  
) const throw ((IT_Bus::SerializationException)) [inline, virtual]

Write the content of the instance.

Derived subclasses implement this method.

Reimplemented from IT_WSDL::WSDLExtensionElement.

Definition at line 73 of file tunnel_wsdl_payload.h.

virtual void IT_Bus::TunnelWSDLPayload::write ( IT_Bus::XMLOutputStream stream  )  const throw ((IT_Bus::IOException)) [virtual]

Write the contents of the node.

This method is typically invoked on an instance of the IT_WSDL::WSDLDefinitions class to write a copy of the in-memory representation of the WSDL model to a file that will be accessible to other applications. For example,

 // The WSDL model may be obtained from the Service
 IT_WSDL::WSDLDefinitions &definitions = service.get_definitions();

 // Now initialize an XMLOutputStream and invoke the write()
 // method on the WSDLDefinitions object.
 IT_Bus::FileOutputStream stream("<path to, and name of, the output file>");
 IT_Bus::XMLOutputStream xml_stream(stream, true);
 definitions.write(xml_stream);
 stream.close();
 

Parameters:
IT_Bus::XMLOutputStream to which to write the node contents.

Reimplemented from IT_WSDL::WSDLExtensionElement.

virtual void IT_Bus::TunnelWSDLPayload::write_attributes ( IT_Bus::XMLOutputStream stream  )  const throw ((IT_Bus::IOException)) [virtual]

Writes the attributes for the XMLNode into the stream specified.

Parameters:
XMLOutputStream& The underlying stream to encode into. XMLNode tree (only supported by XMLStreamNode).

Reimplemented from IT_Bus::XMLNode.


Generated on Tue Mar 20 15:28:11 2007 for Artix by  doxygen 1.5.1-p1