CXmlExample Class Reference

List of all members.

Public Member Functions

 ~CXmlExample ()
void OnStartDocumentL (const Xml::RDocumentParameters &aDocParam, TInt aErrorCode)
void OnEndDocumentL (TInt aErrorCode)
void OnStartElementL (const Xml::RTagInfo &aElement, const Xml::RAttributeArray &aAttributes, TInt aErrorCode)
void OnEndElementL (const Xml::RTagInfo &aElement, TInt aErrorCode)
void OnContentL (const TDesC8 &aBytes, TInt aErrorCode)
void OnStartPrefixMappingL (const RString &aPrefix, const RString &aUri, TInt aErrorCode)
void OnEndPrefixMappingL (const RString &aPrefix, TInt aErrorCode)
void OnIgnorableWhiteSpaceL (const TDesC8 &aBytes, TInt aErrorCode)
void OnSkippedEntityL (const RString &aName, TInt aErrorCode)
void OnProcessingInstructionL (const TDesC8 &aTarget, const TDesC8 &aData, TInt aErrorCode)
void OnError (TInt aErrorCode)
TAny * GetExtendedInterface (const TInt32 aUid)
void ParseExampleDocumentsL ()
HBufC * Copy8To16LC (const TDesC8 &aDes)

Static Public Member Functions

static CXmlExampleNewL ()

Public Attributes

TBool iLeaveOnStartElement
TInt iNumElements
TInt iNumSkippedEntities
TInt iNumPrefixMappings
TInt iNumPrefixUnmappings
TInt iError

Detailed Description

CXmlExample demonstrates the usage of the XML Framework to parse an XML and WBXML file.

CXmlExample implements the XML Framework's MContentHandler interface, which the parser calls to notify the application of parsing events, such as the start of elements.

Definition at line 31 of file xmlexample.h.


Constructor & Destructor Documentation

CXmlExample::~CXmlExample (  ) 

Member Function Documentation

CXmlExample * CXmlExample::NewL (  )  [static]

Allocates and constructs a CXmlExample object. Initialises all member data to their default values.

Definition at line 68 of file xmlexample.cpp.

void CXmlExample::OnEndDocumentL ( TInt  aErrorCode  ) 
void CXmlExample::OnContentL ( const TDesC8 &  aData8,
TInt  aErrorCode 
)
void CXmlExample::OnStartPrefixMappingL ( const RString &  aPrefix,
const RString &  aUri,
TInt  aErrorCode 
)
void CXmlExample::OnEndPrefixMappingL ( const RString &  aPrefix,
TInt  aErrorCode 
)
void CXmlExample::OnIgnorableWhiteSpaceL ( const TDesC8 &  aBytes,
TInt  aErrorCode 
)
void CXmlExample::OnSkippedEntityL ( const RString &  aName,
TInt  aErrorCode 
)
void CXmlExample::OnProcessingInstructionL ( const TDesC8 &  aTarget8,
const TDesC8 &  aData8,
TInt  aErrorCode 
)
void CXmlExample::OnError ( TInt  aError  ) 
TAny * CXmlExample::GetExtendedInterface ( const TInt32  aUid  ) 
void CXmlExample::ParseExampleDocumentsL (  ) 
HBufC * CXmlExample::Copy8To16LC ( const TDesC8 &  aDes  ) 

Generated by  doxygen 1.6.2