IT_Bus::TuxedoWSDLExtensionElement Class Reference

#include <it_bus_config/tuxedo_wsdl_extension_element.h>

Inheritance diagram for IT_Bus::TuxedoWSDLExtensionElement:

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

Base class for Tuxedo transport related WSDL extension elements.

Definition at line 22 of file tuxedo_wsdl_extension_element.h.

Public Member Functions

virtual const IT_Bus::QNameget_element_name () const
 Returns the QName of the extension element.
virtual const IT_Bus::Stringget_target_namespace () const
 Returns the targetNamespace of the WSDL file containing an element represented by this extension element.
virtual void write (IT_Bus::XMLOutputStream &stream) const throw ((IT_Bus::IOException))
 Write the contents of the node.
virtual void write (const IT_Bus::QName &, IT_Bus::ComplexTypeWriter &) const throw ((IT_Bus::SerializationException))
 Write the content of the instance.
virtual IT_Bus::AnyTypecopy (const IT_Bus::AnyType &)
 Return a reference to this instance.


Member Function Documentation

virtual const IT_Bus::QName& IT_Bus::TuxedoWSDLExtensionElement::get_element_name (  )  const [virtual]

Returns the QName of the extension element.

Returns:
QName of the element. For example, for the extension element corresponding to the Tuxedo <service> element within the WSDL file service <port> element, this method returns a QName with the parts:
 Prefix:        tuxedo
   Where tuxedo represents the actual prefix
   http://schemas.iona.com/transports/tuxedo
 Local part:    server
 Namespace URL: xmlns:tuxedo="http://schemas.iona.com/transports/tuxedo"
 

Implements IT_WSDL::WSDLNode.

virtual const IT_Bus::String& IT_Bus::TuxedoWSDLExtensionElement::get_target_namespace (  )  const [virtual]

Returns the targetNamespace of the WSDL file containing an element represented by this extension element.

Returns:
String containing the WSDL file targetNamespace.

Reimplemented from IT_Bus::XMLNode.

virtual void IT_Bus::TuxedoWSDLExtensionElement::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::TuxedoWSDLExtensionElement::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 74 of file tuxedo_wsdl_extension_element.h.

virtual IT_Bus::AnyType& IT_Bus::TuxedoWSDLExtensionElement::copy ( const IT_Bus::AnyType  )  [inline, virtual]

Return a reference to this instance.

Returns:
A reference to this instance.

Reimplemented from IT_WSDL::WSDLExtensionElement.

Definition at line 89 of file tuxedo_wsdl_extension_element.h.


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