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

XMLDeSerializer Class Reference

SOAP Envelop deserialiser. More...

#include <XMLDeSerializer.hpp>

List of all members.

Public Methods

 XMLDeSerializer (const std::string &p_Msg)
 Create deserializer by parsing the SOAP Envelop passed. More...

 ~XMLDeSerializer ()
void DeSerialize (MessageElement &p_Elm)
 Deserialize a given SOAP Message Element. More...

void SetContext (DOM_Node &p_CurNode)
 Sets the current branch that the deserilisation involve. More...

void RegisterPrefixForURI (const std::string &prefix, const std::string &uri)
 register prefixes for given URI. More...

std::string QNameToStr (ax::QName &qName)
 Convert QName to a string form consisting of prefix:localpart. More...

ax::QName GetQNameFromStr (std::string strQName)
 Convert prefix:localpart to a QName. More...

void SetTypeMappingRegistry (TypeMappingRegistry *p_TypMapper)
 Sets Type Mapping Registry for type mapping of given encoding. More...

TypeMappingRegistryGetTypeMapper ()
 Get a handle to the current type mapping registry. More...


Private Attributes

NsStack m_nsStk
 Namespace stack for namespace mapping for the current context. More...

DOM_Node m_pCurNode
 Current DOM Node of the branch the deserilization apply. More...

DOMParser* parser
 DOM parser to parse the SOAP envelop. More...

ParseErrorHandlererrReporter
 DOM parser error handler. More...

TypeMappingRegistrym_pTypeMapper
 Type mapping registry to obtain deserilized objects. More...


Detailed Description

SOAP Envelop deserialiser.

Delare and define SOAP Envelop Deserializer for deserialization of XML SOAP envelop; This uses XML DOM parser to parse the SOAP Envelop and build out a DOM document which contain each components of the SOAP Envelop such as SOAP Header, body, RPC components etc.

Definition at line 96 of file XMLDeSerializer.hpp.


Constructor & Destructor Documentation

XMLDeSerializer::XMLDeSerializer ( const std::string & p_Msg )
 

Create deserializer by parsing the SOAP Envelop passed.

Definition at line 79 of file XMLDeSerializer.cpp.

XMLDeSerializer::~XMLDeSerializer ( )
 

Definition at line 144 of file XMLDeSerializer.cpp.


Member Function Documentation

void XMLDeSerializer::DeSerialize ( MessageElement & p_Elm )
 

Deserialize a given SOAP Message Element.

Definition at line 151 of file XMLDeSerializer.cpp.

Referenced by SOAPMessage::DeSerialize(), SOAPFaultElement::DeSerialize(), SOAPBodyElement::DeSerialize(), and RPCElement::DeSerialize().

ax::QName XMLDeSerializer::GetQNameFromStr ( std::string strQName )
 

Convert prefix:localpart to a QName.

Definition at line 173 of file XMLDeSerializer.cpp.

Referenced by RPCParam::DeSerialize().

TypeMappingRegistry * XMLDeSerializer::GetTypeMapper ( ) [inline]
 

Get a handle to the current type mapping registry.

Definition at line 122 of file XMLDeSerializer.hpp.

Referenced by RPCParam::DeSerialize().

std::string XMLDeSerializer::QNameToStr ( ax::QName & qName )
 

Convert QName to a string form consisting of prefix:localpart.

Definition at line 188 of file XMLDeSerializer.cpp.

Referenced by DeSerialize().

void XMLDeSerializer::RegisterPrefixForURI ( const std::string & prefix,
const std::string & uri )
 

register prefixes for given URI.

Definition at line 183 of file XMLDeSerializer.cpp.

Referenced by RPCElement::DeSerialize().

void XMLDeSerializer::SetContext ( DOM_Node & p_CurNode ) [inline]
 

Sets the current branch that the deserilisation involve.

Definition at line 107 of file XMLDeSerializer.hpp.

void XMLDeSerializer::SetTypeMappingRegistry ( TypeMappingRegistry * p_TypMapper ) [inline]
 

Sets Type Mapping Registry for type mapping of given encoding.

Definition at line 119 of file XMLDeSerializer.hpp.

Referenced by SOAPMessage::DeSerialize().


Member Data Documentation

ParseErrorHandler * XMLDeSerializer::errReporter [private]
 

DOM parser error handler.

Definition at line 133 of file XMLDeSerializer.hpp.

NsStack XMLDeSerializer::m_nsStk [private]
 

Namespace stack for namespace mapping for the current context.

Definition at line 128 of file XMLDeSerializer.hpp.

DOM_Node XMLDeSerializer::m_pCurNode [private]
 

Current DOM Node of the branch the deserilization apply.

Definition at line 130 of file XMLDeSerializer.hpp.

TypeMappingRegistry * XMLDeSerializer::m_pTypeMapper [private]
 

Type mapping registry to obtain deserilized objects.

Definition at line 135 of file XMLDeSerializer.hpp.

DOMParser * XMLDeSerializer::parser [private]
 

DOM parser to parse the SOAP envelop.

Definition at line 132 of file XMLDeSerializer.hpp.


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