You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/qtsharp/doc/dtd/annotation.dtd

66 lines
1.5 KiB

<!-- 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) >