IT_Bus::MimeWSDLContent Class Reference

Inheritance diagram for IT_Bus::MimeWSDLContent:

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

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::QNameget_element_name () const
 Returns the QName for the element.
const IT_Bus::QNameget_type () const
 Return the QName of the element.

Protected Attributes

IT_WSDL::WSDLExtensibleNodem_wsdl_extensible_node

Private Attributes

String m_mime_type
String m_mime_part


Member Function Documentation

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();
 

Parameters:
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]

Returns the QName for the element.

Returns:
QName

Implements IT_WSDL::WSDLNode.

const IT_Bus::QName& IT_Bus::MimeWSDLContent::get_type (  )  const [virtual]

Return the QName of the element.

Returns:
IT_Bus::QName::EMPTY_QNAME

Reimplemented from IT_WSDL::WSDLExtensionElement.


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