#include <it_wsdl/wsdl_node.h>
Inheritance diagram for IT_WSDL::WSDLNode:
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::QName & | get_element_name () const=0 |
Returns the QName for the element. | |
virtual const IT_Bus::String & | get_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 () |
virtual NodeType IT_WSDL::WSDLNode::get_node_type | ( | ) | [pure virtual] |
virtual const IT_Bus::QName& IT_WSDL::WSDLNode::get_element_name | ( | ) | const [pure virtual] |
Returns the QName for the element.
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.
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();
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.