Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_xml_example.html
changeset 1 25a17d01db0c
child 6 43e37759235e
equal deleted inserted replaced
0:89d6a7a84779 1:25a17d01db0c
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
       
     2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
       
     3 <title>TB10.1 Example Applications: CXmlExample Class Reference</title>
       
     4 <link href="doxygen.css" rel="stylesheet" type="text/css">
       
     5 <link href="tabs.css" rel="stylesheet" type="text/css">
       
     6 </head><body>
       
     7 <!-- Generated by Doxygen 1.5.3 -->
       
     8 <h1>CXmlExample Class Reference</h1><!-- doxytag: class="CXmlExample" -->
       
     9 <p>
       
    10 <a href="class_c_xml_example-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
       
    11 <tr><td></td></tr>
       
    12 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
       
    13 <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>
       
    14 
       
    15 <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)" -->
       
    16 void&nbsp;</td><td class="memItemRight" valign="bottom"><b>OnStartDocumentL</b> (const Xml::RDocumentParameters &amp;aDocParam, TInt aErrorCode)</td></tr>
       
    17 
       
    18 <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>
       
    19 
       
    20 <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)" -->
       
    21 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>
       
    22 
       
    23 <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)" -->
       
    24 void&nbsp;</td><td class="memItemRight" valign="bottom"><b>OnEndElementL</b> (const Xml::RTagInfo &amp;aElement, TInt aErrorCode)</td></tr>
       
    25 
       
    26 <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>
       
    27 
       
    28 <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>
       
    29 
       
    30 <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>
       
    31 
       
    32 <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>
       
    33 
       
    34 <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>
       
    35 
       
    36 <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>
       
    37 
       
    38 <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>
       
    39 
       
    40 <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>
       
    41 
       
    42 <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>
       
    43 
       
    44 <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>
       
    45 
       
    46 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
       
    47 <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>
       
    48 
       
    49 <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
       
    50 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fe22bbc6d97183cc767b0b8f8eea8de0"></a><!-- doxytag: member="CXmlExample::iLeaveOnStartElement" ref="fe22bbc6d97183cc767b0b8f8eea8de0" args="" -->
       
    51 TBool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#fe22bbc6d97183cc767b0b8f8eea8de0">iLeaveOnStartElement</a></td></tr>
       
    52 
       
    53 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="82410dd4af1904e2ca088f5bcdb775ff"></a><!-- doxytag: member="CXmlExample::iNumElements" ref="82410dd4af1904e2ca088f5bcdb775ff" args="" -->
       
    54 TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#82410dd4af1904e2ca088f5bcdb775ff">iNumElements</a></td></tr>
       
    55 
       
    56 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f828d9e309541e3c1a2b6090d9a43372"></a><!-- doxytag: member="CXmlExample::iNumSkippedEntities" ref="f828d9e309541e3c1a2b6090d9a43372" args="" -->
       
    57 TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#f828d9e309541e3c1a2b6090d9a43372">iNumSkippedEntities</a></td></tr>
       
    58 
       
    59 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dbffd226a168126a0f3e53fa9c8cfc0c"></a><!-- doxytag: member="CXmlExample::iNumPrefixMappings" ref="dbffd226a168126a0f3e53fa9c8cfc0c" args="" -->
       
    60 TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#dbffd226a168126a0f3e53fa9c8cfc0c">iNumPrefixMappings</a></td></tr>
       
    61 
       
    62 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ca8803b3aaaf84ff9f96172a1085159"></a><!-- doxytag: member="CXmlExample::iNumPrefixUnmappings" ref="5ca8803b3aaaf84ff9f96172a1085159" args="" -->
       
    63 TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#5ca8803b3aaaf84ff9f96172a1085159">iNumPrefixUnmappings</a></td></tr>
       
    64 
       
    65 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20bb87e96de3bbccc6071ed63929c940"></a><!-- doxytag: member="CXmlExample::iError" ref="20bb87e96de3bbccc6071ed63929c940" args="" -->
       
    66 TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#20bb87e96de3bbccc6071ed63929c940">iError</a></td></tr>
       
    67 
       
    68 </table>
       
    69 <hr><a name="_details"></a><h2>Detailed Description</h2>
       
    70 <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>
       
    71 <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. 
       
    72 <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>
       
    73 <hr><h2>Constructor &amp; Destructor Documentation</h2>
       
    74 <a class="anchor" name="0d8f9e8f410478bbbb83dbf831d9591f"></a><!-- doxytag: member="CXmlExample::~CXmlExample" ref="0d8f9e8f410478bbbb83dbf831d9591f" args="()" -->
       
    75 <div class="memitem">
       
    76 <div class="memproto">
       
    77       <table class="memname">
       
    78         <tr>
       
    79           <td class="memname">CXmlExample::~CXmlExample           </td>
       
    80           <td>(</td>
       
    81           <td class="paramname">          </td>
       
    82           <td>&nbsp;)&nbsp;</td>
       
    83           <td width="100%"></td>
       
    84         </tr>
       
    85       </table>
       
    86 </div>
       
    87 <div class="memdoc">
       
    88 
       
    89 <p>
       
    90 Destructor 
       
    91 <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>
       
    92 
       
    93 </div>
       
    94 </div><p>
       
    95 <hr><h2>Member Function Documentation</h2>
       
    96 <a class="anchor" name="9c72dee1761244c6964c76473995eba6"></a><!-- doxytag: member="CXmlExample::NewL" ref="9c72dee1761244c6964c76473995eba6" args="()" -->
       
    97 <div class="memitem">
       
    98 <div class="memproto">
       
    99       <table class="memname">
       
   100         <tr>
       
   101           <td class="memname"><a class="el" href="class_c_xml_example.html">CXmlExample</a> * CXmlExample::NewL           </td>
       
   102           <td>(</td>
       
   103           <td class="paramname">          </td>
       
   104           <td>&nbsp;)&nbsp;</td>
       
   105           <td width="100%"><code> [static]</code></td>
       
   106         </tr>
       
   107       </table>
       
   108 </div>
       
   109 <div class="memdoc">
       
   110 
       
   111 <p>
       
   112 Allocates and constructs a <a class="el" href="class_c_xml_example.html">CXmlExample</a> object. Initialises all member data to their default values. 
       
   113 <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>
       
   114 
       
   115 </div>
       
   116 </div><p>
       
   117 <a class="anchor" name="cb03c2dd56ed7b5dd3a4767caf310338"></a><!-- doxytag: member="CXmlExample::OnEndDocumentL" ref="cb03c2dd56ed7b5dd3a4767caf310338" args="(TInt aErrorCode)" -->
       
   118 <div class="memitem">
       
   119 <div class="memproto">
       
   120       <table class="memname">
       
   121         <tr>
       
   122           <td class="memname">void CXmlExample::OnEndDocumentL           </td>
       
   123           <td>(</td>
       
   124           <td class="paramtype">TInt&nbsp;</td>
       
   125           <td class="paramname"> <em>aErrorCode</em>          </td>
       
   126           <td>&nbsp;)&nbsp;</td>
       
   127           <td width="100%"></td>
       
   128         </tr>
       
   129       </table>
       
   130 </div>
       
   131 <div class="memdoc">
       
   132 
       
   133 <p>
       
   134 A callback to indicate the end of the document.<p>
       
   135 Implementation of the pure virtual function of MContentHandler.<p>
       
   136 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   137   <table border="0" cellspacing="2" cellpadding="0">
       
   138     <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>
       
   139   </table>
       
   140 </dl>
       
   141 
       
   142 <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>
       
   143 
       
   144 </div>
       
   145 </div><p>
       
   146 <a class="anchor" name="56eecc5c8dd07c3224f4b40901fe26a5"></a><!-- doxytag: member="CXmlExample::OnContentL" ref="56eecc5c8dd07c3224f4b40901fe26a5" args="(const TDesC8 &amp;aBytes, TInt aErrorCode)" -->
       
   147 <div class="memitem">
       
   148 <div class="memproto">
       
   149       <table class="memname">
       
   150         <tr>
       
   151           <td class="memname">void CXmlExample::OnContentL           </td>
       
   152           <td>(</td>
       
   153           <td class="paramtype">const TDesC8 &amp;&nbsp;</td>
       
   154           <td class="paramname"> <em>aData8</em>, </td>
       
   155         </tr>
       
   156         <tr>
       
   157           <td class="paramkey"></td>
       
   158           <td></td>
       
   159           <td class="paramtype">TInt&nbsp;</td>
       
   160           <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
       
   161         </tr>
       
   162         <tr>
       
   163           <td></td>
       
   164           <td>)</td>
       
   165           <td></td><td></td><td width="100%"></td>
       
   166         </tr>
       
   167       </table>
       
   168 </div>
       
   169 <div class="memdoc">
       
   170 
       
   171 <p>
       
   172 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>
       
   173 Implementation of the pure virtual function of MContentHandler.<p>
       
   174 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   175   <table border="0" cellspacing="2" cellpadding="0">
       
   176     <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>
       
   177     <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>
       
   178   </table>
       
   179 </dl>
       
   180 
       
   181 <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>
       
   182 
       
   183 </div>
       
   184 </div><p>
       
   185 <a class="anchor" name="47b6d6f836f9f624e79304830bdcda4c"></a><!-- doxytag: member="CXmlExample::OnStartPrefixMappingL" ref="47b6d6f836f9f624e79304830bdcda4c" args="(const RString &amp;aPrefix, const RString &amp;aUri, TInt aErrorCode)" -->
       
   186 <div class="memitem">
       
   187 <div class="memproto">
       
   188       <table class="memname">
       
   189         <tr>
       
   190           <td class="memname">void CXmlExample::OnStartPrefixMappingL           </td>
       
   191           <td>(</td>
       
   192           <td class="paramtype">const RString &amp;&nbsp;</td>
       
   193           <td class="paramname"> <em>aPrefix</em>, </td>
       
   194         </tr>
       
   195         <tr>
       
   196           <td class="paramkey"></td>
       
   197           <td></td>
       
   198           <td class="paramtype">const RString &amp;&nbsp;</td>
       
   199           <td class="paramname"> <em>aUri</em>, </td>
       
   200         </tr>
       
   201         <tr>
       
   202           <td class="paramkey"></td>
       
   203           <td></td>
       
   204           <td class="paramtype">TInt&nbsp;</td>
       
   205           <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
       
   206         </tr>
       
   207         <tr>
       
   208           <td></td>
       
   209           <td>)</td>
       
   210           <td></td><td></td><td width="100%"></td>
       
   211         </tr>
       
   212       </table>
       
   213 </div>
       
   214 <div class="memdoc">
       
   215 
       
   216 <p>
       
   217 A notification of the beginning of the scope of a prefix-URI Namespace mapping. Always called before the corresponding OnStartElementL method.<p>
       
   218 Implementation of the pure virtual function of MContentHandler.<p>
       
   219 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   220   <table border="0" cellspacing="2" cellpadding="0">
       
   221     <tr><td valign="top"></td><td valign="top"><em>aPrefix</em>&nbsp;</td><td>The Namespace prefix being declared. </td></tr>
       
   222     <tr><td valign="top"></td><td valign="top"><em>aUri</em>&nbsp;</td><td>The Namespace URI the prefix is mapped to. </td></tr>
       
   223     <tr><td valign="top"></td><td valign="top"><em>aErrorCode</em>&nbsp;</td><td>The error code.  KErrNotSupported </td></tr>
       
   224   </table>
       
   225 </dl>
       
   226 
       
   227 <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>
       
   228 
       
   229 </div>
       
   230 </div><p>
       
   231 <a class="anchor" name="d7990a11e5d278a2107808c64e6374d4"></a><!-- doxytag: member="CXmlExample::OnEndPrefixMappingL" ref="d7990a11e5d278a2107808c64e6374d4" args="(const RString &amp;aPrefix, TInt aErrorCode)" -->
       
   232 <div class="memitem">
       
   233 <div class="memproto">
       
   234       <table class="memname">
       
   235         <tr>
       
   236           <td class="memname">void CXmlExample::OnEndPrefixMappingL           </td>
       
   237           <td>(</td>
       
   238           <td class="paramtype">const RString &amp;&nbsp;</td>
       
   239           <td class="paramname"> <em>aPrefix</em>, </td>
       
   240         </tr>
       
   241         <tr>
       
   242           <td class="paramkey"></td>
       
   243           <td></td>
       
   244           <td class="paramtype">TInt&nbsp;</td>
       
   245           <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
       
   246         </tr>
       
   247         <tr>
       
   248           <td></td>
       
   249           <td>)</td>
       
   250           <td></td><td></td><td width="100%"></td>
       
   251         </tr>
       
   252       </table>
       
   253 </div>
       
   254 <div class="memdoc">
       
   255 
       
   256 <p>
       
   257 Notification of the end of the scope of a prefix-URI mapping. 
       
   258 <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>
       
   259 
       
   260 </div>
       
   261 </div><p>
       
   262 <a class="anchor" name="576bd451612113613f1d27a7969940f1"></a><!-- doxytag: member="CXmlExample::OnIgnorableWhiteSpaceL" ref="576bd451612113613f1d27a7969940f1" args="(const TDesC8 &amp;aBytes, TInt aErrorCode)" -->
       
   263 <div class="memitem">
       
   264 <div class="memproto">
       
   265       <table class="memname">
       
   266         <tr>
       
   267           <td class="memname">void CXmlExample::OnIgnorableWhiteSpaceL           </td>
       
   268           <td>(</td>
       
   269           <td class="paramtype">const TDesC8 &amp;&nbsp;</td>
       
   270           <td class="paramname"> <em>aBytes</em>, </td>
       
   271         </tr>
       
   272         <tr>
       
   273           <td class="paramkey"></td>
       
   274           <td></td>
       
   275           <td class="paramtype">TInt&nbsp;</td>
       
   276           <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
       
   277         </tr>
       
   278         <tr>
       
   279           <td></td>
       
   280           <td>)</td>
       
   281           <td></td><td></td><td width="100%"></td>
       
   282         </tr>
       
   283       </table>
       
   284 </div>
       
   285 <div class="memdoc">
       
   286 
       
   287 <p>
       
   288 A notification of ignorable whitespace in element content. 
       
   289 <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>
       
   290 
       
   291 </div>
       
   292 </div><p>
       
   293 <a class="anchor" name="2eb7370a3adbe8ea81037b731029bba4"></a><!-- doxytag: member="CXmlExample::OnSkippedEntityL" ref="2eb7370a3adbe8ea81037b731029bba4" args="(const RString &amp;aName, TInt aErrorCode)" -->
       
   294 <div class="memitem">
       
   295 <div class="memproto">
       
   296       <table class="memname">
       
   297         <tr>
       
   298           <td class="memname">void CXmlExample::OnSkippedEntityL           </td>
       
   299           <td>(</td>
       
   300           <td class="paramtype">const RString &amp;&nbsp;</td>
       
   301           <td class="paramname"> <em>aName</em>, </td>
       
   302         </tr>
       
   303         <tr>
       
   304           <td class="paramkey"></td>
       
   305           <td></td>
       
   306           <td class="paramtype">TInt&nbsp;</td>
       
   307           <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
       
   308         </tr>
       
   309         <tr>
       
   310           <td></td>
       
   311           <td>)</td>
       
   312           <td></td><td></td><td width="100%"></td>
       
   313         </tr>
       
   314       </table>
       
   315 </div>
       
   316 <div class="memdoc">
       
   317 
       
   318 <p>
       
   319 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>
       
   320 Implementation of the pure virtual function of MContentHandler.<p>
       
   321 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   322   <table border="0" cellspacing="2" cellpadding="0">
       
   323     <tr><td valign="top"></td><td valign="top"><em>aName</em>&nbsp;</td><td>Name of the skipped entity. </td></tr>
       
   324     <tr><td valign="top"></td><td valign="top"><em>aErrorCode</em>&nbsp;</td><td>The error code.  KErrNotSupported </td></tr>
       
   325   </table>
       
   326 </dl>
       
   327 
       
   328 <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>
       
   329 
       
   330 </div>
       
   331 </div><p>
       
   332 <a class="anchor" name="e95465e04bbefde583285c9109ec1bd6"></a><!-- doxytag: member="CXmlExample::OnProcessingInstructionL" ref="e95465e04bbefde583285c9109ec1bd6" args="(const TDesC8 &amp;aTarget, const TDesC8 &amp;aData, TInt aErrorCode)" -->
       
   333 <div class="memitem">
       
   334 <div class="memproto">
       
   335       <table class="memname">
       
   336         <tr>
       
   337           <td class="memname">void CXmlExample::OnProcessingInstructionL           </td>
       
   338           <td>(</td>
       
   339           <td class="paramtype">const TDesC8 &amp;&nbsp;</td>
       
   340           <td class="paramname"> <em>aTarget8</em>, </td>
       
   341         </tr>
       
   342         <tr>
       
   343           <td class="paramkey"></td>
       
   344           <td></td>
       
   345           <td class="paramtype">const TDesC8 &amp;&nbsp;</td>
       
   346           <td class="paramname"> <em>aData8</em>, </td>
       
   347         </tr>
       
   348         <tr>
       
   349           <td class="paramkey"></td>
       
   350           <td></td>
       
   351           <td class="paramtype">TInt&nbsp;</td>
       
   352           <td class="paramname"> <em>aErrorCode</em></td><td>&nbsp;</td>
       
   353         </tr>
       
   354         <tr>
       
   355           <td></td>
       
   356           <td>)</td>
       
   357           <td></td><td></td><td width="100%"></td>
       
   358         </tr>
       
   359       </table>
       
   360 </div>
       
   361 <div class="memdoc">
       
   362 
       
   363 <p>
       
   364 A receive notification of a processing instruction. It prints the target and data to the console.<p>
       
   365 Implementation of the pure virtual function of MContentHandler.<p>
       
   366 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   367   <table border="0" cellspacing="2" cellpadding="0">
       
   368     <tr><td valign="top"></td><td valign="top"><em>aTarget</em>&nbsp;</td><td>The processing instruction target. </td></tr>
       
   369     <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>
       
   370     <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>
       
   371   </table>
       
   372 </dl>
       
   373 
       
   374 <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>
       
   375 
       
   376 </div>
       
   377 </div><p>
       
   378 <a class="anchor" name="23c27211b331f46bc296a65aa3541bcf"></a><!-- doxytag: member="CXmlExample::OnError" ref="23c27211b331f46bc296a65aa3541bcf" args="(TInt aErrorCode)" -->
       
   379 <div class="memitem">
       
   380 <div class="memproto">
       
   381       <table class="memname">
       
   382         <tr>
       
   383           <td class="memname">void CXmlExample::OnError           </td>
       
   384           <td>(</td>
       
   385           <td class="paramtype">TInt&nbsp;</td>
       
   386           <td class="paramname"> <em>aError</em>          </td>
       
   387           <td>&nbsp;)&nbsp;</td>
       
   388           <td width="100%"></td>
       
   389         </tr>
       
   390       </table>
       
   391 </div>
       
   392 <div class="memdoc">
       
   393 
       
   394 <p>
       
   395 Implementation of the pure virtual function of MContentHandler. Indicates that an error has occurred.<p>
       
   396 <dl compact><dt><b>Parameters:</b></dt><dd>
       
   397   <table border="0" cellspacing="2" cellpadding="0">
       
   398     <tr><td valign="top"></td><td valign="top"><em>aError</em>&nbsp;</td><td>The error code </td></tr>
       
   399   </table>
       
   400 </dl>
       
   401 
       
   402 <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>
       
   403 
       
   404 </div>
       
   405 </div><p>
       
   406 <a class="anchor" name="e79e3ab9f68abb8f6f953a90e8d552ee"></a><!-- doxytag: member="CXmlExample::GetExtendedInterface" ref="e79e3ab9f68abb8f6f953a90e8d552ee" args="(const TInt32 aUid)" -->
       
   407 <div class="memitem">
       
   408 <div class="memproto">
       
   409       <table class="memname">
       
   410         <tr>
       
   411           <td class="memname">TAny * CXmlExample::GetExtendedInterface           </td>
       
   412           <td>(</td>
       
   413           <td class="paramtype">const TInt32&nbsp;</td>
       
   414           <td class="paramname"> <em>aUid</em>          </td>
       
   415           <td>&nbsp;)&nbsp;</td>
       
   416           <td width="100%"></td>
       
   417         </tr>
       
   418       </table>
       
   419 </div>
       
   420 <div class="memdoc">
       
   421 
       
   422 <p>
       
   423 Obtain the interface matching the specified uid. 
       
   424 <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>
       
   425 
       
   426 </div>
       
   427 </div><p>
       
   428 <a class="anchor" name="3b6c99c50e79b71fbd83341a19fe2d73"></a><!-- doxytag: member="CXmlExample::ParseExampleDocumentsL" ref="3b6c99c50e79b71fbd83341a19fe2d73" args="()" -->
       
   429 <div class="memitem">
       
   430 <div class="memproto">
       
   431       <table class="memname">
       
   432         <tr>
       
   433           <td class="memname">void CXmlExample::ParseExampleDocumentsL           </td>
       
   434           <td>(</td>
       
   435           <td class="paramname">          </td>
       
   436           <td>&nbsp;)&nbsp;</td>
       
   437           <td width="100%"></td>
       
   438         </tr>
       
   439       </table>
       
   440 </div>
       
   441 <div class="memdoc">
       
   442 
       
   443 <p>
       
   444 Passes an XML and a WBXML file to the framework for parsing. 
       
   445 <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>
       
   446 
       
   447 </div>
       
   448 </div><p>
       
   449 <a class="anchor" name="5a29447b6066d26a5eafcbd5164e4bc9"></a><!-- doxytag: member="CXmlExample::Copy8To16LC" ref="5a29447b6066d26a5eafcbd5164e4bc9" args="(const TDesC8 &amp;aDes)" -->
       
   450 <div class="memitem">
       
   451 <div class="memproto">
       
   452       <table class="memname">
       
   453         <tr>
       
   454           <td class="memname">HBufC * CXmlExample::Copy8To16LC           </td>
       
   455           <td>(</td>
       
   456           <td class="paramtype">const TDesC8 &amp;&nbsp;</td>
       
   457           <td class="paramname"> <em>aDes</em>          </td>
       
   458           <td>&nbsp;)&nbsp;</td>
       
   459           <td width="100%"></td>
       
   460         </tr>
       
   461       </table>
       
   462 </div>
       
   463 <div class="memdoc">
       
   464 
       
   465 <p>
       
   466 Copies 8 bit descriptor data to 16 bit descriptor  KErrNoMemory, User 11 
       
   467 <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>
       
   468 
       
   469 </div>
       
   470 </div><p>
       
   471 <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;
       
   472 <a href="http://www.doxygen.org/index.html">
       
   473 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
       
   474 </body>
       
   475 </html>