CUPnPXMLParser Class Reference
class CUPnPXMLParser : 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
CUPnPXMLParser()
CUPnPXMLParser | ( | ) | [private] |
~CUPnPXMLParser()
~CUPnPXMLParser | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
ContainerToXmlLC(const CUpnpContainer &)
Creates an xml document from a given item container
GetExtendedInterface(const TInt32)
TAny * | GetExtendedInterface | ( | const TInt32 | aUid | ) | [protected] |
ItemAsXmlLC(const CUpnpItem &)
Creates an xml document from a given item
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< CUpnpObject > &, const TDesC8 &)
Parses xml data to the array of objects.
ResetMember()
void | ResetMember | ( | ) | [private] |
Reset member for parse again.
SetAttributesL(CUpnpObject &, const RAttributeArray &)
Sets element's attributes to the object.
SetAttributesL(const RAttributeArray &)
Sets element's attributes to the element
SetValueToElementL(CUpnpObject &, const TDesC8 &)
Parameters
CUpnpObject & aItem | (CUpnpObject&) a item which owns the element |
const TDesC8 & aValue | element value |
XmlForCreateObjectLC(const CUpnpItem &)
Creates an xml document from a given item, for CreateObject-action.
Member Data Documentation
HBufC8 * iElementValue
HBufC8 * | iElementValue | [private] |
CUpnpElement * iNewElement
Upnp element Owned until ownership is transferred for an object
TBool
iObjectClass
TBool
| iObjectClass | [private] |
RPointerArray< CUpnpObject > * iResultRoot
A pointer to result array from the client. Not own.
CUPnPObjectStack * iStack
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.