summaryrefslogtreecommitdiffstats
path: root/qtsharp/doc/dtd/annotation.dtd
blob: 29e004d6248c7fb28d7c29f26ff19d2cb031ca44 (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 #REQUIRED >

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

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

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

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

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

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

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

<!ELEMENT Destructor (Code)* >

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

<!ELEMENT Code (#PCDATA) >