MSenContentHandlerClient Class Reference

class MSenContentHandlerClient

Interface for SAX Parser Callback events. If an application (client) needs to be informed of basic parsing events, it implements this interface and registers an instance with the SAX parser using the SetContentHandler() method. The parser uses the instance to report basic document-related events like the start and end of elements.*

SenXML.dll
Since
Series60 3.0
Public Member Functions
TInt Characters(const TDesC8 &, const , const )
TInt EndDocument()
TInt EndElement(const TDesC8 &, const TDesC8 &, const TDesC8 &)
TInt EndPrefixMappingL(const TDesC8 &)
TInt Error(TInt)
TAny *GetExtendedInterface(const )
TInt OnIgnorableWhiteSpaceL(const TDesC8 &)
TInt ProcessingInstructions(const TDesC8 &, const TDesC8 &)
TInt SkippedEntity(const TDesC8 &)
TInt StartDocument()
TInt StartElement(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
TInt StartPrefixMappingL(const TDesC8 &, const TDesC8 &)

Member Functions Documentation

Characters(const TDesC8 &, const, const)

TInt Characters(const TDesC8 &,
const TInt,
const TInt
)[inline, virtual]

Receive notification of character data inside an element. Called when OnContentL callback is received from Symbian XML framework.

Parameters

const TDesC8 &
const TInt
const TInt

EndDocument()

TInt EndDocument()[pure virtual]

Receive notification of the end of a document. Called when OnEndDocumentL callback is received from Symbian XML framework.

EndElement(const TDesC8 &, const TDesC8 &, const TDesC8 &)

TInt EndElement(const TDesC8 &,
const TDesC8 &,
const TDesC8 &
)[inline, virtual]

Receive notification of the end of an element. Called when OnEndElementL callback is received from Symbian XML framework.

Parameters

const TDesC8 &
const TDesC8 &
const TDesC8 &

EndPrefixMappingL(const TDesC8 &)

TInt EndPrefixMappingL(const TDesC8 &)[inline, virtual]

Receive notification of prefix mapping end. Called when OnEndPrefixMappingL callback is received from Symbian XML framework.

Parameters

const TDesC8 &

Error(TInt)

TInt Error(TInt)[inline, virtual]

Receive notification of error situation during parsing. Called when OnError callback is received from Symbian XML framework. Complete list of error codes is listed under <Xml\XmlFrameworkErrors.h>

Parameters

TInt

GetExtendedInterface(const)

TAny *GetExtendedInterface(const TInt32)[inline, virtual]

Method obtains the interface matching the specified UID.

Parameters

const TInt32

OnIgnorableWhiteSpaceL(const TDesC8 &)

TInt OnIgnorableWhiteSpaceL(const TDesC8 &)[inline, virtual]

Receive notification of ignorable whitespace in element content. Called when OnIgnorableWhiteSpaceL callback is received from Symbian XML framework.

Parameters

const TDesC8 &

ProcessingInstructions(const TDesC8 &, const TDesC8 &)

TInt ProcessingInstructions(const TDesC8 &,
const TDesC8 &
)[inline, virtual]

Receive notification of a processing instruction Called when OnProcessingInstructionL callback is received from Symbian XML framework. This method is currently not in use - inlined.

Parameters

const TDesC8 &
const TDesC8 &

SkippedEntity(const TDesC8 &)

TInt SkippedEntity(const TDesC8 &)[inline, virtual]

Receive notification of a skipped entity. Called when OnSkippedEntityL callback is received from Symbian XML framework.

Parameters

const TDesC8 &

StartDocument()

TInt StartDocument()[pure virtual]

Receive notification of the beginning of a document. Called when OnStartDocumentL callback is received from Symbian XML framework.

StartElement(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

TInt StartElement(const TDesC8 &,
const TDesC8 &,
const TDesC8 &,
const RAttributeArray &
)[inline, virtual]

Receive notification of the beginning of an element. Called when OnStartElementL callback is received from Symbian XML framework.

Parameters

const TDesC8 &
const TDesC8 &
const TDesC8 &
const RAttributeArray &

StartPrefixMappingL(const TDesC8 &, const TDesC8 &)

TInt StartPrefixMappingL(const TDesC8 &,
const TDesC8 &
)[inline, virtual]

Receive notification of prefix mapping start. Called when OnStartPrefixMappingL callback is received from Symbian XML framework.

Parameters

const TDesC8 &
const TDesC8 &