1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
3 <title>TB10.1 Example Applications: CXmlExample Class Reference</title> |
3 <head> |
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
5 <title>TB9.2 Example Applications: CXmlExample Class Reference</title> |
6 </head><body> |
6 <link href="tabs.css" rel="stylesheet" type="text/css"/> |
7 <!-- Generated by Doxygen 1.5.3 --> |
7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
|
8 </head> |
|
9 <body> |
|
10 <!-- Generated by Doxygen 1.6.2 --> |
|
11 <div class="contents"> |
8 <h1>CXmlExample Class Reference</h1><!-- doxytag: class="CXmlExample" --> |
12 <h1>CXmlExample Class Reference</h1><!-- doxytag: class="CXmlExample" --> |
9 <p> |
13 <p><a href="class_c_xml_example-members.html">List of all members.</a></p> |
10 <a href="class_c_xml_example-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
14 <table border="0" cellpadding="0" cellspacing="0"> |
11 <tr><td></td></tr> |
15 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
12 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
16 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#a0d8f9e8f410478bbbb83dbf831d9591f">~CXmlExample</a> ()</td></tr> |
13 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#0d8f9e8f410478bbbb83dbf831d9591f">~CXmlExample</a> ()</td></tr> |
17 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a84beca7240a6becb2b801d6a1b1644e3"></a><!-- doxytag: member="CXmlExample::OnStartDocumentL" ref="a84beca7240a6becb2b801d6a1b1644e3" args="(const Xml::RDocumentParameters &aDocParam, TInt aErrorCode)" --> |
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 &aDocParam, TInt aErrorCode)" --> |
|
16 void </td><td class="memItemRight" valign="bottom"><b>OnStartDocumentL</b> (const Xml::RDocumentParameters &aDocParam, TInt aErrorCode)</td></tr> |
18 void </td><td class="memItemRight" valign="bottom"><b>OnStartDocumentL</b> (const Xml::RDocumentParameters &aDocParam, TInt aErrorCode)</td></tr> |
17 |
19 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#acb03c2dd56ed7b5dd3a4767caf310338">OnEndDocumentL</a> (TInt aErrorCode)</td></tr> |
18 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#cb03c2dd56ed7b5dd3a4767caf310338">OnEndDocumentL</a> (TInt aErrorCode)</td></tr> |
20 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adace6a858b2a369d155d711be7bddcbf"></a><!-- doxytag: member="CXmlExample::OnStartElementL" ref="adace6a858b2a369d155d711be7bddcbf" args="(const Xml::RTagInfo &aElement, const Xml::RAttributeArray &aAttributes, TInt aErrorCode)" --> |
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 &aElement, const Xml::RAttributeArray &aAttributes, TInt aErrorCode)" --> |
|
21 void </td><td class="memItemRight" valign="bottom"><b>OnStartElementL</b> (const Xml::RTagInfo &aElement, const Xml::RAttributeArray &aAttributes, TInt aErrorCode)</td></tr> |
21 void </td><td class="memItemRight" valign="bottom"><b>OnStartElementL</b> (const Xml::RTagInfo &aElement, const Xml::RAttributeArray &aAttributes, TInt aErrorCode)</td></tr> |
22 |
22 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e98d4cb0cf8370b4695300ee0b7d9b5"></a><!-- doxytag: member="CXmlExample::OnEndElementL" ref="a3e98d4cb0cf8370b4695300ee0b7d9b5" args="(const Xml::RTagInfo &aElement, TInt aErrorCode)" --> |
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 &aElement, TInt aErrorCode)" --> |
|
24 void </td><td class="memItemRight" valign="bottom"><b>OnEndElementL</b> (const Xml::RTagInfo &aElement, TInt aErrorCode)</td></tr> |
23 void </td><td class="memItemRight" valign="bottom"><b>OnEndElementL</b> (const Xml::RTagInfo &aElement, TInt aErrorCode)</td></tr> |
25 |
24 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#a56eecc5c8dd07c3224f4b40901fe26a5">OnContentL</a> (const TDesC8 &aBytes, TInt aErrorCode)</td></tr> |
26 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#56eecc5c8dd07c3224f4b40901fe26a5">OnContentL</a> (const TDesC8 &aBytes, TInt aErrorCode)</td></tr> |
25 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#a47b6d6f836f9f624e79304830bdcda4c">OnStartPrefixMappingL</a> (const RString &aPrefix, const RString &aUri, TInt aErrorCode)</td></tr> |
27 |
26 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#ad7990a11e5d278a2107808c64e6374d4">OnEndPrefixMappingL</a> (const RString &aPrefix, TInt aErrorCode)</td></tr> |
28 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#47b6d6f836f9f624e79304830bdcda4c">OnStartPrefixMappingL</a> (const RString &aPrefix, const RString &aUri, TInt aErrorCode)</td></tr> |
27 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#a576bd451612113613f1d27a7969940f1">OnIgnorableWhiteSpaceL</a> (const TDesC8 &aBytes, TInt aErrorCode)</td></tr> |
29 |
28 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#a2eb7370a3adbe8ea81037b731029bba4">OnSkippedEntityL</a> (const RString &aName, TInt aErrorCode)</td></tr> |
30 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#d7990a11e5d278a2107808c64e6374d4">OnEndPrefixMappingL</a> (const RString &aPrefix, TInt aErrorCode)</td></tr> |
29 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#ae95465e04bbefde583285c9109ec1bd6">OnProcessingInstructionL</a> (const TDesC8 &aTarget, const TDesC8 &aData, TInt aErrorCode)</td></tr> |
31 |
30 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#a23c27211b331f46bc296a65aa3541bcf">OnError</a> (TInt aErrorCode)</td></tr> |
32 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#576bd451612113613f1d27a7969940f1">OnIgnorableWhiteSpaceL</a> (const TDesC8 &aBytes, TInt aErrorCode)</td></tr> |
31 <tr><td class="memItemLeft" align="right" valign="top">TAny * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#ae79e3ab9f68abb8f6f953a90e8d552ee">GetExtendedInterface</a> (const TInt32 aUid)</td></tr> |
33 |
32 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#a3b6c99c50e79b71fbd83341a19fe2d73">ParseExampleDocumentsL</a> ()</td></tr> |
34 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#2eb7370a3adbe8ea81037b731029bba4">OnSkippedEntityL</a> (const RString &aName, TInt aErrorCode)</td></tr> |
33 <tr><td class="memItemLeft" align="right" valign="top">HBufC * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#a5a29447b6066d26a5eafcbd5164e4bc9">Copy8To16LC</a> (const TDesC8 &aDes)</td></tr> |
35 |
34 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> |
36 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#e95465e04bbefde583285c9109ec1bd6">OnProcessingInstructionL</a> (const TDesC8 &aTarget, const TDesC8 &aData, TInt aErrorCode)</td></tr> |
35 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_xml_example.html">CXmlExample</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#a9c72dee1761244c6964c76473995eba6">NewL</a> ()</td></tr> |
37 |
36 <tr><td colspan="2"><h2>Public Attributes</h2></td></tr> |
38 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#23c27211b331f46bc296a65aa3541bcf">OnError</a> (TInt aErrorCode)</td></tr> |
37 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afe22bbc6d97183cc767b0b8f8eea8de0"></a><!-- doxytag: member="CXmlExample::iLeaveOnStartElement" ref="afe22bbc6d97183cc767b0b8f8eea8de0" args="" --> |
39 |
38 TBool </td><td class="memItemRight" valign="bottom"><b>iLeaveOnStartElement</b></td></tr> |
40 <tr><td class="memItemLeft" nowrap align="right" valign="top">TAny * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#e79e3ab9f68abb8f6f953a90e8d552ee">GetExtendedInterface</a> (const TInt32 aUid)</td></tr> |
39 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82410dd4af1904e2ca088f5bcdb775ff"></a><!-- doxytag: member="CXmlExample::iNumElements" ref="a82410dd4af1904e2ca088f5bcdb775ff" args="" --> |
41 |
40 TInt </td><td class="memItemRight" valign="bottom"><b>iNumElements</b></td></tr> |
42 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#3b6c99c50e79b71fbd83341a19fe2d73">ParseExampleDocumentsL</a> ()</td></tr> |
41 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af828d9e309541e3c1a2b6090d9a43372"></a><!-- doxytag: member="CXmlExample::iNumSkippedEntities" ref="af828d9e309541e3c1a2b6090d9a43372" args="" --> |
43 |
42 TInt </td><td class="memItemRight" valign="bottom"><b>iNumSkippedEntities</b></td></tr> |
44 <tr><td class="memItemLeft" nowrap align="right" valign="top">HBufC * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#5a29447b6066d26a5eafcbd5164e4bc9">Copy8To16LC</a> (const TDesC8 &aDes)</td></tr> |
43 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adbffd226a168126a0f3e53fa9c8cfc0c"></a><!-- doxytag: member="CXmlExample::iNumPrefixMappings" ref="adbffd226a168126a0f3e53fa9c8cfc0c" args="" --> |
45 |
44 TInt </td><td class="memItemRight" valign="bottom"><b>iNumPrefixMappings</b></td></tr> |
46 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> |
45 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5ca8803b3aaaf84ff9f96172a1085159"></a><!-- doxytag: member="CXmlExample::iNumPrefixUnmappings" ref="a5ca8803b3aaaf84ff9f96172a1085159" args="" --> |
47 <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_xml_example.html">CXmlExample</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#9c72dee1761244c6964c76473995eba6">NewL</a> ()</td></tr> |
46 TInt </td><td class="memItemRight" valign="bottom"><b>iNumPrefixUnmappings</b></td></tr> |
48 |
47 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20bb87e96de3bbccc6071ed63929c940"></a><!-- doxytag: member="CXmlExample::iError" ref="a20bb87e96de3bbccc6071ed63929c940" args="" --> |
49 <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
48 TInt </td><td class="memItemRight" valign="bottom"><b>iError</b></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 </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 </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 </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 </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 </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_xml_example.html#20bb87e96de3bbccc6071ed63929c940">iError</a></td></tr> |
|
67 |
|
68 </table> |
49 </table> |
69 <hr><a name="_details"></a><h2>Detailed Description</h2> |
50 <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> |
51 <p><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. |
52 <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> |
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> |
53 |
73 <hr><h2>Constructor & Destructor Documentation</h2> |
54 <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> |
74 <a class="anchor" name="0d8f9e8f410478bbbb83dbf831d9591f"></a><!-- doxytag: member="CXmlExample::~CXmlExample" ref="0d8f9e8f410478bbbb83dbf831d9591f" args="()" --> |
55 <hr/><h2>Constructor & Destructor Documentation</h2> |
75 <div class="memitem"> |
56 <a class="anchor" id="a0d8f9e8f410478bbbb83dbf831d9591f"></a><!-- doxytag: member="CXmlExample::~CXmlExample" ref="a0d8f9e8f410478bbbb83dbf831d9591f" args="()" --> |
76 <div class="memproto"> |
57 <div class="memitem"> |
77 <table class="memname"> |
58 <div class="memproto"> |
78 <tr> |
59 <table class="memname"> |
79 <td class="memname">CXmlExample::~CXmlExample </td> |
60 <tr> |
80 <td>(</td> |
61 <td class="memname">CXmlExample::~CXmlExample </td> |
81 <td class="paramname"> </td> |
62 <td>(</td> |
82 <td> ) </td> |
63 <td class="paramname"></td> |
83 <td width="100%"></td> |
64 <td> ) </td> |
84 </tr> |
65 <td></td> |
85 </table> |
66 </tr> |
86 </div> |
67 </table> |
87 <div class="memdoc"> |
68 </div> |
88 |
69 <div class="memdoc"> |
89 <p> |
70 <p>Destructor </p> |
90 Destructor |
71 |
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> |
72 <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 |
73 |
93 </div> |
74 </div> |
94 </div><p> |
75 </div> |
95 <hr><h2>Member Function Documentation</h2> |
76 <hr/><h2>Member Function Documentation</h2> |
96 <a class="anchor" name="9c72dee1761244c6964c76473995eba6"></a><!-- doxytag: member="CXmlExample::NewL" ref="9c72dee1761244c6964c76473995eba6" args="()" --> |
77 <a class="anchor" id="a9c72dee1761244c6964c76473995eba6"></a><!-- doxytag: member="CXmlExample::NewL" ref="a9c72dee1761244c6964c76473995eba6" args="()" --> |
97 <div class="memitem"> |
78 <div class="memitem"> |
98 <div class="memproto"> |
79 <div class="memproto"> |
99 <table class="memname"> |
80 <table class="memname"> |
100 <tr> |
81 <tr> |
101 <td class="memname"><a class="el" href="class_c_xml_example.html">CXmlExample</a> * CXmlExample::NewL </td> |
82 <td class="memname"><a class="el" href="class_c_xml_example.html">CXmlExample</a> * CXmlExample::NewL </td> |
102 <td>(</td> |
83 <td>(</td> |
103 <td class="paramname"> </td> |
84 <td class="paramname"></td> |
104 <td> ) </td> |
85 <td> ) </td> |
105 <td width="100%"><code> [static]</code></td> |
86 <td><code> [static]</code></td> |
106 </tr> |
87 </tr> |
107 </table> |
88 </table> |
108 </div> |
89 </div> |
109 <div class="memdoc"> |
90 <div class="memdoc"> |
110 |
91 <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> |
111 <p> |
92 |
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. |
93 <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> |
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> |
94 |
114 |
95 </div> |
115 </div> |
96 </div> |
116 </div><p> |
97 <a class="anchor" id="acb03c2dd56ed7b5dd3a4767caf310338"></a><!-- doxytag: member="CXmlExample::OnEndDocumentL" ref="acb03c2dd56ed7b5dd3a4767caf310338" args="(TInt aErrorCode)" --> |
117 <a class="anchor" name="cb03c2dd56ed7b5dd3a4767caf310338"></a><!-- doxytag: member="CXmlExample::OnEndDocumentL" ref="cb03c2dd56ed7b5dd3a4767caf310338" args="(TInt aErrorCode)" --> |
98 <div class="memitem"> |
118 <div class="memitem"> |
99 <div class="memproto"> |
119 <div class="memproto"> |
100 <table class="memname"> |
120 <table class="memname"> |
101 <tr> |
121 <tr> |
102 <td class="memname">void CXmlExample::OnEndDocumentL </td> |
122 <td class="memname">void CXmlExample::OnEndDocumentL </td> |
103 <td>(</td> |
123 <td>(</td> |
104 <td class="paramtype">TInt </td> |
124 <td class="paramtype">TInt </td> |
105 <td class="paramname"> <em>aErrorCode</em></td> |
125 <td class="paramname"> <em>aErrorCode</em> </td> |
106 <td> ) </td> |
126 <td> ) </td> |
107 <td></td> |
127 <td width="100%"></td> |
108 </tr> |
128 </tr> |
109 </table> |
129 </table> |
110 </div> |
130 </div> |
111 <div class="memdoc"> |
131 <div class="memdoc"> |
112 <p>A callback to indicate the end of the document.</p> |
132 |
113 <p>Implementation of the pure virtual function of MContentHandler.</p> |
133 <p> |
114 <dl><dt><b>Parameters:</b></dt><dd> |
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"> |
115 <table border="0" cellspacing="2" cellpadding="0"> |
138 <tr><td valign="top"></td><td valign="top"><em>aErrorCode</em> </td><td>The error code. If aErrorCode is not KErrNone, the function leaves. </td></tr> |
116 <tr><td valign="top"></td><td valign="top"><em>aErrorCode</em> </td><td>The error code. If aErrorCode is not KErrNone, the function leaves. </td></tr> |
139 </table> |
117 </table> |
140 </dl> |
118 </dd> |
141 |
119 </dl> |
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> |
120 |
143 |
121 <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> |
144 </div> |
122 |
145 </div><p> |
123 </div> |
146 <a class="anchor" name="56eecc5c8dd07c3224f4b40901fe26a5"></a><!-- doxytag: member="CXmlExample::OnContentL" ref="56eecc5c8dd07c3224f4b40901fe26a5" args="(const TDesC8 &aBytes, TInt aErrorCode)" --> |
124 </div> |
147 <div class="memitem"> |
125 <a class="anchor" id="a56eecc5c8dd07c3224f4b40901fe26a5"></a><!-- doxytag: member="CXmlExample::OnContentL" ref="a56eecc5c8dd07c3224f4b40901fe26a5" args="(const TDesC8 &aBytes, TInt aErrorCode)" --> |
148 <div class="memproto"> |
126 <div class="memitem"> |
149 <table class="memname"> |
127 <div class="memproto"> |
150 <tr> |
128 <table class="memname"> |
151 <td class="memname">void CXmlExample::OnContentL </td> |
129 <tr> |
|
130 <td class="memname">void CXmlExample::OnContentL </td> |
152 <td>(</td> |
131 <td>(</td> |
153 <td class="paramtype">const TDesC8 & </td> |
132 <td class="paramtype">const TDesC8 & </td> |
154 <td class="paramname"> <em>aData8</em>, </td> |
133 <td class="paramname"> <em>aData8</em>, </td> |
155 </tr> |
134 </tr> |
156 <tr> |
135 <tr> |
352 <td class="paramname"> <em>aErrorCode</em></td><td> </td> |
326 <td class="paramname"> <em>aErrorCode</em></td><td> </td> |
353 </tr> |
327 </tr> |
354 <tr> |
328 <tr> |
355 <td></td> |
329 <td></td> |
356 <td>)</td> |
330 <td>)</td> |
357 <td></td><td></td><td width="100%"></td> |
331 <td></td><td></td><td></td> |
358 </tr> |
332 </tr> |
359 </table> |
333 </table> |
360 </div> |
334 </div> |
361 <div class="memdoc"> |
335 <div class="memdoc"> |
362 |
336 <p>A receive notification of a processing instruction. It prints the target and data to the console.</p> |
363 <p> |
337 <p>Implementation of the pure virtual function of MContentHandler.</p> |
364 A receive notification of a processing instruction. It prints the target and data to the console.<p> |
338 <dl><dt><b>Parameters:</b></dt><dd> |
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"> |
339 <table border="0" cellspacing="2" cellpadding="0"> |
368 <tr><td valign="top"></td><td valign="top"><em>aTarget</em> </td><td>The processing instruction target. </td></tr> |
340 <tr><td valign="top"></td><td valign="top"><em>aTarget</em> </td><td>The processing instruction target. </td></tr> |
369 <tr><td valign="top"></td><td valign="top"><em>aData</em> </td><td>The processing instruction data. If empty, none was supplied. </td></tr> |
341 <tr><td valign="top"></td><td valign="top"><em>aData</em> </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> </td><td>The error code. If aErrorCode is not KErrNone, the function leaves. </td></tr> |
342 <tr><td valign="top"></td><td valign="top"><em>aErrorCode</em> </td><td>The error code. If aErrorCode is not KErrNone, the function leaves. </td></tr> |
371 </table> |
343 </table> |
372 </dl> |
344 </dd> |
373 |
345 </dl> |
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> |
346 |
375 |
347 <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> |
376 </div> |
348 |
377 </div><p> |
349 </div> |
378 <a class="anchor" name="23c27211b331f46bc296a65aa3541bcf"></a><!-- doxytag: member="CXmlExample::OnError" ref="23c27211b331f46bc296a65aa3541bcf" args="(TInt aErrorCode)" --> |
350 </div> |
379 <div class="memitem"> |
351 <a class="anchor" id="a23c27211b331f46bc296a65aa3541bcf"></a><!-- doxytag: member="CXmlExample::OnError" ref="a23c27211b331f46bc296a65aa3541bcf" args="(TInt aErrorCode)" --> |
380 <div class="memproto"> |
352 <div class="memitem"> |
381 <table class="memname"> |
353 <div class="memproto"> |
382 <tr> |
354 <table class="memname"> |
383 <td class="memname">void CXmlExample::OnError </td> |
355 <tr> |
384 <td>(</td> |
356 <td class="memname">void CXmlExample::OnError </td> |
385 <td class="paramtype">TInt </td> |
357 <td>(</td> |
386 <td class="paramname"> <em>aError</em> </td> |
358 <td class="paramtype">TInt </td> |
387 <td> ) </td> |
359 <td class="paramname"> <em>aError</em></td> |
388 <td width="100%"></td> |
360 <td> ) </td> |
389 </tr> |
361 <td></td> |
390 </table> |
362 </tr> |
391 </div> |
363 </table> |
392 <div class="memdoc"> |
364 </div> |
393 |
365 <div class="memdoc"> |
394 <p> |
366 <p>Implementation of the pure virtual function of MContentHandler. Indicates that an error has occurred.</p> |
395 Implementation of the pure virtual function of MContentHandler. Indicates that an error has occurred.<p> |
367 <dl><dt><b>Parameters:</b></dt><dd> |
396 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
397 <table border="0" cellspacing="2" cellpadding="0"> |
368 <table border="0" cellspacing="2" cellpadding="0"> |
398 <tr><td valign="top"></td><td valign="top"><em>aError</em> </td><td>The error code </td></tr> |
369 <tr><td valign="top"></td><td valign="top"><em>aError</em> </td><td>The error code </td></tr> |
399 </table> |
370 </table> |
400 </dl> |
371 </dd> |
401 |
372 </dl> |
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> |
373 |
403 |
374 <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> |
404 </div> |
375 |
405 </div><p> |
376 </div> |
406 <a class="anchor" name="e79e3ab9f68abb8f6f953a90e8d552ee"></a><!-- doxytag: member="CXmlExample::GetExtendedInterface" ref="e79e3ab9f68abb8f6f953a90e8d552ee" args="(const TInt32 aUid)" --> |
377 </div> |
407 <div class="memitem"> |
378 <a class="anchor" id="ae79e3ab9f68abb8f6f953a90e8d552ee"></a><!-- doxytag: member="CXmlExample::GetExtendedInterface" ref="ae79e3ab9f68abb8f6f953a90e8d552ee" args="(const TInt32 aUid)" --> |
408 <div class="memproto"> |
379 <div class="memitem"> |
409 <table class="memname"> |
380 <div class="memproto"> |
410 <tr> |
381 <table class="memname"> |
411 <td class="memname">TAny * CXmlExample::GetExtendedInterface </td> |
382 <tr> |
|
383 <td class="memname">TAny * CXmlExample::GetExtendedInterface </td> |
412 <td>(</td> |
384 <td>(</td> |
413 <td class="paramtype">const TInt32 </td> |
385 <td class="paramtype">const TInt32 </td> |
414 <td class="paramname"> <em>aUid</em> </td> |
386 <td class="paramname"> <em>aUid</em></td> |
415 <td> ) </td> |
387 <td> ) </td> |
416 <td width="100%"></td> |
388 <td></td> |
417 </tr> |
389 </tr> |
418 </table> |
390 </table> |
419 </div> |
391 </div> |
420 <div class="memdoc"> |
392 <div class="memdoc"> |
421 |
393 <p>Obtain the interface matching the specified uid. </p> |
422 <p> |
394 |
423 Obtain the interface matching the specified uid. |
395 <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> |
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> |
396 |
425 |
397 </div> |
426 </div> |
398 </div> |
427 </div><p> |
399 <a class="anchor" id="a3b6c99c50e79b71fbd83341a19fe2d73"></a><!-- doxytag: member="CXmlExample::ParseExampleDocumentsL" ref="a3b6c99c50e79b71fbd83341a19fe2d73" args="()" --> |
428 <a class="anchor" name="3b6c99c50e79b71fbd83341a19fe2d73"></a><!-- doxytag: member="CXmlExample::ParseExampleDocumentsL" ref="3b6c99c50e79b71fbd83341a19fe2d73" args="()" --> |
400 <div class="memitem"> |
429 <div class="memitem"> |
401 <div class="memproto"> |
430 <div class="memproto"> |
402 <table class="memname"> |
431 <table class="memname"> |
403 <tr> |
432 <tr> |
404 <td class="memname">void CXmlExample::ParseExampleDocumentsL </td> |
433 <td class="memname">void CXmlExample::ParseExampleDocumentsL </td> |
405 <td>(</td> |
434 <td>(</td> |
406 <td class="paramname"></td> |
435 <td class="paramname"> </td> |
407 <td> ) </td> |
436 <td> ) </td> |
408 <td></td> |
437 <td width="100%"></td> |
409 </tr> |
438 </tr> |
410 </table> |
439 </table> |
411 </div> |
440 </div> |
412 <div class="memdoc"> |
441 <div class="memdoc"> |
413 <p>Passes an XML and a WBXML file to the framework for parsing. </p> |
442 |
414 |
443 <p> |
415 <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> |
444 Passes an XML and a WBXML file to the framework for parsing. |
416 |
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> |
417 </div> |
446 |
418 </div> |
447 </div> |
419 <a class="anchor" id="a5a29447b6066d26a5eafcbd5164e4bc9"></a><!-- doxytag: member="CXmlExample::Copy8To16LC" ref="a5a29447b6066d26a5eafcbd5164e4bc9" args="(const TDesC8 &aDes)" --> |
448 </div><p> |
420 <div class="memitem"> |
449 <a class="anchor" name="5a29447b6066d26a5eafcbd5164e4bc9"></a><!-- doxytag: member="CXmlExample::Copy8To16LC" ref="5a29447b6066d26a5eafcbd5164e4bc9" args="(const TDesC8 &aDes)" --> |
421 <div class="memproto"> |
450 <div class="memitem"> |
422 <table class="memname"> |
451 <div class="memproto"> |
423 <tr> |
452 <table class="memname"> |
424 <td class="memname">HBufC * CXmlExample::Copy8To16LC </td> |
453 <tr> |
|
454 <td class="memname">HBufC * CXmlExample::Copy8To16LC </td> |
|
455 <td>(</td> |
425 <td>(</td> |
456 <td class="paramtype">const TDesC8 & </td> |
426 <td class="paramtype">const TDesC8 & </td> |
457 <td class="paramname"> <em>aDes</em> </td> |
427 <td class="paramname"> <em>aDes</em></td> |
458 <td> ) </td> |
428 <td> ) </td> |
459 <td width="100%"></td> |
429 <td></td> |
460 </tr> |
430 </tr> |
461 </table> |
431 </table> |
462 </div> |
432 </div> |
463 <div class="memdoc"> |
433 <div class="memdoc"> |
464 |
434 <p>Copies 8 bit descriptor data to 16 bit descriptor KErrNoMemory, User 11 </p> |
465 <p> |
435 |
466 Copies 8 bit descriptor data to 16 bit descriptor KErrNoMemory, User 11 |
436 <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> |
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> |
437 |
468 |
438 </div> |
469 </div> |
439 </div> |
470 </div><p> |
440 </div> |
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 |
441 <hr size="1"/><address style="text-align: right;"><small>Generated by |
472 <a href="http://www.doxygen.org/index.html"> |
442 <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> |
443 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
474 </body> |
444 </body> |
475 </html> |
445 </html> |