tmf.xml: Add mapping group to XML description
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.analysis.xml.core / src / org / eclipse / tracecompass / internal / tmf / analysis / xml / core / module / xmlCommon.xsd
index 453a219155e9602952d06e569bdb8a25fb7217d0..57cf9ac3039473c313752fd63d9dec065a3dc626 100644 (file)
                <xs:anyAttribute />
        </xs:complexType>
 
+       <xs:complexType name="mappingGroup">
+               <xs:sequence>
+                       <xs:element maxOccurs="unbounded" name="entry" type="mapEntry" />
+               </xs:sequence>
+               <xs:attribute name="id" type="xs:string" use="required" />
+       </xs:complexType>
+
+       <xs:complexType name="mapEntry">
+               <xs:annotation>
+                       <xs:documentation>Define a handler for a state value. The second state value defined in the handler will be used instead of the first state one whenever it will be met.</xs:documentation></xs:annotation>
+               <xs:sequence maxOccurs="1" minOccurs="1">
+                       <xs:element maxOccurs="2" minOccurs="2" name="stateValue" type="stateValue" />
+               </xs:sequence>
+       </xs:complexType>
+
 </xs:schema>
This page took 0.025128 seconds and 5 git commands to generate.