CUPnPXMLParserLite Class Reference
class CUPnPXMLParserLite : 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
CUPnPXMLParserLite()
CUPnPXMLParserLite | ( | ) | [private] |
~CUPnPXMLParserLite()
~CUPnPXMLParserLite | ( | ) | [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(RPointerArray< CUpnpObjectLite > &, const TDesC8 &, const TDesC &)
Parses xml data to the array of objects.
Parameters
RPointerArray< CUpnpObjectLite > & aResultArray | |
const TDesC8 & aData | |
const TDesC & aFormatString =
KNullDesC
| the format of title. If KNullDesC title will be stored as it is. It's expected that the string is in the following format: _L( "0\t%S---" ); where "0" is a placeholder for icon index and S is a placeholder for title |
SetAttributesL(CUpnpObjectLite &, const RAttributeArray &)
void | SetAttributesL | ( | CUpnpObjectLite & | aObject, |
| const RAttributeArray & | aAttributes |
| ) | [private] |
Sets element's attributes to the object.
Parameters
CUpnpObjectLite & aObject | attributes will be set to this object |
const RAttributeArray & aAttributes | attributes to set |
SetIconIndex(const CUpnpObjectLite &)
void | SetIconIndex | ( | const CUpnpObjectLite & | aObject | ) | [private] |
Parameters
const CUpnpObjectLite & aObject | |
Member Data Documentation
HBufC8 * iElementValue
HBufC8 * | iElementValue | [private] |
HBufC * iFormatString
HBufC * | iFormatString | [private] |
TBool
iObjectClass
TBool
| iObjectClass | [private] |
RPointerArray< CUpnpObjectLite > * iResultRoot
A pointer to result array from the client. Not own.
CUPnPObjectStackLite * iStack
CUPnPObjectStackLite * | iStack | [private] |
A stack for UPnP objects. Own.
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.