VirtualBox

source: vbox/trunk/src/VBox/Main/idl/VirtualBox.dtd@ 28851

Last change on this file since 28851 was 27854, checked in by vboxsync, 15 years ago

Main: export XIDL DTD

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.2 KB
Line 
1<!--
2 Unoffical DTD for the VirtualBox.xidl file. This is not currently used:
3 neither by the VirtualBox build process nor at runtime, so it's not shipped
4 with the product either, and thus not guaranteed to be up to date.
5 It is still the only sort-of-documentation available about what is valid
6 XIDL syntax.
7
8 Copyright (C) 2008-2010 Sun Microsystems, Inc.
9
10 This file is part of VirtualBox Open Source Edition (OSE), as
11 available from http://www.virtualbox.org. This file is free software;
12 you can redistribute it and/or modify it under the terms of the GNU
13 General Public License (GPL) as published by the Free Software
14 Foundation, in version 2 as it comes in the "COPYING" file of the
15 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17
18 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
19 Clara, CA 95054 USA or visit http://www.sun.com if you need
20 additional information or have any questions.
21-->
22<!DOCTYPE idl [
23 <!ELEMENT idl (if|module)*> <!-- done -->
24 <!ELEMENT if ANY>
25 <!ATTLIST if target (midl|xpidl|wsdl) #REQUIRED> <!-- done -->
26 <!ELEMENT ifnot ANY>
27 <!ATTLIST if target (midl|xpidl|wsdl) #REQUIRED> <!-- done -->
28 <!ELEMENT cpp ANY>
29 <!ATTLIST cpp line CDATA #IMPLIED> <!-- done -->
30 <!ELEMENT module (enum|interface|class|collection|if|enumerator)*> <!-- done -->
31 <!ATTLIST module name CDATA #REQUIRED>
32 <!ATTLIST module uuid CDATA #REQUIRED>
33 <!ATTLIST module version CDATA #REQUIRED>
34 <!ATTLIST module desc CDATA #REQUIRED>
35 <!ATTLIST module supportsErrorInfo (yes|no) #REQUIRED>
36 <!ELEMENT enum (desc?, const+)> <!-- done -->
37 <!ATTLIST enum name CDATA #REQUIRED>
38 <!ATTLIST enum uuid CDATA #REQUIRED>
39 <!ELEMENT const (desc?)> <!-- done -->
40 <!ATTLIST const name CDATA #REQUIRED>
41 <!ATTLIST const value CDATA #REQUIRED>
42 <!ELEMENT interface (desc?, (attribute|method|class|if)*)> <!-- done -->
43 <!ATTLIST interface name CDATA #REQUIRED>
44 <!ATTLIST interface extends CDATA #IMPLIED>
45 <!ATTLIST interface uuid CDATA #IMPLIED>
46 <!ATTLIST interface supportsErrorInfo (yes|no) #IMPLIED>
47 <!ATTLIST interface default (yes|no) "no">
48 <!ATTLIST interface internal (yes|no) "no">
49 <!ATTLIST interface wsmap (fail|none|uuid|wstring|global|struct|managed) "fail">
50 <!-- wsmap specifies how this interface is mapped to the
51 web services API (WSDL). One of the following must be specified:
52 fail: the default value, for which vboxweb.xsl will raise an error and die.
53 global: object is a singleton and resides in global variable in the web service.
54 managed: objects of this type are referenced by managed object referenced
55 struct: object is a simple struct and can be copied as such
56 suppress: Skip this interface entirely, and all methods that use it -->
57 <!ATTLIST interface wscpp (generate|hardcoded) "generate">
58 <!-- wscpp specifies whether C++ code should be generated in methodmaps.cpp
59 as a mapper to COM APIs. By default, this is "generate"; however, if set
60 to "hardcoded", then no automatic C++ code should be generated. This is done
61 for webservice APIs that have no counterpart in COM and are hard-coded in
62 the webservice server, such as IManagedObjectReference and ISessionManager. -->
63 <!ELEMENT class (interface)> <!-- done (ignoring) -->
64 <!ATTLIST class name CDATA #REQUIRED>
65 <!ATTLIST class uuid CDATA #REQUIRED>
66 <!ELEMENT attribute (desc?)> <!-- done -->
67 <!ATTLIST attribute name CDATA #REQUIRED>
68 <!ATTLIST attribute type CDATA #REQUIRED>
69 <!ATTLIST attribute readonly (yes|no) "no">
70 <!ATTLIST attribute mod (ptr|string) #IMPLIED>
71 <!ATTLIST attribute internal (yes|no) "no">
72 <!ATTLIST attribute safearray (yes|no) "no">
73 <!ELEMENT method (desc?,param*, note*)> <!-- done -->
74 <!ATTLIST method name CDATA #REQUIRED>
75 <!ATTLIST method const CDATA "no">
76 <!ATTLIST method internal (yes|no) "no">
77 <!ELEMENT param (desc?)> <!-- done -->
78 <!ATTLIST param name CDATA #REQUIRED>
79 <!ATTLIST param type CDATA #REQUIRED>
80 <!ATTLIST param dir (in|out|return) #REQUIRED>
81 <!ATTLIST param mod (ptr|string) #IMPLIED>
82 <!ATTLIST param safearray (yes|no) "no">
83 <!ELEMENT desc (#PCDATA|link|note|see|b|tt|i|pre|p|ul|h3|table)*> <!-- done (ignoring) -->
84 <!-- the following only appear within descriptions -->
85 <!ELEMENT link (#PCDATA)>
86 <!ATTLIST link to CDATA #REQUIRED>
87 <!ELEMENT h3 ANY>
88 <!ELEMENT p ANY>
89 <!ELEMENT b ANY>
90 <!ELEMENT i ANY>
91 <!ELEMENT ul (#PCDATA|li)*>
92 <!ELEMENT li ANY>
93 <!ELEMENT pre ANY>
94 <!ELEMENT tt ANY>
95 <!ELEMENT see (#PCDATA|link)*>
96 <!ELEMENT note ANY>
97 <!ELEMENT table (tr)+>
98 <!ELEMENT tr (td|th)+>
99 <!ELEMENT th ANY>
100 <!ELEMENT td ANY>
101]>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette