CUPnPXMLEventParser Class Reference

class CUPnPXMLEventParser : public CBase

XML SAX Parser for UPnP.

Since
s60 3.1 upnpxmlparser.lib

Inherits from

Constructor & Destructor Documentation

CUPnPXMLEventParser()

CUPnPXMLEventParser ( ) [private]

Constructor.

~CUPnPXMLEventParser()

~CUPnPXMLEventParser ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

2nd phase constructor.

GetExtendedInterface(const TInt32)

TAny * GetExtendedInterface ( const TInt32 aUid ) [protected]

From MContentHandler.

Parameters

const TInt32 aUid

NewL()

IMPORT_C CUPnPXMLEventParser * NewL ( ) [static]

2-phased constructor.

OnContentL(const TDesC8 &, TInt)

void OnContentL ( const TDesC8 & aBytes,
TInt aErrorCode
) [protected]

From MContentHandler.

Parameters

const TDesC8 & aBytes
TInt aErrorCode

OnEndDocumentL(TInt)

void OnEndDocumentL ( TInt aErrorCode ) [protected]

From MContentHandler.

Parameters

TInt aErrorCode

OnEndElementL(const RTagInfo &, TInt)

void OnEndElementL ( const RTagInfo & aElement,
TInt aErrorCode
) [protected]

From MContentHandler.

Parameters

const RTagInfo & aElement
TInt aErrorCode

OnEndPrefixMappingL(const RString &, TInt)

void OnEndPrefixMappingL ( const RString & aPrefix,
TInt aErrorCode
) [protected]

From MContentHandler.

Parameters

const RString & aPrefix
TInt aErrorCode

OnError(TInt)

void OnError ( TInt aErrorCode ) [protected]

From MContentHandler.

Parameters

TInt aErrorCode

OnIgnorableWhiteSpaceL(const TDesC8 &, TInt)

void OnIgnorableWhiteSpaceL ( const TDesC8 & aBytes,
TInt aErrorCode
) [protected]

From MContentHandler.

Parameters

const TDesC8 & aBytes
TInt aErrorCode

OnProcessingInstructionL(const TDesC8 &, const TDesC8 &, TInt)

void OnProcessingInstructionL ( const TDesC8 & aTarget,
const TDesC8 & aData,
TInt aErrorCode
) [protected]

From MContentHandler.

Parameters

const TDesC8 & aTarget
const TDesC8 & aData
TInt aErrorCode

OnSkippedEntityL(const RString &, TInt)

void OnSkippedEntityL ( const RString & aName,
TInt aErrorCode
) [protected]

From MContentHandler.

Parameters

const RString & aName
TInt aErrorCode

OnStartDocumentL(const RDocumentParameters &, TInt)

void OnStartDocumentL ( const RDocumentParameters & aDocParam,
TInt aErrorCode
) [protected]

From MContentHandler.

Parameters

const RDocumentParameters & aDocParam
TInt aErrorCode

OnStartElementL(const RTagInfo &, const RAttributeArray &, TInt)

void OnStartElementL ( const RTagInfo & aElement,
const RAttributeArray & aAttributes,
TInt aErrorCode
) [protected]

From MContentHandler.

Parameters

const RTagInfo & aElement
const RAttributeArray & aAttributes
TInt aErrorCode

OnStartPrefixMappingL(const RString &, const RString &, TInt)

void OnStartPrefixMappingL ( const RString & aPrefix,
const RString & aUri,
TInt aErrorCode
) [protected]

From MContentHandler.

Parameters

const RString & aPrefix
const RString & aUri
TInt aErrorCode

ParseResultDataL(const TDesC8 &, TInt &, TInt &, TBool &)

IMPORT_C void ParseResultDataL ( const TDesC8 & aData,
TInt & aInstanceId,
TInt & aVolume,
TBool & aMute
)

Parses xml data to the array of objects.

Parameters

const TDesC8 & aData
TInt & aInstanceId
TInt & aVolume
TBool & aMute

Reset()

void Reset ( ) [private]

SetAttributesL(const RAttributeArray &)

void SetAttributesL ( const RAttributeArray & aAttributes ) [private]

Parameters

const RAttributeArray & aAttributes

Member Enumerations Documentation

Enum TParserState

Enumerators

EEvent = 0
EInstanceID
EVolume
EMute
ENotSupported

Member Data Documentation

TInt iInstanceID

TInt iInstanceID [private]

TBool iMasterVolumeState

TBool iMasterVolumeState [private]

TInt iMute

TInt iMute [private]

TParserState iParserState

TParserState iParserState [private]

TInt iVolume

TInt iVolume [private]