CSenNamespace Class Reference

class CSenNamespace : public CBase
Implementation of XML namespace functionality All data is in UTF-8 form. SenXML.dll
Since
Series60 3.0

Inherits from

Constructor & Destructor Documentation

CSenNamespace()

CSenNamespace ( ) [private]

C++ default constructor.

~CSenNamespace()

IMPORT_C ~CSenNamespace ( ) [virtual]

Destructor.

Member Functions Documentation

Compare(const TDesC8 &, const TDesC8 &)

IMPORT_C TBool Compare ( const TDesC8 & aOtherPrefix,
const TDesC8 & aOtherUri
) const

Method for comparing the namespace object to other prefix and URI.

Parameters

const TDesC8 & aOtherPrefix The prefix to be compared to
const TDesC8 & aOtherUri The URI to be compared to.

Compare(const CSenNamespace &)

IMPORT_C TBool Compare ( const CSenNamespace & aOtherNamespace ) const

Method for comparing the namespace object to other namespace object.

Parameters

const CSenNamespace & aOtherNamespace The namespace to be compared to.

ConstructL(const TDesC8 &, const TDesC8 &)

void ConstructL ( const TDesC8 & aPrefix,
const TDesC8 & aUri
) [private]

By default Symbian 2nd phase constructor is private.

Parameters

const TDesC8 & aPrefix
const TDesC8 & aUri

InsertL(RBufWriteStream &)

IMPORT_C void InsertL ( RBufWriteStream & aWs )

Method to ask this namespace object to write itself into a writestream. Doesn't write anything if no URI has been set.

Parameters

RBufWriteStream & aWs The writestream where object should be written.

MatchesL(const CSenNamespace &)

IMPORT_C TBool MatchesL ( const CSenNamespace & aOtherNamespace ) const

Method for comparing the namespace object to other namespace object. Differs from Compare(...) methods so that this one compares only URIs.

Parameters

const CSenNamespace & aOtherNamespace

NewL(const TDesC8 &, const TDesC8 &)

IMPORT_C CSenNamespace * NewL ( const TDesC8 & aPrefix,
const TDesC8 & aUri
) [static]

Basic constructor.

Parameters

const TDesC8 & aPrefix The prefix for the namespace.
const TDesC8 & aUri The namespace uri for the namespace.

NewL(const TDesC8 &)

IMPORT_C CSenNamespace * NewL ( const TDesC8 & aUri ) [static]

Basic constructor.

Parameters

const TDesC8 & aUri The namespace uri for the namespace.

NewLC(const TDesC8 &, const TDesC8 &)

IMPORT_C CSenNamespace * NewLC ( const TDesC8 & aPrefix,
const TDesC8 & aUri
) [static]

Basic constructor.

Parameters

const TDesC8 & aPrefix The prefix for the namespace.
const TDesC8 & aUri The namespace uri for the namespace.

NewLC(const TDesC8 &)

IMPORT_C CSenNamespace * NewLC ( const TDesC8 & aUri ) [static]

Basic constructor.

Parameters

const TDesC8 & aUri The namespace uri for the namespace.

Prefix()

IMPORT_C const TDesC8 & Prefix ( ) const

Getter for the prefix of the namespace object.

SetPrefixL(const TDesC8 &)

IMPORT_C void SetPrefixL ( const TDesC8 & aPrefix )

Setter for the prefix of the namespace object.

Parameters

const TDesC8 & aPrefix The prefix.

SetUriL(const TDesC8 &)

IMPORT_C void SetUriL ( const TDesC8 & aUri )

Setter for the URI of the namespace object.

Parameters

const TDesC8 & aUri The URI.

URI()

IMPORT_C const TDesC8 & URI ( ) const

Getter for the URI of the namespace object.

Member Data Documentation

HBufC8 * ipPrefix

HBufC8 * ipPrefix [private]

HBufC8 * ipUri

HBufC8 * ipUri [private]