carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/reference/CustomComponents/cc_refoverview.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>Custom Component Reference</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
<style type="text/css">
<!--
.style1 {font-size: 12px}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<h2>Custom Component Reference</h2>
<p>Component definition files (.component) must conform to the component schema definition in the component.xsd descriptions. Detailed documentation on the schema can be found in the reference section under <a href="../component.xsd doc/index.html">Component XSD Description</a>. This section provides a brief introduction to the schema.</p>
<p> The root XML element in a component definition file is the <componentDefinition> element. Generally the initial part of the file looks like:<br />
</p>
<blockquote>
<p><?xml version="1.0" encoding="UTF-8"?> <br />
<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" <br />
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <br />
</p>
</blockquote>
<p>The <componentDefinition> element can contain three types of items. The main item is the <component> element. There can be only one of these per file, and it can be omitted if the file just has type definitions.</p>
<p>The following information provides details about the major XML elements involved in designing and creating your own custom components.</p>
<ul>
<li><a href="cc_definition.htm">Component Definition Element</a></li>
<li><a href="cc_component.htm">Component Element</a></li>
<li><a href="cc_symbian.htm">Symbian Element</a></li>
<li><a href="cc_designerimages.htm">Designer Images Element</a></li>
<li><a href="cc_attributes.htm">Attributes Element</a></li>
<li><a href="cc_properties.htm">Properties Element</a></li>
<li><a href="cc_events.htm">Events Element</a></li>
<li><a href="cc_implementations.htm">Implementations</a></li>
<li><a href="cc_source_mapping.htm">RSS Source Mapping</a></li>
<li><a href="cc_source_generation.htm">Source Generation</a></li>
</ul>
<div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
</body>
</html>