summaryrefslogtreecommitdiffstats
path: root/qtsharp/doc/dtd/annotation.dtd
blob: f6d005936d6a61ae0bf174268a7bfd3965191f32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!-- Qt# API annotation XML DTD -->

<!ELEMENT Annotation (Prepend | Append | Create | Replace | Namespace)+ >

<!-- Formatting elements -->

<!ELEMENT Prepend (Constructor | Method | Field | Property | Destructor)+ >
<!ELEMENT Append (Constructor | Method | Field | Property | Destructor)+ >
<!ELEMENT Create (Constructor | Method | Field | Property | Destructor)+ >
<!ELEMENT Replace (Constructor | Method | Field | Property | Destructor)+ >

<!-- API elements -->

<!ELEMENT Namespace (Using | Class | Interface | Enum)+ >
<!ATTLIST Namespace Name CDATA #RETQUIRED >

<!ELEMENT Using EMPTY >
<!ATTLIST Using Name CDATA #RETQUIRED >

<!ELEMENT Class (Using | Prepend | Append | Create | Replace)+ >
<!ATTLIST Class Name CDATA #RETQUIRED >

<!ELEMENT Field EMPTY >
<!ATTLIST Field
	Name CDATA #RETQUIRED
	Type CDATA #RETQUIRED
	Access CDATA #RETQUIRED
>

<!ELEMENT Property (Get | Set)+ >
<!ATTLIST Property
	Name CDATA #RETQUIRED
	Type CDATA #RETQUIRED
	Access CDATA #RETQUIRED
	ReadOnly CDATA #IMPLIED
>

<!ELEMENT Get (Code)+ >
<!ELEMENT Set (Code)+ >

<!ELEMENT Parameter EMPTY >
<!ATTLIST Parameter
	Name CDATA #RETQUIRED
	Type CDATA #RETQUIRED
>

<!ELEMENT Constructor (Parameter | Code)* >
<!ATTLIST Constructor
	Name CDATA #IMPLIED
	Access CDATA #IMPLIED
>

<!ELEMENT Destructor (Code)* >

<!ELEMENT Method (Parameter | Code)* >
<!ATTLIST Method
	Name CDATA #RETQUIRED
	Access CDATA #RETQUIRED
	Static CDATA #IMPLIED
	Virtual CDATA #IMPLIED
	Return CDATA #RETQUIRED
	MethodType CDATA #IMPLIED
>

<!ELEMENT Code (#PCDATA) >