blob: 3b132998c2150e70bd19278bcb1c152a1069f321 [file] [log] [blame]
ndaib94eb262004-10-13 15:55:37 +00001<?xml version='1.0' encoding='UTF-8'?>
2<!-- Schema file written by PDE -->
3<schema targetNamespace="org.eclipse.wst.server.core">
4<annotation>
5 <appInfo>
6 <meta.schema plugin="org.eclipse.wst.server.core" id="runtimeTypes" name="Runtime Types"/>
7 </appInfo>
8 <documentation>
9 This extension point is used to provide a new runtime type.
10 </documentation>
11 </annotation>
12
13 <element name="extension">
14 <complexType>
15 <sequence>
16 <element ref="runtimeType" minOccurs="0" maxOccurs="unbounded"/>
17 </sequence>
18 <attribute name="point" type="string" use="required">
19 <annotation>
20 <documentation>
21 a fully qualified identifier of the target extension point
22 </documentation>
23 </annotation>
24 </attribute>
25 <attribute name="id" type="string">
26 <annotation>
27 <documentation>
28 an optional identifier of the extension instance
29 </documentation>
30 </annotation>
31 </attribute>
32 <attribute name="name" type="string">
33 <annotation>
34 <documentation>
35 an optional name of the extension instance
36 </documentation>
37 </annotation>
38 </attribute>
39 </complexType>
40 </element>
41
42 <element name="runtimeType">
43 <annotation>
44 <appInfo>
45 <meta.element labelAttribute="name"/>
46 </appInfo>
47 </annotation>
48 <complexType>
49 <sequence>
50 <element ref="moduleType" minOccurs="0" maxOccurs="unbounded"/>
51 </sequence>
52 <attribute name="id" type="string" use="required">
53 <annotation>
54 <documentation>
55 specifies a unique identifier for this extension point
56 </documentation>
57 </annotation>
58 </attribute>
59 <attribute name="name" type="string" use="required">
60 <annotation>
61 <documentation>
62 a translatable name used to identify the runtime type
63 </documentation>
64 </annotation>
65 </attribute>
66 <attribute name="description" type="string" use="required">
67 <annotation>
68 <documentation>
69 a translatable description of the runtime type
70 </documentation>
71 </annotation>
72 </attribute>
73 <attribute name="vendor" type="string">
74 <annotation>
75 <documentation>
76 a translatable vendor name
77 </documentation>
78 </annotation>
79 </attribute>
80 <attribute name="version" type="string">
81 <annotation>
82 <documentation>
83 a translatable version number
84 </documentation>
85 </annotation>
86 </attribute>
87 <attribute name="vendorId" type="string">
88 <annotation>
89 <documentation>
90 an id used to identify the vendor
91 </documentation>
92 </annotation>
93 </attribute>
94 <attribute name="class" type="string">
95 <annotation>
96 <documentation>
97 specifies the fully qualified name of the Java class that implements &lt;samp&gt;IRuntimeDelegate&lt;/samp&gt;.
98Runtime instances of this type will delegate to instances of this class.
99 </documentation>
100 </annotation>
101 </attribute>
102 <attribute name="workingCopyClass" type="string">
103 <annotation>
104 <documentation>
105 specifies the fully qualified name of the Java class that implements &lt;samp&gt;IRuntimeWorkingCopyDelegate&lt;/samp&gt;.
106Runtime instances of this type will delegate to instances of this class.
107 </documentation>
108 </annotation>
109 </attribute>
110 <attribute name="order" type="string">
111 <annotation>
112 <documentation>
113 an integer order specifying the relative importance of this runtime
114 </documentation>
115 </annotation>
116 </attribute>
117 </complexType>
118 </element>
119
120 <element name="moduleType">
121 <complexType>
122 <attribute name="types" type="string" use="required">
123 <annotation>
124 <documentation>
125 a comma separated list of the module types that this runtime supports
126 </documentation>
127 </annotation>
128 </attribute>
129 <attribute name="versions" type="string" use="required">
130 <annotation>
131 <documentation>
132 a comma separated list of the module versions that this runtime supports
133 </documentation>
134 </annotation>
135 </attribute>
136 </complexType>
137 </element>
138
139 <annotation>
140 <appInfo>
141 <meta.section type="examples"/>
142 </appInfo>
143 <documentation>
144 The following is an example of a runtime type extension point:
145
146&lt;p&gt;
147&lt;pre&gt;
148 &lt;extension point=&quot;org.eclipse.wst.server.core.runtimeTypes&quot;&gt;
149 &lt;runtimeType
150 id=&quot;com.example.runtime&quot;
151 name=&quot;%runtimeTypeName&quot;
152 description=&quot;%runtimeTypeDescription&quot;
153 vendor=&quot;%runtimeTypeVendor&quot;
154 version=&quot;1.0&quot;
155 class=&quot;com.example.ExampleRuntimeDelegate&quot;
156 workingCopyClass=&quot;com.example.ExampleRuntimeWorkingCopyDelegate&quot;&gt;
157 &lt;moduleType
158 types=&quot;j2ee.web&quot;
159 versions=&quot;1.2, 1.3, 1.4&quot;/&gt;
160 &lt;/runtimeType&gt;
161 &lt;/extension&gt;
162&lt;/pre&gt;
163&lt;/p&gt;
164 </documentation>
165 </annotation>
166
167 <annotation>
168 <appInfo>
169 <meta.section type="apiInfo"/>
170 </appInfo>
171 <documentation>
172 Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that implements the interface &lt;b&gt;org.eclipse.wst.server.core.model.IRuntimeDelegate&lt;/b&gt;.
173 </documentation>
174 </annotation>
175
176 <annotation>
177 <appInfo>
178 <meta.section type="copyright"/>
179 </appInfo>
180 <documentation>
181 Copyright (c) 2000, 2003 IBM Corporation and others.&lt;br&gt;
182All rights reserved. This program and the accompanying materials are made
183available under the terms of the Common Public License v1.0 which accompanies
184this distribution, and is available at
185&lt;a href=&quot;http://www.eclipse.org/legal/cpl-v10.html&quot;&gt;http://www.eclipse.org/legal/cpl-v10.html&lt;/a&gt;
186 </documentation>
187 </annotation>
188
189</schema>