MXmlEngExtendedHandler Class Reference

#include <xml/dom/xmlengextendedcontenthandler.h>

class MXmlEngExtendedHandler
Public Member Enumerations
enumTExtInterfaceUid { EExtInterfaceUid }
Public Member Functions
pure virtual voidOnBinaryContentL(const TDesC8 &, const TDesC8 &, TInt)
pure virtual voidOnDataContainerL(const TXmlEngDataContainer &, TInt)

Detailed Description

This class extends MContentHandler with functions for binary data handling. Used by clients during XOP deserialization.

See also: Xml::MContentHandler

Member Enumeration Documentation

Enum TExtInterfaceUid

The uid identifying this extension interface.

EnumeratorValueDescription
EExtInterfaceUid0x101F9794

Member Function Documentation

OnBinaryContentL ( const TDesC8 &, const TDesC8 &, TInt )

voidOnBinaryContentL(const TDesC8 &aBytes,
const TDesC8 &aCid,
TIntaErrorCode
)[pure virtual]

Called when binary content has been parsed.

leave
  • One of the system-wide error codes

ParameterDescription
aBytesThe raw binary data of the element
aCidThe CID of the binary data

OnDataContainerL ( const TXmlEngDataContainer &, TInt )

voidOnDataContainerL(const TXmlEngDataContainer &aContainer,
TIntaErrorCode
)[pure virtual]

Called when a reference to external data has been parsed.

See also: CXmlEngDeserializer::ExternalData()

Any class derived from TXmlEngDataContainer may be passed to this function.

See also: TXmlEngBinaryContainer TXmlEngChunkContainer TXmlEngFileContainer

leave
  • One of the system-wide error codes

ParameterDescription
aContainerThe container that holds the external binary data.