Previous Topic

Next Topic

Book Contents

Book Index

Overview

The Device Access provides default implementation of the mappings. The mappings are created in a declarative manner by structured XML files that are validated by the following XSD Schema. The XML mappings are provided by separate bundle. This bundle has specific manifest header, described bellow.

The XML mapping file semantically can be separated into five logical parts:

Detailed information for each logical part and set of examples are found on the following sections:

Manifest Header

The bundles that provide XML mappings have special manifest header – "DAMapping" that has two attributes:

The following examples show valid manifest headers:

DAMapping

The other example shows the manifest header of Device Access Mapping Demo bundle:

<DAMapping>

     xml=/xml/mappings/Actuator-StepperMotor.xml;version="1.0.1",

     xml=/xml/mappings/Sensor-Thermometer.xml;version="1.0.1",

     xml=/xml/mappings/TransitionActuator-Opener.xml;version="1.0.1"

</DAMapping>