Inheritance diagram for IT_Bus::MimeWSDLContent:
Definition at line 21 of file mime_wsdl_content.h.
Public Member Functions | |
void | write (const IT_Bus::QName &, IT_Bus::ComplexTypeWriter &) const throw ((IT_Bus::SerializationException)) |
Write the content of the instance. | |
void | write (IT_Bus::XMLOutputStream &stream) const throw ((IT_Bus::IOException)) |
Write the contents of the node. | |
void | write_attributes (IT_Bus::XMLOutputStream &stream) const throw ((IOException)) |
Writes the attributes for the node to the stream specified. | |
const IT_Bus::QName & | get_element_name () const |
Returns the QName for the element. | |
const IT_Bus::QName & | get_type () const |
Return the QName of the element. | |
Protected Attributes | |
IT_WSDL::WSDLExtensibleNode * | m_wsdl_extensible_node |
Private Attributes | |
String | m_mime_type |
String | m_mime_part |
void IT_Bus::MimeWSDLContent::write | ( | const IT_Bus::QName & | , | |
IT_Bus::ComplexTypeWriter & | ||||
) | const throw ((IT_Bus::SerializationException)) [virtual] |
Write the content of the instance.
Derived subclasses implement this method.
Reimplemented from IT_WSDL::WSDLExtensionElement.
void IT_Bus::MimeWSDLContent::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();
IT_Bus::XMLOutputStream | to which to write the node contents. |
Reimplemented from IT_WSDL::WSDLExtensionElement.
const IT_Bus::QName& IT_Bus::MimeWSDLContent::get_element_name | ( | ) | const [virtual] |
const IT_Bus::QName& IT_Bus::MimeWSDLContent::get_type | ( | ) | const [virtual] |
Return the QName of the element.
Reimplemented from IT_WSDL::WSDLExtensionElement.