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

SerializerFactory Class Reference

(De)serialization interface for user defined types. More...

#include <SerializerFactory.hpp>

Inheritance diagram for SerializerFactory::

SOAPEncoding List of all members.

Public Methods

 SerializerFactory ()
virtual ~SerializerFactory ()
virtual const std::string Serialize (const void *val)=0
 Serialize/converts a C++ object to an XML representation. More...

virtual void* Deserialize (std::string &val)=0
 Deserialize/converts an XML representation to a C++ object. More...


Detailed Description

(De)serialization interface for user defined types.

This is the abstract class/interface that should be implemented by the user for (de)serialization of user defined types. A SerializerFactory is registered with a Type Mapping instance as part of the TypeMappingRegistry.

Hope this will do the job?? but further discussions are required.

Definition at line 84 of file SerializerFactory.hpp.


Constructor & Destructor Documentation

SerializerFactory::SerializerFactory ( ) [inline]
 

Definition at line 87 of file SerializerFactory.hpp.

SerializerFactory::~SerializerFactory ( ) [inline, virtual]
 

Definition at line 88 of file SerializerFactory.hpp.


Member Function Documentation

void * SerializerFactory::Deserialize ( std::string & val ) [pure virtual]
 

Deserialize/converts an XML representation to a C++ object.

Deserialize/converts an XML representation to a C++ object using a specific XML processing mechanism and based on the specified type mapping and encoding style.

Reimplemented in SOAPEncoding.

const std::string SerializerFactory::Serialize ( const void * val ) [pure virtual]
 

Serialize/converts a C++ object to an XML representation.

Serialize/converts a C++ object to an XML representation using a specific XML processing mechanism and based on the specified type mapping and encoding style.

Reimplemented in SOAPEncoding.


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

Copyright © 2001 SL_OpenSource XML Project. All Rights Reserved