|
||
class MContentHandler;
This class defines the interface required by a client of the xml framework. It allows a client to be placed in a chain with
other clients, i.e. a Parser, a Validator, or a User
, and therefore allows the flow of information between these links. It provides callbacks analogous to that of the SAX 2.0
interface.
Defined in Xml::MContentHandler
:
GetExtendedInterface(const TInt32)
This method obtains the interface matching the specified uid. OnContentL(const TDesC8 &,TInt)
This method is a callback that sends the content of the element. Not all the con...OnEndDocumentL(TInt)
This method is a callback to indicate the end of the document. OnEndElementL(const RTagInfo &,TInt)
This method is a callback to indicate the end of the element has been reached. OnEndPrefixMappingL(const RString &,TInt)
This method is a notification of the end of the scope of a prefix-URI mapping. T...OnError(TInt)
This method indicates an error has occurred. OnIgnorableWhiteSpaceL(const TDesC8 &,TInt)
This method is a notification of ignorable whitespace in element content. OnProcessingInstructionL(const TDesC8 &,const TDesC8 &,TInt)
This method is a receive notification of a processing instruction. OnSkippedEntityL(const RString &,TInt)
This method is a notification of a skipped entity. If the parser encounters an e...OnStartDocumentL(const RDocumentParameters &,TInt)
This method is a callback to indicate the start of the document. OnStartElementL(const RTagInfo &,const RAttributeArray &,TInt)
This method is a callback to indicate an element has been parsed. OnStartPrefixMappingL(const RString &,const RString &,TInt)
This method is a notification of the beginning of the scope of a prefix-URI Name...virtual void OnStartDocumentL(const RDocumentParameters &aDocParam, TInt aErrorCode)=0;
This method is a callback to indicate the start of the document.
|
virtual void OnEndDocumentL(TInt aErrorCode)=0;
This method is a callback to indicate the end of the document.
|
virtual void OnStartElementL(const RTagInfo &aElement, const RAttributeArray &aAttributes, TInt aErrorCode)=0;
This method is a callback to indicate an element has been parsed.
|
virtual void OnEndElementL(const RTagInfo &aElement, TInt aErrorCode)=0;
This method is a callback to indicate the end of the element has been reached.
|
virtual void OnContentL(const TDesC8 &aBytes, TInt aErrorCode)=0;
This method is a callback that sends the content of the element. Not all the content may be returned in one go. The data may be sent in chunks. When an OnEndElementL is received this means there is no more content to be sent.
|
virtual void OnStartPrefixMappingL(const RString &aPrefix, const RString &aUri, TInt aErrorCode)=0;
This method is a notification of the beginning of the scope of a prefix-URI Namespace mapping. This method is always called before the corresponding OnStartElementL method.
|
virtual void OnEndPrefixMappingL(const RString &aPrefix, TInt aErrorCode)=0;
This method is a notification of the end of the scope of a prefix-URI mapping. This method is called after the corresponding DoEndElementL method.
|
virtual void OnIgnorableWhiteSpaceL(const TDesC8 &aBytes, TInt aErrorCode)=0;
This method is a notification of ignorable whitespace in element content.
|
virtual void OnSkippedEntityL(const RString &aName, TInt aErrorCode)=0;
This method is a notification of a skipped entity. If the parser encounters an external entity it does not need to expand it - it can return the entity as aName for the client to deal with.
|
virtual void OnProcessingInstructionL(const TDesC8 &aTarget, const TDesC8 &aData, TInt aErrorCode)=0;
This method is a receive notification of a processing instruction.
|
virtual void OnError(TInt aErrorCode)=0;
This method indicates an error has occurred.
|
virtual TAny* GetExtendedInterface(const TInt32 aUid)=0;
This method obtains the interface matching the specified uid.
|
|