IT_WSDL::WSDLNode Class Reference

#include <it_wsdl/wsdl_node.h>

Inheritance diagram for IT_WSDL::WSDLNode:

IT_WSDL::WSDLExtensibleNode IT_WSDL::WSDLExtensionElement IT_WSDL::WSDLBinding IT_WSDL::WSDLBindingFault IT_WSDL::WSDLBindingInput IT_WSDL::WSDLBindingOperation IT_WSDL::WSDLBindingOutput IT_WSDL::WSDLDefinitions IT_WSDL::WSDLFault IT_WSDL::WSDLInput IT_WSDL::WSDLMessage IT_WSDL::WSDLOperation IT_WSDL::WSDLOutput IT_WSDL::WSDLPart IT_WSDL::WSDLPort IT_WSDL::WSDLPortType IT_WSDL::WSDLService IT_WSDL::WSDLTypes IT_Bus::MimeWSDLContent IT_Bus::MimeWSDLMultipartRelated IT_Bus::MimeWSDLPart IT_Bus::Soap12WSDLExtensionElement IT_Bus::SoapWSDLExtensionElement IT_Bus::TibrvWSDLExtensionElement IT_Bus::TunnelWSDLExtensionElement IT_Bus::TuxedoWSDLExtensionElement IT_Bus::XMLFormatWSDLBinding IT_Bus::XMLFormatWSDLBody IT_HTTP::HttpWSDLExtensionElement IT_MQ::MQWSDLExtensionElement IT_WS_ORB::CORBAWSDLExtensionElement List of all members.

Detailed Description

Base class for nodes representing WSDL file elements.

Three classes inherit from WSDLNode: WSDLExtensibleNode, WSDLExtensionElement, and WSDLNodeImpl. Nodes representing WSDL file elements described in the WSDL schema definition are derived from WSDLExtensibleNode. WSDL file elements representing extensions to the WSDL schema are derived from WSDLExtensionElement.

Definition at line 96 of file wsdl_node.h.

Public Member Functions

virtual NodeType get_node_type ()=0
 Returns the NodeType for the node.
virtual const IT_Bus::QNameget_element_name () const=0
 Returns the QName for the element.
virtual const IT_Bus::Stringget_target_namespace () const=0
 Returns the target namespace of the element.
virtual void write (IT_Bus::XMLOutputStream &stream) const =0 throw ((IT_Bus::IOException))
 Write the contents of the node.

Protected Member Functions

 WSDLNode ()


Member Function Documentation

virtual NodeType IT_WSDL::WSDLNode::get_node_type (  )  [pure virtual]

Returns the NodeType for the node.

Returns:
NodeType

Implemented in IT_WSDL::WSDLExtensionElement.

virtual const IT_Bus::QName& IT_WSDL::WSDLNode::get_element_name (  )  const [pure virtual]

Returns the QName for the element.

Returns:
QName

Implemented in IT_WS_ORB::CORBAWSDLExtensionElement, IT_HTTP::HttpWSDLExtensionElement, IT_Bus::MimeWSDLContent, IT_Bus::MimeWSDLMultipartRelated, IT_Bus::MimeWSDLPart, IT_MQ::MQWSDLExtensionElement, IT_Bus::Soap12WSDLExtensionElement, IT_Bus::SoapWSDLExtensionElement, IT_Bus::TibrvWSDLExtensionElement, IT_Bus::TunnelWSDLExtensionElement, IT_Bus::TuxedoWSDLExtensionElement, IT_Bus::XMLFormatWSDLBinding, and IT_Bus::XMLFormatWSDLBody.

virtual const IT_Bus::String& IT_WSDL::WSDLNode::get_target_namespace (  )  const [pure virtual]

Returns the target namespace of the element.

Returns:
String containing the target namespace.

Implemented in IT_WS_ORB::CORBAWSDLExtensionElement, IT_HTTP::HttpWSDLExtensionElement, IT_Bus::MimeWSDLMultipartRelated, IT_MQ::MQWSDLExtensionElement, IT_Bus::Soap12WSDLExtensionElement, IT_Bus::SoapWSDLExtensionElement, IT_Bus::TibrvWSDLExtensionElement, IT_Bus::TunnelWSDLExtensionElement, IT_Bus::TuxedoWSDLExtensionElement, IT_Bus::XMLFormatWSDLBinding, and IT_Bus::XMLFormatWSDLBody.

virtual void IT_WSDL::WSDLNode::write ( IT_Bus::XMLOutputStream stream  )  const throw ((IT_Bus::IOException)) [pure 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.

Implemented in IT_WS_ORB::CORBAWSDLAddress, IT_WS_ORB::CORBAWSDLExtensionElement, IT_HTTP::HTTPClientConfiguration, IT_HTTP::HTTPWSDLAddress, IT_HTTP::HTTPServerConfiguration, IT_Bus::MimeWSDLContent, IT_Bus::MimeWSDLMultipartRelated, IT_Bus::MimeWSDLPart, IT_MQ::MQWSDLExtensionElement, IT_MQ::MQConfiguration, IT_Bus::Soap12WSDLAddress, IT_Bus::Soap12WSDLBinding, IT_Bus::Soap12WSDLBody, IT_Bus::Soap12WSDLFault, IT_Bus::Soap12WSDLHeader, IT_Bus::Soap12WSDLHeaderFault, IT_Bus::Soap12WSDLOperation, IT_Bus::SoapWSDLAddress, IT_Bus::SoapWSDLBinding, IT_Bus::SoapWSDLBody, IT_Bus::SoapWSDLFault, IT_Bus::SoapWSDLHeader, IT_Bus::SoapWSDLOperation, IT_Bus::TunnelWSDLAddress, IT_Bus::TunnelWSDLPayload, IT_Bus::TunnelWSDLPolicy, IT_Bus::TuxedoWSDLExtensionElement, IT_Bus::XMLFormatWSDLBinding, IT_Bus::XMLFormatWSDLBody, and IT_WSDL::WSDLExtensionElement.


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