Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_xml_example.html
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Fri, 22 Jan 2010 18:26:19 +0000
changeset 1 25a17d01db0c
child 6 43e37759235e
permissions -rw-r--r--
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>TB10.1 Example Applications: CXmlExample Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.3 -->
<h1>CXmlExample Class Reference</h1><!-- doxytag: class="CXmlExample" -->
<p>
<a href="class_c_xml_example-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#0d8f9e8f410478bbbb83dbf831d9591f">~CXmlExample</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="84beca7240a6becb2b801d6a1b1644e3"></a><!-- doxytag: member="CXmlExample::OnStartDocumentL" ref="84beca7240a6becb2b801d6a1b1644e3" args="(const Xml::RDocumentParameters &amp;aDocParam, TInt aErrorCode)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>OnStartDocumentL</b> (const Xml::RDocumentParameters &amp;aDocParam, TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#cb03c2dd56ed7b5dd3a4767caf310338">OnEndDocumentL</a> (TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dace6a858b2a369d155d711be7bddcbf"></a><!-- doxytag: member="CXmlExample::OnStartElementL" ref="dace6a858b2a369d155d711be7bddcbf" args="(const Xml::RTagInfo &amp;aElement, const Xml::RAttributeArray &amp;aAttributes, TInt aErrorCode)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>OnStartElementL</b> (const Xml::RTagInfo &amp;aElement, const Xml::RAttributeArray &amp;aAttributes, TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3e98d4cb0cf8370b4695300ee0b7d9b5"></a><!-- doxytag: member="CXmlExample::OnEndElementL" ref="3e98d4cb0cf8370b4695300ee0b7d9b5" args="(const Xml::RTagInfo &amp;aElement, TInt aErrorCode)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>OnEndElementL</b> (const Xml::RTagInfo &amp;aElement, TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#56eecc5c8dd07c3224f4b40901fe26a5">OnContentL</a> (const TDesC8 &amp;aBytes, TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#47b6d6f836f9f624e79304830bdcda4c">OnStartPrefixMappingL</a> (const RString &amp;aPrefix, const RString &amp;aUri, TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#d7990a11e5d278a2107808c64e6374d4">OnEndPrefixMappingL</a> (const RString &amp;aPrefix, TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#576bd451612113613f1d27a7969940f1">OnIgnorableWhiteSpaceL</a> (const TDesC8 &amp;aBytes, TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#2eb7370a3adbe8ea81037b731029bba4">OnSkippedEntityL</a> (const RString &amp;aName, TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#e95465e04bbefde583285c9109ec1bd6">OnProcessingInstructionL</a> (const TDesC8 &amp;aTarget, const TDesC8 &amp;aData, TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#23c27211b331f46bc296a65aa3541bcf">OnError</a> (TInt aErrorCode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">TAny *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#e79e3ab9f68abb8f6f953a90e8d552ee">GetExtendedInterface</a> (const TInt32 aUid)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#3b6c99c50e79b71fbd83341a19fe2d73">ParseExampleDocumentsL</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">HBufC *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#5a29447b6066d26a5eafcbd5164e4bc9">Copy8To16LC</a> (const TDesC8 &amp;aDes)</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_xml_example.html">CXmlExample</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#9c72dee1761244c6964c76473995eba6">NewL</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fe22bbc6d97183cc767b0b8f8eea8de0"></a><!-- doxytag: member="CXmlExample::iLeaveOnStartElement" ref="fe22bbc6d97183cc767b0b8f8eea8de0" args="" -->
TBool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#fe22bbc6d97183cc767b0b8f8eea8de0">iLeaveOnStartElement</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="82410dd4af1904e2ca088f5bcdb775ff"></a><!-- doxytag: member="CXmlExample::iNumElements" ref="82410dd4af1904e2ca088f5bcdb775ff" args="" -->
TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#82410dd4af1904e2ca088f5bcdb775ff">iNumElements</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f828d9e309541e3c1a2b6090d9a43372"></a><!-- doxytag: member="CXmlExample::iNumSkippedEntities" ref="f828d9e309541e3c1a2b6090d9a43372" args="" -->
TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#f828d9e309541e3c1a2b6090d9a43372">iNumSkippedEntities</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dbffd226a168126a0f3e53fa9c8cfc0c"></a><!-- doxytag: member="CXmlExample::iNumPrefixMappings" ref="dbffd226a168126a0f3e53fa9c8cfc0c" args="" -->
TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#dbffd226a168126a0f3e53fa9c8cfc0c">iNumPrefixMappings</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ca8803b3aaaf84ff9f96172a1085159"></a><!-- doxytag: member="CXmlExample::iNumPrefixUnmappings" ref="5ca8803b3aaaf84ff9f96172a1085159" args="" -->
TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#5ca8803b3aaaf84ff9f96172a1085159">iNumPrefixUnmappings</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20bb87e96de3bbccc6071ed63929c940"></a><!-- doxytag: member="CXmlExample::iError" ref="20bb87e96de3bbccc6071ed63929c940" args="" -->
TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#20bb87e96de3bbccc6071ed63929c940">iError</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="class_c_xml_example.html">CXmlExample</a> demonstrates the usage of the XML Framework to parse an XML and WBXML file.<p>
<a class="el" href="class_c_xml_example.html">CXmlExample</a> implements the XML Framework's MContentHandler interface, which the parser calls to notify the application of parsing events, such as the start of elements. 
<p>Definition at line <a class="el" href="xmlexample_8h-source.html#l00031">31</a> of file <a class="el" href="xmlexample_8h-source.html">xmlexample.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="0d8f9e8f410478bbbb83dbf831d9591f"></a><!-- doxytag: member="CXmlExample::~CXmlExample" ref="0d8f9e8f410478bbbb83dbf831d9591f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CXmlExample::~CXmlExample           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor 
<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00092">92</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="9c72dee1761244c6964c76473995eba6"></a><!-- doxytag: member="CXmlExample::NewL" ref="9c72dee1761244c6964c76473995eba6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_xml_example.html">CXmlExample</a> * CXmlExample::NewL           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Allocates and constructs a <a class="el" href="class_c_xml_example.html">CXmlExample</a> object. Initialises all member data to their default values. 
<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00068">68</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="cb03c2dd56ed7b5dd3a4767caf310338"></a><!-- doxytag: member="CXmlExample::OnEndDocumentL" ref="cb03c2dd56ed7b5dd3a4767caf310338" args="(TInt aErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CXmlExample::OnEndDocumentL           </td>
          <td>(</td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aErrorCode</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A callback to indicate the end of the document.<p>
Implementation of the pure virtual function of MContentHandler.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aErrorCode</em>&nbsp;</td><td>The error code.  If aErrorCode is not KErrNone, the function leaves. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00130">130</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="56eecc5c8dd07c3224f4b40901fe26a5"></a><!-- doxytag: member="CXmlExample::OnContentL" ref="56eecc5c8dd07c3224f4b40901fe26a5" args="(const TDesC8 &amp;aBytes, TInt aErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CXmlExample::OnContentL           </td>
          <td>(</td>
          <td class="paramtype">const TDesC8 &amp;&nbsp;</td>
          <td class="paramname"> <em>aData8</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A callback that sends the content of the element and prints element content data to the console. 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.<p>
Implementation of the pure virtual function of MContentHandler.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aData8</em>&nbsp;</td><td>The raw content data for the element. The client is responsible for converting the data to the required character set if necessary. In some instances the content may be binary and must not be converted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aErrorCode</em>&nbsp;</td><td>The error code.  If aErrorCode is not KErrNone, the function leaves. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00228">228</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="47b6d6f836f9f624e79304830bdcda4c"></a><!-- doxytag: member="CXmlExample::OnStartPrefixMappingL" ref="47b6d6f836f9f624e79304830bdcda4c" args="(const RString &amp;aPrefix, const RString &amp;aUri, TInt aErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CXmlExample::OnStartPrefixMappingL           </td>
          <td>(</td>
          <td class="paramtype">const RString &amp;&nbsp;</td>
          <td class="paramname"> <em>aPrefix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const RString &amp;&nbsp;</td>
          <td class="paramname"> <em>aUri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A notification of the beginning of the scope of a prefix-URI Namespace mapping. Always called before the corresponding OnStartElementL method.<p>
Implementation of the pure virtual function of MContentHandler.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aPrefix</em>&nbsp;</td><td>The Namespace prefix being declared. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aUri</em>&nbsp;</td><td>The Namespace URI the prefix is mapped to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aErrorCode</em>&nbsp;</td><td>The error code.  KErrNotSupported </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00300">300</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="d7990a11e5d278a2107808c64e6374d4"></a><!-- doxytag: member="CXmlExample::OnEndPrefixMappingL" ref="d7990a11e5d278a2107808c64e6374d4" args="(const RString &amp;aPrefix, TInt aErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CXmlExample::OnEndPrefixMappingL           </td>
          <td>(</td>
          <td class="paramtype">const RString &amp;&nbsp;</td>
          <td class="paramname"> <em>aPrefix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Notification of the end of the scope of a prefix-URI mapping. 
<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00319">319</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="576bd451612113613f1d27a7969940f1"></a><!-- doxytag: member="CXmlExample::OnIgnorableWhiteSpaceL" ref="576bd451612113613f1d27a7969940f1" args="(const TDesC8 &amp;aBytes, TInt aErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CXmlExample::OnIgnorableWhiteSpaceL           </td>
          <td>(</td>
          <td class="paramtype">const TDesC8 &amp;&nbsp;</td>
          <td class="paramname"> <em>aBytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A notification of ignorable whitespace in element content. 
<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00331">331</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="2eb7370a3adbe8ea81037b731029bba4"></a><!-- doxytag: member="CXmlExample::OnSkippedEntityL" ref="2eb7370a3adbe8ea81037b731029bba4" args="(const RString &amp;aName, TInt aErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CXmlExample::OnSkippedEntityL           </td>
          <td>(</td>
          <td class="paramtype">const RString &amp;&nbsp;</td>
          <td class="paramname"> <em>aName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
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.<p>
Implementation of the pure virtual function of MContentHandler.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aName</em>&nbsp;</td><td>Name of the skipped entity. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aErrorCode</em>&nbsp;</td><td>The error code.  KErrNotSupported </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00347">347</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="e95465e04bbefde583285c9109ec1bd6"></a><!-- doxytag: member="CXmlExample::OnProcessingInstructionL" ref="e95465e04bbefde583285c9109ec1bd6" args="(const TDesC8 &amp;aTarget, const TDesC8 &amp;aData, TInt aErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CXmlExample::OnProcessingInstructionL           </td>
          <td>(</td>
          <td class="paramtype">const TDesC8 &amp;&nbsp;</td>
          <td class="paramname"> <em>aTarget8</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TDesC8 &amp;&nbsp;</td>
          <td class="paramname"> <em>aData8</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A receive notification of a processing instruction. It prints the target and data to the console.<p>
Implementation of the pure virtual function of MContentHandler.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aTarget</em>&nbsp;</td><td>The processing instruction target. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aData</em>&nbsp;</td><td>The processing instruction data. If empty, none was supplied. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aErrorCode</em>&nbsp;</td><td>The error code.  If aErrorCode is not KErrNone, the function leaves. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00252">252</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="23c27211b331f46bc296a65aa3541bcf"></a><!-- doxytag: member="CXmlExample::OnError" ref="23c27211b331f46bc296a65aa3541bcf" args="(TInt aErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CXmlExample::OnError           </td>
          <td>(</td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aError</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Implementation of the pure virtual function of MContentHandler. Indicates that an error has occurred.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aError</em>&nbsp;</td><td>The error code </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00272">272</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="e79e3ab9f68abb8f6f953a90e8d552ee"></a><!-- doxytag: member="CXmlExample::GetExtendedInterface" ref="e79e3ab9f68abb8f6f953a90e8d552ee" args="(const TInt32 aUid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TAny * CXmlExample::GetExtendedInterface           </td>
          <td>(</td>
          <td class="paramtype">const TInt32&nbsp;</td>
          <td class="paramname"> <em>aUid</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Obtain the interface matching the specified uid. 
<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00283">283</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="3b6c99c50e79b71fbd83341a19fe2d73"></a><!-- doxytag: member="CXmlExample::ParseExampleDocumentsL" ref="3b6c99c50e79b71fbd83341a19fe2d73" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CXmlExample::ParseExampleDocumentsL           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Passes an XML and a WBXML file to the framework for parsing. 
<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00362">362</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="5a29447b6066d26a5eafcbd5164e4bc9"></a><!-- doxytag: member="CXmlExample::Copy8To16LC" ref="5a29447b6066d26a5eafcbd5164e4bc9" args="(const TDesC8 &amp;aDes)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HBufC * CXmlExample::Copy8To16LC           </td>
          <td>(</td>
          <td class="paramtype">const TDesC8 &amp;&nbsp;</td>
          <td class="paramname"> <em>aDes</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copies 8 bit descriptor data to 16 bit descriptor  KErrNoMemory, User 11 
<p>Definition at line <a class="el" href="xmlexample_8cpp-source.html#l00205">205</a> of file <a class="el" href="xmlexample_8cpp-source.html">xmlexample.cpp</a>.</p>

</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:08 2010 for TB10.1 Example Applications by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>