CSenNamespace Class Reference

#include <mw/SenNameSpace.h>

Link against: SenXML.dll

class CSenNamespace : public CBase

Inherits from

  • CSenNamespace

    Detailed Description

    Implementation of XML namespace functionality All data is in UTF-8 form.
    Since
    Series60 3.0

    Constructor & Destructor Documentation

    ~CSenNamespace ( )

    IMPORT_C~CSenNamespace()[virtual]

    Destructor.

    Member Function Documentation

    Compare ( const TDesC8 &, const TDesC8 & )

    IMPORT_C TBoolCompare(const TDesC8 &aOtherPrefix,
    const TDesC8 &aOtherUri
    )const

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

    ParameterDescription
    aOtherPrefixThe prefix to be compared to
    aOtherUriThe URI to be compared to.

    Returns: ETrue if both of the parameters were matching to the object's corresponding ones. EFalse otherwise

    Compare ( const CSenNamespace & )

    IMPORT_C TBoolCompare(const CSenNamespace &aOtherNamespace)const

    Method for comparing the namespace object to other namespace object.

    ParameterDescription
    aOtherNamespaceThe namespace to be compared to.

    Returns: ETrue if the given namespace has same URI and prefix as the current one. EFalse otherwise.

    InsertL ( RBufWriteStream & )

    IMPORT_C voidInsertL(RBufWriteStream &aWs)

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

    ParameterDescription
    aWsThe writestream where object should be written.

    MatchesL ( const CSenNamespace & )

    IMPORT_C TBoolMatchesL(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.

    Returns: ETrue if the given namespace has the same URI as the current one. EFalse otherwise.

    NewL ( const TDesC8 &, const TDesC8 & )

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

    Basic constructor.

    ParameterDescription
    aPrefixThe prefix for the namespace.
    aUriThe namespace uri for the namespace.

    NewL ( const TDesC8 & )

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

    Basic constructor.

    ParameterDescription
    aUriThe namespace uri for the namespace.

    NewLC ( const TDesC8 &, const TDesC8 & )

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

    Basic constructor.

    ParameterDescription
    aPrefixThe prefix for the namespace.
    aUriThe namespace uri for the namespace.

    NewLC ( const TDesC8 & )

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

    Basic constructor.

    ParameterDescription
    aUriThe namespace uri for the namespace.

    Prefix ( )

    IMPORT_C const TDesC8 &Prefix()const

    Getter for the prefix of the namespace object.

    Returns: The prefix

    SetPrefixL ( const TDesC8 & )

    IMPORT_C voidSetPrefixL(const TDesC8 &aPrefix)

    Setter for the prefix of the namespace object.

    ParameterDescription
    aPrefixThe prefix.

    SetUriL ( const TDesC8 & )

    IMPORT_C voidSetUriL(const TDesC8 &aUri)

    Setter for the URI of the namespace object.

    ParameterDescription
    aUriThe URI.

    URI ( )

    IMPORT_C const TDesC8 &URI()const

    Getter for the URI of the namespace object.

    Returns: The URI