#include <it_bus_pdk/any_type_factory.h>
Inheritance diagram for IT_Bus::AnyTypeFactory:
Definition at line 30 of file any_type_factory.h.
Public Member Functions | |
virtual AnyType * | create_from_type (const QName &type_name) const =0 throw ((UnknownTypeException)) |
Create an instance of a schema type. | |
virtual AnyType * | create_from_element (const QName &element_name) const =0 throw ((UnknownTypeException)) |
Create an instance of an element's type. | |
virtual UserFaultException * | create_user_fault (const QName &message) const =0 throw ((UnknownTypeException)) |
Create a fault exception. | |
virtual AnyType * | create_from_part (const IT_WSDL::WSDLPart &part) const =0 throw ((UnknownTypeException)) |
Create an AnyType corresponding to a WSDL part. | |
virtual AnyType * | create_from_model (const IT_XMLSCHEMA_Typenodes::SchemaType *schema_type) const =0 throw ((UnknownTypeException)) |
Create an AnyType from a SchemaType. |
virtual AnyType* IT_Bus::AnyTypeFactory::create_from_type | ( | const QName & | type_name | ) | const throw ((UnknownTypeException)) [pure virtual] |
Create an instance of a schema type.
type_name | schema type name. |
UnknownTypeException | type lookup failed. |
virtual AnyType* IT_Bus::AnyTypeFactory::create_from_element | ( | const QName & | element_name | ) | const throw ((UnknownTypeException)) [pure virtual] |
Create an instance of an element's type.
element_name | schema element name. |
UnknownTypeException | element lookup failed. |
virtual UserFaultException* IT_Bus::AnyTypeFactory::create_user_fault | ( | const QName & | message | ) | const throw ((UnknownTypeException)) [pure virtual] |
Create a fault exception.
To throw the fault exception without leaking memory, use UserFaultHolder.
UserFaultException* fault = AnyTypeFactory::instance().get_user_fault(my_message); throw UserFaultHolder(fault);
message | name the fault message. |
UnknownTypeException | message lookup failed. |