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()

voidConstructL()[private]

2nd phase constructor.

GetExtendedInterface(const TInt32)

TAny *GetExtendedInterface(const TInt32aUid)[protected]

From MContentHandler.

Parameters

const TInt32 aUid

NewL()

IMPORT_C CUPnPXMLEventParser *NewL()[static]

2-phased constructor.

OnContentL(const TDesC8 &, TInt)

voidOnContentL(const TDesC8 &aBytes,
TIntaErrorCode
)[protected]

From MContentHandler.

Parameters

const TDesC8 & aBytes
TInt aErrorCode

OnEndDocumentL(TInt)

voidOnEndDocumentL(TIntaErrorCode)[protected]

From MContentHandler.

Parameters

TInt aErrorCode

OnEndElementL(const RTagInfo &, TInt)

voidOnEndElementL(const RTagInfo &aElement,
TIntaErrorCode
)[protected]

From MContentHandler.

Parameters

const RTagInfo & aElement
TInt aErrorCode

OnEndPrefixMappingL(const RString &, TInt)

voidOnEndPrefixMappingL(const RString &aPrefix,
TIntaErrorCode
)[protected]

From MContentHandler.

Parameters

const RString & aPrefix
TInt aErrorCode

OnError(TInt)

voidOnError(TIntaErrorCode)[protected]

From MContentHandler.

Parameters

TInt aErrorCode

OnIgnorableWhiteSpaceL(const TDesC8 &, TInt)

voidOnIgnorableWhiteSpaceL(const TDesC8 &aBytes,
TIntaErrorCode
)[protected]

From MContentHandler.

Parameters

const TDesC8 & aBytes
TInt aErrorCode

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

voidOnProcessingInstructionL(const TDesC8 &aTarget,
const TDesC8 &aData,
TIntaErrorCode
)[protected]

From MContentHandler.

Parameters

const TDesC8 & aTarget
const TDesC8 & aData
TInt aErrorCode

OnSkippedEntityL(const RString &, TInt)

voidOnSkippedEntityL(const RString &aName,
TIntaErrorCode
)[protected]

From MContentHandler.

Parameters

const RString & aName
TInt aErrorCode

OnStartDocumentL(const RDocumentParameters &, TInt)

voidOnStartDocumentL(const RDocumentParameters &aDocParam,
TIntaErrorCode
)[protected]

From MContentHandler.

Parameters

const RDocumentParameters & aDocParam
TInt aErrorCode

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

voidOnStartElementL(const RTagInfo &aElement,
const RAttributeArray &aAttributes,
TIntaErrorCode
)[protected]

From MContentHandler.

Parameters

const RTagInfo & aElement
const RAttributeArray & aAttributes
TInt aErrorCode

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

voidOnStartPrefixMappingL(const RString &aPrefix,
const RString &aUri,
TIntaErrorCode
)[protected]

From MContentHandler.

Parameters

const RString & aPrefix
const RString & aUri
TInt aErrorCode

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

IMPORT_C voidParseResultDataL(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()

voidReset()[private]

SetAttributesL(const RAttributeArray &)

voidSetAttributesL(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]