forked from Taritsyn/JavaScriptEngineSwitcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaScriptEngineSwitcher.Configuration.xsd
More file actions
93 lines (87 loc) · 3.53 KB
/
JavaScriptEngineSwitcher.Configuration.xsd
File metadata and controls
93 lines (87 loc) · 3.53 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="utf-8"?>
<xs:schema
id="javaScriptEngineSwitcherConfiguration"
targetNamespace="http://tempuri.org/JavaScriptEngineSwitcher.Configuration.xsd"
elementFormDefault="qualified"
xmlns="http://tempuri.org/JavaScriptEngineSwitcher.Configuration.xsd"
xmlns:mstns="http://tempuri.org/JavaScriptEngineSwitcher.Configuration.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="jsEngineSwitcher">
<xs:annotation>
<xs:documentation>Bundle Transformer configuration settings</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
<xs:element name="core" type="CoreConfiguration_SchemaType" minOccurs="0" maxOccurs="1" />
<xs:element name="v8" type="V8Configuration_SchemaType" minOccurs="0" maxOccurs="1" />
</xs:all>
</xs:complexType>
</xs:element>
<!-- Core configuration settings -->
<xs:complexType name="CoreConfiguration_SchemaType">
<xs:annotation>
<xs:documentation>Configuration settings of core</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="engines" type="JsEngineRegistrationList_SchemaType" minOccurs="0" maxOccurs="1" />
</xs:all>
<xs:attribute name="defaultEngine" type="xs:string" use="optional" default="">
<xs:annotation>
<xs:documentation>Name of default JavaScript engine</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="JsEngineRegistrationList_SchemaType">
<xs:annotation>
<xs:documentation>List of registered JavaScript engines</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add" type="AddJsEngineRegistration_SchemaType" />
<xs:element name="remove" type="RemoveJsEngineRegistration_SchemaType" />
<xs:element name="clear" type="ClearJsEngineRegistration_SchemaType" />
</xs:choice>
</xs:complexType>
<xs:complexType name="AddJsEngineRegistration_SchemaType">
<xs:annotation>
<xs:documentation>Adds JavaScript engine registration</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>JavaScript engine name</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>JavaScript engine .NET-type name</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="RemoveJsEngineRegistration_SchemaType">
<xs:annotation>
<xs:documentation>Removes JavaScript engine registration</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>JavaScript engine name</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ClearJsEngineRegistration_SchemaType">
<xs:annotation>
<xs:documentation>Removes all JavaScript engine registrations, that specified above</xs:documentation>
</xs:annotation>
</xs:complexType>
<!--/ Core configuration settings -->
<!-- V8 configuration settings -->
<xs:complexType name="V8Configuration_SchemaType">
<xs:annotation>
<xs:documentation>Configuration settings of V8 JavaScript engine</xs:documentation>
</xs:annotation>
<xs:attribute name="noesisJavascriptAssembliesDirectoryPath" type="xs:string" use="optional" default="">
<xs:annotation>
<xs:documentation>Path to directory that contains the Noesis Javascript .NET assemblies</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!--/ V8 configuration settings -->
</xs:schema>