CSenSoapFault Class Reference

API published in: S60 3rd Ed

Link against: senutils.lib

Capability Information

Required Capabilities

NetworkServices ReadUserData WriteUserData


#include <sensoapfault.h>

Inherits CSenBaseElement.


Detailed Description

This utility class represents SOAP fault element according to SOAP fault specification.

SOAP fault element has following child elements: faultcode, faultstring, faultactor detail


Public Member Functions

virtual IMPORT_C  ~CSenSoapFault ()
  Destructor.
IMPORT_C TPtrC8  FaultCode ()
IMPORT_C TPtrC8  FaultString ()
IMPORT_C TPtrC8  FaultActor ()
IMPORT_C TPtrC8  Detail ()

Static Public Member Functions

static IMPORT_C CSenSoapFault NewL (CSenElement &aCopiedSource)
  Copy constructor, making a copy of the original source element.
static IMPORT_C CSenSoapFault NewL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttributes)
  Basic constructor.

Protected Member Functions

IMPORT_C  CSenSoapFault ()
  C++ default constructor.
IMPORT_C void  ConstructL (CSenElement &aCopiedSource)
  Basic ConstructL function.
IMPORT_C void  ConstructL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttributes)
  Basic ConstructL function.

Constructor & Destructor Documentation

virtual IMPORT_C CSenSoapFault::~CSenSoapFault  )  [virtual]
 

Destructor.

IMPORT_C CSenSoapFault::CSenSoapFault  )  [protected]
 

C++ default constructor.


Member Function Documentation

IMPORT_C void CSenSoapFault::ConstructL const TDesC8 &  aNsUri,
const TDesC8 &  aLocalName,
const TDesC8 &  aQName,
const RAttributeArray &  aAttributes
[protected]
 

Basic ConstructL function.

Parameters:
aNsUri  is the XML namespace URI of this SOAP fault
aLocalName  is the XML localname URI of this SOAP fault
aQName  is the XML qualifiedname URI of this SOAP fault
aAttributes  are the XML attributes for this SOAP fault
IMPORT_C void CSenSoapFault::ConstructL CSenElement aCopiedSource  )  [protected]
 

Basic ConstructL function.

Parameters:
aCopiedSource  is the CSenElement from which data to this SOAP fault object is to be copied.
IMPORT_C TPtrC8 CSenSoapFault::Detail  ) 
 
Returns:
the content of <detail> element as UTF-8 form string or KNullDesC8, if element is not available
IMPORT_C TPtrC8 CSenSoapFault::FaultActor  ) 
 
Returns:
the content of <faultactor> element as UTF-8 form string or KNullDesC8, if element is not available
IMPORT_C TPtrC8 CSenSoapFault::FaultCode  ) 
 
Returns:
the content of <faultcode> element as UTF-8 form string or KNullDesC8, if element is not available
IMPORT_C TPtrC8 CSenSoapFault::FaultString  ) 
 
Returns:
the content of <faultstring> element as UTF-8 form string or KNullDesC8, if element is not available
static IMPORT_C CSenSoapFault* CSenSoapFault::NewL const TDesC8 &  aNsUri,
const TDesC8 &  aLocalName,
const TDesC8 &  aQName,
const RAttributeArray &  aAttributes
[static]
 

Basic constructor.

Parameters:
aNsUri  is the XML namespace of this SOAP fault
aLocalName  is the localname for this SOAP fault
aQName  is the qualifiedname for this SOAP fault
aAttributes  are the XML attributes for this SOAP fault Parameters are used to construct the soap fault.

Reimplemented from CSenBaseElement.

static IMPORT_C CSenSoapFault* CSenSoapFault::NewL CSenElement aCopiedSource  )  [static]
 

Copy constructor, making a copy of the original source element.

Parameters:
aCopiedSource  Element where source will be copied.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top