CUPnPXMLEventParser Class Reference
class CUPnPXMLEventParser : public CBase
|
XML SAX Parser for UPnP.
-
Since
-
s60 3.1 upnpxmlparser.lib
Protected Member Functions
|
TAny
*
|
GetExtendedInterface
(const
TInt32
)
|
void
|
OnContentL
(const
TDesC8
&,
TInt
)
|
void
|
OnEndDocumentL
(
TInt
)
|
void
|
OnEndElementL
(const
RTagInfo
&,
TInt
)
|
void
|
OnEndPrefixMappingL
(const
RString
&,
TInt
)
|
void
|
OnError
(
TInt
)
|
void
|
OnIgnorableWhiteSpaceL
(const
TDesC8
&,
TInt
)
|
void
|
OnProcessingInstructionL
(const
TDesC8
&, const
TDesC8
&,
TInt
)
|
void
|
OnSkippedEntityL
(const
RString
&,
TInt
)
|
void
|
OnStartDocumentL
(const RDocumentParameters &,
TInt
)
|
void
|
OnStartElementL
(const
RTagInfo
&, const
RAttributeArray
&,
TInt
)
|
void
|
OnStartPrefixMappingL
(const
RString
&, const
RString
&,
TInt
)
|
Constructor & Destructor Documentation
CUPnPXMLEventParser()
CUPnPXMLEventParser
|
(
|
)
|
[private]
|
~CUPnPXMLEventParser()
~CUPnPXMLEventParser
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
GetExtendedInterface(const TInt32)
TAny
*
|
GetExtendedInterface
|
(
|
const
TInt32
|
aUid
|
)
|
[protected]
|
OnContentL(const TDesC8 &, TInt)
void
|
OnContentL
|
(
|
const
TDesC8
&
|
aBytes,
|
|
TInt
|
aErrorCode
|
|
)
|
[protected]
|
OnEndDocumentL(TInt)
void
|
OnEndDocumentL
|
(
|
TInt
|
aErrorCode
|
)
|
[protected]
|
OnEndElementL(const RTagInfo &, TInt)
void
|
OnEndElementL
|
(
|
const
RTagInfo
&
|
aElement,
|
|
TInt
|
aErrorCode
|
|
)
|
[protected]
|
OnEndPrefixMappingL(const RString &, TInt)
void
|
OnEndPrefixMappingL
|
(
|
const
RString
&
|
aPrefix,
|
|
TInt
|
aErrorCode
|
|
)
|
[protected]
|
OnError(TInt)
void
|
OnError
|
(
|
TInt
|
aErrorCode
|
)
|
[protected]
|
OnIgnorableWhiteSpaceL(const TDesC8 &, TInt)
void
|
OnIgnorableWhiteSpaceL
|
(
|
const
TDesC8
&
|
aBytes,
|
|
TInt
|
aErrorCode
|
|
)
|
[protected]
|
OnProcessingInstructionL(const TDesC8 &, const TDesC8 &, TInt)
void
|
OnProcessingInstructionL
|
(
|
const
TDesC8
&
|
aTarget,
|
|
const
TDesC8
&
|
aData,
|
|
TInt
|
aErrorCode
|
|
)
|
[protected]
|
OnSkippedEntityL(const RString &, TInt)
void
|
OnSkippedEntityL
|
(
|
const
RString
&
|
aName,
|
|
TInt
|
aErrorCode
|
|
)
|
[protected]
|
OnStartDocumentL(const RDocumentParameters &, TInt)
void
|
OnStartDocumentL
|
(
|
const RDocumentParameters &
|
aDocParam,
|
|
TInt
|
aErrorCode
|
|
)
|
[protected]
|
Parameters
const RDocumentParameters & aDocParam
|
|
TInt
aErrorCode
|
|
OnStartElementL(const RTagInfo &, const RAttributeArray &, TInt)
OnStartPrefixMappingL(const RString &, const RString &, TInt)
void
|
OnStartPrefixMappingL
|
(
|
const
RString
&
|
aPrefix,
|
|
const
RString
&
|
aUri,
|
|
TInt
|
aErrorCode
|
|
)
|
[protected]
|
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.
SetAttributesL(const RAttributeArray &)
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]
|
TParserState
iParserState
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.