srcanaapps/apiquerytool/com.nokia.s60tools.apiquery.help/html/concepts/metadata_file.htm
changeset 0 a02c979e8dfd
equal deleted inserted replaced
-1:000000000000 0:a02c979e8dfd
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
       
     2 <html>
       
     3 <head>
       
     4 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
       
     5 <title>API metadata file</title>
       
     6 <link href="../../book.css" type="text/css" rel="stylesheet">
       
     7 </head>
       
     8 <body>
       
     9 
       
    10 <h2>API metadata file</h2>
       
    11 <p>A metadata file is used to provide information about an Application Programming Interface (API). Metadata files contain the following information of an API, as shown in the example below:</p>
       
    12 <p><code>
       
    13 &lt;?xml version="1.0"&nbsp;?><br>
       
    14 &lt;api id="16bdb6fdf38e8ced9e907a4eea1f68c5" dataversion="1.0"><br>
       
    15 &nbsp; &lt;name>Phone Parser API&lt;/name><br>
       
    16 &nbsp; &lt;description>This API is used to parse and validate phone numbers.&lt;/description><br>
       
    17 &nbsp; &lt;type>c++&lt;/type><br>
       
    18 &nbsp; &lt;subsystem>commonservices&lt;/subsystem><br>
       
    19 &nbsp; &lt;libs><br>
       
    20 &nbsp;&nbsp;&nbsp; &lt;lib name="CommonEngine.lib" /><br>
       
    21 &nbsp; &lt;/libs><br>
       
    22 &nbsp; &lt;release category="sdk" sinceversion="2.0"/><br>
       
    23 &nbsp; &lt;attributes><br>
       
    24 &nbsp;&nbsp;&nbsp;&nbsp; &lt;htmldocprovided>yes&lt;/htmldocprovided><br>
       
    25 &nbsp;&nbsp;&nbsp;&nbsp; &lt;adaptation>no&lt;/adaptation><br>
       
    26 &nbsp; &lt;/attributes><br>
       
    27 &lt;/api>
       
    28 </code></p>
       
    29 <p>Metadata files are identified by the extension <i>.metaxml</i>. The name of the file comes from the API name and should be the same as the API directory name. For example, if the API directory is&nbsp;<i>phone_parser_api</i>, the corresponding metadata file name should be <i>phone_parser_api.metaxml</i>. The file is located directly under the API's own directory.</p>
       
    30 <p><b>Tip:</b> These files can be created and edited in the Carbide.c++ development environment with the <i>Metadata Editor</i> tool. You can start the tool from the <b>Carbide > Metadata Editor</b> menu.</p>
       
    31 
       
    32 <div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 
       
    33 License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div>
       
    34 </body>
       
    35 </html>