class.xsd 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:element name="class">
  4. <xs:complexType>
  5. <xs:sequence>
  6. <xs:element type="xs:string" name="brief_description" />
  7. <xs:element type="xs:string" name="description" />
  8. <xs:element name="tutorials">
  9. <xs:complexType>
  10. <xs:sequence>
  11. <xs:element name="link" maxOccurs="unbounded" minOccurs="0">
  12. <xs:complexType>
  13. <xs:simpleContent>
  14. <xs:extension base="xs:string">
  15. <xs:attribute type="xs:string" name="title" use="optional" />
  16. </xs:extension>
  17. </xs:simpleContent>
  18. </xs:complexType>
  19. </xs:element>
  20. </xs:sequence>
  21. </xs:complexType>
  22. </xs:element>
  23. <xs:element name="constructors" minOccurs="0">
  24. <xs:complexType>
  25. <xs:sequence>
  26. <xs:element name="constructor" maxOccurs="unbounded" minOccurs="0">
  27. <xs:complexType>
  28. <xs:sequence>
  29. <xs:element name="return" minOccurs="0">
  30. <xs:complexType>
  31. <xs:sequence>
  32. <xs:sequence />
  33. </xs:sequence>
  34. <xs:attribute type="xs:string" name="type" />
  35. <xs:attribute type="xs:string" name="enum" use="optional" />
  36. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  37. </xs:complexType>
  38. </xs:element>
  39. <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
  40. <xs:complexType>
  41. <xs:sequence>
  42. <xs:sequence />
  43. </xs:sequence>
  44. <xs:attribute type="xs:byte" name="index" />
  45. <xs:attribute type="xs:string" name="name" />
  46. <xs:attribute type="xs:string" name="type" />
  47. <xs:attribute type="xs:string" name="enum" use="optional" />
  48. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  49. <xs:attribute type="xs:string" name="default" use="optional" />
  50. </xs:complexType>
  51. </xs:element>
  52. <xs:element type="xs:string" name="description" />
  53. </xs:sequence>
  54. <xs:attribute type="xs:string" name="name" use="optional" />
  55. <xs:attribute type="xs:string" name="qualifiers" use="optional" />
  56. </xs:complexType>
  57. </xs:element>
  58. </xs:sequence>
  59. </xs:complexType>
  60. </xs:element>
  61. <xs:element name="methods" minOccurs="0">
  62. <xs:complexType>
  63. <xs:sequence>
  64. <xs:element name="method" maxOccurs="unbounded" minOccurs="0">
  65. <xs:complexType>
  66. <xs:sequence>
  67. <xs:element name="return" minOccurs="0">
  68. <xs:complexType>
  69. <xs:sequence>
  70. <xs:sequence />
  71. </xs:sequence>
  72. <xs:attribute type="xs:string" name="type" />
  73. <xs:attribute type="xs:string" name="enum" use="optional" />
  74. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  75. </xs:complexType>
  76. </xs:element>
  77. <xs:element name="returns_error" maxOccurs="unbounded" minOccurs="0">
  78. <xs:complexType>
  79. <xs:sequence>
  80. <xs:sequence />
  81. </xs:sequence>
  82. <xs:attribute type="xs:byte" name="number" />
  83. </xs:complexType>
  84. </xs:element>
  85. <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
  86. <xs:complexType>
  87. <xs:sequence>
  88. <xs:sequence />
  89. </xs:sequence>
  90. <xs:attribute type="xs:byte" name="index" />
  91. <xs:attribute type="xs:string" name="name" />
  92. <xs:attribute type="xs:string" name="type" />
  93. <xs:attribute type="xs:string" name="enum" use="optional" />
  94. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  95. <xs:attribute type="xs:string" name="default" use="optional" />
  96. </xs:complexType>
  97. </xs:element>
  98. <xs:element type="xs:string" name="description" />
  99. </xs:sequence>
  100. <xs:attribute type="xs:string" name="name" use="optional" />
  101. <xs:attribute type="xs:string" name="qualifiers" use="optional" />
  102. <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
  103. <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
  104. </xs:complexType>
  105. </xs:element>
  106. </xs:sequence>
  107. </xs:complexType>
  108. </xs:element>
  109. <xs:element name="members" minOccurs="0">
  110. <xs:complexType>
  111. <xs:choice maxOccurs="unbounded" minOccurs="0">
  112. <xs:element name="member">
  113. <xs:complexType>
  114. <xs:simpleContent>
  115. <xs:extension base="xs:string">
  116. <xs:attribute type="xs:string" name="name" />
  117. <xs:attribute type="xs:string" name="type" />
  118. <xs:attribute type="xs:string" name="setter" />
  119. <xs:attribute type="xs:string" name="getter" />
  120. <xs:attribute type="xs:string" name="overrides" use="optional" />
  121. <xs:attribute type="xs:string" name="enum" use="optional" />
  122. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  123. <xs:attribute type="xs:string" name="default" use="optional" />
  124. <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
  125. <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
  126. </xs:extension>
  127. </xs:simpleContent>
  128. </xs:complexType>
  129. </xs:element>
  130. </xs:choice>
  131. </xs:complexType>
  132. </xs:element>
  133. <xs:element name="signals" minOccurs="0">
  134. <xs:complexType>
  135. <xs:sequence>
  136. <xs:element name="signal" maxOccurs="unbounded" minOccurs="0">
  137. <xs:complexType>
  138. <xs:sequence>
  139. <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
  140. <xs:complexType>
  141. <xs:sequence>
  142. <xs:sequence />
  143. </xs:sequence>
  144. <xs:attribute type="xs:byte" name="index" />
  145. <xs:attribute type="xs:string" name="name" />
  146. <xs:attribute type="xs:string" name="type" />
  147. </xs:complexType>
  148. </xs:element>
  149. <xs:element type="xs:string" name="description" />
  150. </xs:sequence>
  151. <xs:attribute type="xs:string" name="name" use="optional" />
  152. <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
  153. <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
  154. </xs:complexType>
  155. </xs:element>
  156. </xs:sequence>
  157. </xs:complexType>
  158. </xs:element>
  159. <xs:element name="constants" minOccurs="0">
  160. <xs:complexType>
  161. <xs:sequence>
  162. <xs:element name="constant" maxOccurs="unbounded" minOccurs="0">
  163. <xs:complexType>
  164. <xs:simpleContent>
  165. <xs:extension base="xs:string">
  166. <xs:attribute type="xs:string" name="name" />
  167. <xs:attribute type="xs:string" name="value" />
  168. <xs:attribute type="xs:string" name="enum" use="optional" />
  169. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  170. <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
  171. <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
  172. </xs:extension>
  173. </xs:simpleContent>
  174. </xs:complexType>
  175. </xs:element>
  176. </xs:sequence>
  177. </xs:complexType>
  178. </xs:element>
  179. <xs:element name="annotations" minOccurs="0">
  180. <xs:complexType>
  181. <xs:sequence>
  182. <xs:element name="annotation" maxOccurs="unbounded" minOccurs="0">
  183. <xs:complexType>
  184. <xs:sequence>
  185. <xs:element name="return" minOccurs="0">
  186. <xs:complexType>
  187. <xs:sequence>
  188. <xs:sequence />
  189. </xs:sequence>
  190. <xs:attribute type="xs:string" name="type" />
  191. <xs:attribute type="xs:string" name="enum" use="optional" />
  192. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  193. </xs:complexType>
  194. </xs:element>
  195. <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
  196. <xs:complexType>
  197. <xs:sequence>
  198. <xs:sequence />
  199. </xs:sequence>
  200. <xs:attribute type="xs:byte" name="index" />
  201. <xs:attribute type="xs:string" name="name" />
  202. <xs:attribute type="xs:string" name="type" />
  203. <xs:attribute type="xs:string" name="enum" use="optional" />
  204. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  205. <xs:attribute type="xs:string" name="default" use="optional" />
  206. </xs:complexType>
  207. </xs:element>
  208. <xs:element type="xs:string" name="description" />
  209. </xs:sequence>
  210. <xs:attribute type="xs:string" name="name" use="optional" />
  211. <xs:attribute type="xs:string" name="qualifiers" use="optional" />
  212. </xs:complexType>
  213. </xs:element>
  214. </xs:sequence>
  215. </xs:complexType>
  216. </xs:element>
  217. <xs:element name="theme_items" minOccurs="0">
  218. <xs:complexType>
  219. <xs:sequence>
  220. <xs:element name="theme_item" maxOccurs="unbounded" minOccurs="0">
  221. <xs:complexType>
  222. <xs:simpleContent>
  223. <xs:extension base="xs:string">
  224. <xs:attribute type="xs:string" name="name" />
  225. <xs:attribute type="xs:string" name="data_type" />
  226. <xs:attribute type="xs:string" name="type" />
  227. <xs:attribute type="xs:string" name="default" use="optional" />
  228. </xs:extension>
  229. </xs:simpleContent>
  230. </xs:complexType>
  231. </xs:element>
  232. </xs:sequence>
  233. </xs:complexType>
  234. </xs:element>
  235. <xs:element name="operators" minOccurs="0">
  236. <xs:complexType>
  237. <xs:sequence>
  238. <xs:element name="operator" maxOccurs="unbounded" minOccurs="0">
  239. <xs:complexType>
  240. <xs:sequence>
  241. <xs:element name="return" minOccurs="0">
  242. <xs:complexType>
  243. <xs:sequence>
  244. <xs:sequence />
  245. </xs:sequence>
  246. <xs:attribute type="xs:string" name="type" />
  247. <xs:attribute type="xs:string" name="enum" use="optional" />
  248. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  249. </xs:complexType>
  250. </xs:element>
  251. <xs:element name="param" maxOccurs="unbounded" minOccurs="0">
  252. <xs:complexType>
  253. <xs:sequence>
  254. <xs:sequence />
  255. </xs:sequence>
  256. <xs:attribute type="xs:byte" name="index" />
  257. <xs:attribute type="xs:string" name="name" />
  258. <xs:attribute type="xs:string" name="type" />
  259. <xs:attribute type="xs:string" name="enum" use="optional" />
  260. <xs:attribute type="xs:boolean" name="is_bitfield" use="optional" />
  261. <xs:attribute type="xs:string" name="default" use="optional" />
  262. </xs:complexType>
  263. </xs:element>
  264. <xs:element type="xs:string" name="description" />
  265. </xs:sequence>
  266. <xs:attribute type="xs:string" name="name" use="optional" />
  267. <xs:attribute type="xs:string" name="qualifiers" use="optional" />
  268. </xs:complexType>
  269. </xs:element>
  270. </xs:sequence>
  271. </xs:complexType>
  272. </xs:element>
  273. </xs:sequence>
  274. <xs:attribute type="xs:string" name="name" />
  275. <xs:attribute type="xs:string" name="inherits" />
  276. <xs:attribute type="xs:boolean" name="is_deprecated" use="optional" />
  277. <xs:attribute type="xs:boolean" name="is_experimental" use="optional" />
  278. </xs:complexType>
  279. </xs:element>
  280. </xs:schema>