2
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<xsd:schema xmlns="http://www.nokia.com/sdt/lookAndFeel" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.nokia.com/sdt/lookAndFeel" elementFormDefault="qualified">
|
|
3 |
<xsd:element name="lookAndFeel">
|
|
4 |
<xsd:complexType>
|
|
5 |
<xsd:choice maxOccurs="unbounded">
|
|
6 |
<xsd:element ref="color"/>
|
|
7 |
<xsd:element name="colorAlias" type="aliasType"/>
|
|
8 |
<xsd:element ref="font"/>
|
|
9 |
<xsd:element name="fontAlias" type="aliasType"/>
|
|
10 |
<xsd:element ref="image"/>
|
|
11 |
<xsd:element ref="maskedImage"/>
|
|
12 |
<xsd:element ref="position"/>
|
|
13 |
<xsd:element name="positionAlias" type="aliasType"/>
|
|
14 |
<xsd:element ref="dimension"/>
|
|
15 |
<xsd:element name="dimensionAlias" type="aliasType"/>
|
|
16 |
<xsd:element ref="rectangle"/>
|
|
17 |
<xsd:element name="rectangleAlias" type="aliasType"/>
|
|
18 |
<xsd:element ref="integer"/>
|
|
19 |
<xsd:element name="integerAlias" type="aliasType"/>
|
|
20 |
<xsd:element ref="boolean"/>
|
|
21 |
<xsd:element name="booleanAlias" type="aliasType"/>
|
|
22 |
<xsd:element ref="string"/>
|
|
23 |
<xsd:element name="stringAlias" type="aliasType"/>
|
|
24 |
</xsd:choice>
|
|
25 |
</xsd:complexType>
|
|
26 |
</xsd:element>
|
|
27 |
<xsd:complexType name="aliasType">
|
|
28 |
<xsd:simpleContent>
|
|
29 |
<xsd:extension base="xsd:string">
|
|
30 |
<xsd:attribute name="ref" type="xsd:string" use="required"/>
|
|
31 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
32 |
</xsd:extension>
|
|
33 |
</xsd:simpleContent>
|
|
34 |
</xsd:complexType>
|
|
35 |
<xsd:element name="color">
|
|
36 |
<xsd:complexType>
|
|
37 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
38 |
<xsd:attribute name="r" type="xsd:short" use="required"/>
|
|
39 |
<xsd:attribute name="g" type="xsd:short" use="required"/>
|
|
40 |
<xsd:attribute name="b" type="xsd:short" use="required"/>
|
|
41 |
</xsd:complexType>
|
|
42 |
</xsd:element>
|
|
43 |
<xsd:element name="font">
|
|
44 |
<xsd:complexType>
|
|
45 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
46 |
<xsd:attribute name="initData" type="xsd:string" use="required"/>
|
|
47 |
<xsd:attribute name="size" type="xsd:short" use="required"/>
|
|
48 |
</xsd:complexType>
|
|
49 |
</xsd:element>
|
|
50 |
<xsd:element name="image">
|
|
51 |
<xsd:complexType>
|
|
52 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
53 |
<xsd:attribute name="imageFile" type="xsd:string" use="required"/>
|
|
54 |
</xsd:complexType>
|
|
55 |
</xsd:element>
|
|
56 |
<xsd:element name="maskedImage">
|
|
57 |
<xsd:complexType>
|
|
58 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
59 |
<xsd:attribute name="imageFile" type="xsd:string" use="required"/>
|
|
60 |
<xsd:attribute name="maskFile" type="xsd:string" use="required"/>
|
|
61 |
</xsd:complexType>
|
|
62 |
</xsd:element>
|
|
63 |
<xsd:element name="position">
|
|
64 |
<xsd:complexType>
|
|
65 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
66 |
<xsd:attribute name="x" type="xsd:short" use="required"/>
|
|
67 |
<xsd:attribute name="y" type="xsd:short" use="required"/>
|
|
68 |
</xsd:complexType>
|
|
69 |
</xsd:element>
|
|
70 |
<xsd:element name="dimension">
|
|
71 |
<xsd:complexType>
|
|
72 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
73 |
<xsd:attribute name="width" type="xsd:short" use="required"/>
|
|
74 |
<xsd:attribute name="height" type="xsd:short" use="required"/>
|
|
75 |
</xsd:complexType>
|
|
76 |
</xsd:element>
|
|
77 |
<xsd:element name="rectangle">
|
|
78 |
<xsd:complexType>
|
|
79 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
80 |
<xsd:attribute name="x" type="xsd:short" use="required"/>
|
|
81 |
<xsd:attribute name="y" type="xsd:short" use="required"/>
|
|
82 |
<xsd:attribute name="width" type="xsd:short" use="required"/>
|
|
83 |
<xsd:attribute name="height" type="xsd:short" use="required"/>
|
|
84 |
</xsd:complexType>
|
|
85 |
</xsd:element>
|
|
86 |
<xsd:element name="integer">
|
|
87 |
<xsd:complexType>
|
|
88 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
89 |
<xsd:attribute name="value" type="xsd:short" use="required"/>
|
|
90 |
</xsd:complexType>
|
|
91 |
</xsd:element>
|
|
92 |
<xsd:element name="boolean">
|
|
93 |
<xsd:complexType>
|
|
94 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
95 |
<xsd:attribute name="value" type="xsd:boolean" use="required"/>
|
|
96 |
</xsd:complexType>
|
|
97 |
</xsd:element>
|
|
98 |
<xsd:element name="string">
|
|
99 |
<xsd:complexType>
|
|
100 |
<xsd:attribute name="key" type="xsd:string" use="required"/>
|
|
101 |
<xsd:attribute name="value" type="xsd:string" use="required"/>
|
|
102 |
</xsd:complexType>
|
|
103 |
</xsd:element>
|
|
104 |
</xsd:schema>
|