VirtualBox.dtd revision c89ab46314a2ed24bfd30a78fabcd673f66a85c5
<!
ATTLIST cpp line CDATA #
IMPLIED>
<!-- done --> <!
ELEMENT library (
descGroup|
if|
result|
enum|
interface|
module)*>
<!
ATTLIST library name CDATA #
REQUIRED>
<!
ATTLIST library uuid CDATA #
REQUIRED>
<!
ATTLIST library version CDATA #
REQUIRED>
<!
ATTLIST library desc CDATA #
REQUIRED>
<!
ATTLIST library appUuid CDATA #
REQUIRED>
<!
ATTLIST library supportsErrorInfo CDATA #
REQUIRED>
<!
ELEMENT result (#
PCDATA|
desc|
link)*>
<!-- done --> <!
ATTLIST result name CDATA #
REQUIRED>
<!
ATTLIST result value CDATA #
IMPLIED>
<!
ELEMENT module (
class)*>
<!-- done --> <!
ATTLIST module name CDATA #
REQUIRED>
<!
ATTLIST module context CDATA #
REQUIRED>
<!
ATTLIST module threadingModel CDATA #
IMPLIED>
<!
ELEMENT enum (
desc?,
const+)>
<!-- done --> <!
ATTLIST enum name CDATA #
REQUIRED>
<!
ATTLIST enum uuid CDATA #
REQUIRED>
<!
ELEMENT const (
desc?)>
<!-- done --> <!
ATTLIST const name CDATA #
REQUIRED>
<!
ATTLIST const value CDATA #
REQUIRED>
<!
ATTLIST const wsmap (
managed|
suppress)
"managed">
<!
ELEMENT interface (
desc?, (
attribute|
method|
class|
if)*)>
<!-- done --> <!
ATTLIST interface name CDATA #
REQUIRED>
<!
ATTLIST interface extends CDATA #
IMPLIED>
<!
ATTLIST interface uuid CDATA #
IMPLIED>
<!
ATTLIST interface supportsErrorInfo (
yes|
no) #
IMPLIED>
<!
ATTLIST interface default (
yes|
no)
"no">
<!
ATTLIST interface internal (
yes|
no)
"no">
<!
ATTLIST interface wsmap (
fail|
global|
struct|
managed|
suppress)
"fail">
<!-- wsmap specifies how this interface is mapped to the web services API (WSDL). One of the following must be specified: fail: the default value, for which vboxweb.xsl will raise an error and die. global: object is a singleton and resides in global variable in the web service. managed: objects of this type are referenced by managed object referenced struct: object is a simple struct and can be copied as such suppress: Skip this interface entirely, and all methods that use it --> <!
ATTLIST interface wscpp (
generate|
hardcoded)
"generate">
<!-- wscpp specifies whether C++ code should be generated in methodmaps.cpp as a mapper to COM APIs. By default, this is "generate"; however, if set to "hardcoded", then no automatic C++ code should be generated. This is done for webservice APIs that have no counterpart in COM and are hard-coded in the webservice server, such as IManagedObjectReference and ISessionManager. --> <!
ATTLIST interface autogen CDATA #
IMPLIED>
<!-- autogen names the style of code auto-generation for this interface (currently only VBoxEvent). --> <!
ATTLIST interface id CDATA #
IMPLIED>
<!-- id is only relevant for event interfaces, and specifies which const name will be generated. --> <!
ATTLIST interface waitable (
yes|
no)
"no">
<!-- waitable is only relevant for event interfaces, and specifies that this event can be waited for. --> <!
ELEMENT class (
interface)>
<!-- done --> <!
ATTLIST class name CDATA #
REQUIRED>
<!
ATTLIST class uuid CDATA #
REQUIRED>
<!
ATTLIST class namespace CDATA #
REQUIRED>
<!
ELEMENT attribute (
desc?)>
<!-- done --> <!
ATTLIST attribute name CDATA #
REQUIRED>
<!
ATTLIST attribute type CDATA #
REQUIRED>
<!
ATTLIST attribute default CDATA #
IMPLIED>
<!
ATTLIST attribute readonly (
yes|
no)
"no">
<!
ATTLIST attribute mod (
ptr|
string) #
IMPLIED>
<!
ATTLIST attribute internal (
yes|
no)
"no">
<!
ATTLIST attribute safearray (
yes|
no)
"no">
<!
ATTLIST attribute wsmap (
managed|
suppress)
"managed">
<!
ELEMENT method (
desc?,
param*,
result*)>
<!-- done --> <!
ATTLIST method name CDATA #
REQUIRED>
<!
ATTLIST method const CDATA "no">
<!
ATTLIST method internal (
yes|
no)
"no">
<!
ATTLIST method wsmap (
managed|
suppress)
"managed">
<!
ELEMENT param (
desc?)>
<!-- done --> <!
ATTLIST param name CDATA #
REQUIRED>
<!
ATTLIST param type CDATA #
REQUIRED>
<!
ATTLIST param dir (
in|
out|
return) #
REQUIRED>
<!
ATTLIST param mod (
ptr|
string) #
IMPLIED>
<!
ATTLIST param safearray (
yes|
no)
"no">
<!
ELEMENT descGroup (
desc)*>
<!-- done (ignoring, butt-ugly hack, improper nesting enforced all over the .xsl files!) --> <!
ATTLIST descGroup id CDATA #
IMPLIED>
<!
ATTLIST descGroup title CDATA #
IMPLIED>
<!
ELEMENT desc (#
PCDATA|
link|
note|
see|
b|
tt|
i|
pre|
para|
ul|
ol|
h3|
table|
result)*>
<!-- done (ignoring) --> <!-- the following only appear within descriptions --> <!
ELEMENT link (#
PCDATA)>
<!
ATTLIST link to CDATA #
REQUIRED>
<!
ELEMENT ul (#
PCDATA|
li)*>
<!
ELEMENT ol (#
PCDATA|
li)*>
<!
ELEMENT see (#
PCDATA|
link)*>
<!
ATTLIST note internal (
yes|
no)
"no">