Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ax::XMLType Class Template Reference

Declaration of the inteface XMLTypes to obtain xml-schema types as Qualified name. More...

#include <XMLType.hpp>

List of all members.

Public Methods

 XMLType ()
virtual ~XMLType ()=0

Static Public Methods

QNameGetType ()
 The strategy for returning schema type as Qualified name for the specified type T. More...


Detailed Description

template<typename T> class ax::XMLType

Declaration of the inteface XMLTypes to obtain xml-schema types as Qualified name.

This is the declaration of the XMLTypes which need to be implemented to manage serialization/deserialization of given types, when encoding and decoding data types from/to SOAP types (xml).

If XMLType<T> is undefined for user defined classes then user have to implement it. Look in definition in XMLType.cpp for examples. Where QName handle the data type as SOAP schema QName as: xsi:int, xsi:string and so on. The user is responsible for definition of this interface for his/her class (data type) to manage correct schema definition for their type.

Eg: For UsrClass, the schema type could be usr_class so the QName is xsi:usr_class, which should be returned by implementing this interface

Note that this is inlcuded in the namespace ax

Definition at line 100 of file XMLType.hpp.


Constructor & Destructor Documentation

template<typename T>
ax::XMLType<T>::XMLType<T> ( )
 

template<typename T>
ax::XMLType<T>::~XMLType<T> ( ) [pure virtual]
 


Member Function Documentation

template<>
QName * ax::XMLType::GetType ( ) [static]
 

The strategy for returning schema type as Qualified name for the specified type T.

Definition at line 73 of file XMLType.cpp.

Referenced by Call::AddParameter().


The documentation for this class was generated from the following files: Axis C++ Client Lib - User's Guide

Copyright © 2001 SL_OpenSource XML Project. All Rights Reserved