blob: d927a6cb4cdc6b975d9d0a9e57f54019b5ae7b67 [file] [log] [blame]
deboer7d78b902005-04-15 21:05:21 +00001<?xml version='1.0' encoding='UTF-8'?>
2<!-- Schema file written by PDE -->
avera62df3da2008-07-21 14:47:41 +00003<schema targetNamespace="org.eclipse.wst.server.core" xmlns="http://www.w3.org/2001/XMLSchema">
deboer7d78b902005-04-15 21:05:21 +00004<annotation>
avera62df3da2008-07-21 14:47:41 +00005 <appinfo>
6 <meta.schema plugin="org.eclipse.wst.server.core" id="moduleArtifactAdapters" name="Module Artifact Adapters"/>
7 </appinfo>
deboer7d78b902005-04-15 21:05:21 +00008 <documentation>
9
10 </documentation>
11 </annotation>
12
13 <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
14
15 <element name="extension">
avera62df3da2008-07-21 14:47:41 +000016 <annotation>
17 <appinfo>
18 <meta.element />
19 </appinfo>
20 </annotation>
deboer7d78b902005-04-15 21:05:21 +000021 <complexType>
22 <sequence>
deboerf5c03a12006-11-29 15:15:35 +000023 <element ref="moduleArtifactAdapter" minOccurs="1" maxOccurs="unbounded"/>
deboer7d78b902005-04-15 21:05:21 +000024 </sequence>
25 <attribute name="point" type="string" use="required">
26 <annotation>
27 <documentation>
28 a fully qualified identifier of the target extension point
29 </documentation>
30 </annotation>
31 </attribute>
32 <attribute name="id" type="string">
33 <annotation>
34 <documentation>
35 an optional identifier of the extension instance
36 </documentation>
37 </annotation>
38 </attribute>
39 <attribute name="name" type="string">
40 <annotation>
41 <documentation>
42 an optional name of the extension instance
43 </documentation>
44 </annotation>
45 </attribute>
46 </complexType>
47 </element>
48
49 <element name="moduleArtifactAdapter">
50 <annotation>
avera62df3da2008-07-21 14:47:41 +000051 <appinfo>
deboerfc22f1a2007-10-17 21:59:55 +000052 <meta.element labelAttribute="id"/>
avera62df3da2008-07-21 14:47:41 +000053 </appinfo>
deboer7d78b902005-04-15 21:05:21 +000054 </annotation>
55 <complexType>
56 <sequence>
deboerf5c03a12006-11-29 15:15:35 +000057 <element ref="enablement" minOccurs="0" maxOccurs="1"/>
deboer7d78b902005-04-15 21:05:21 +000058 </sequence>
59 <attribute name="id" type="string" use="required">
60 <annotation>
61 <documentation>
62 specifies a unique identifier for this extension point
63 </documentation>
64 </annotation>
65 </attribute>
66 <attribute name="class" type="string">
67 <annotation>
68 <documentation>
69 specifies the fully qualified name of the Java class that implements &lt;samp&gt;org.eclipse.wst.server.core.model.ModuleArtifactAdapterDelegate&lt;/samp&gt;.
70 </documentation>
avera62df3da2008-07-21 14:47:41 +000071 <appinfo>
deboer7d78b902005-04-15 21:05:21 +000072 <meta.attribute kind="java" basedOn="org.eclipse.wst.server.core.model.ModuleArtifactAdapterDelegate"/>
avera62df3da2008-07-21 14:47:41 +000073 </appinfo>
deboer7d78b902005-04-15 21:05:21 +000074 </annotation>
75 </attribute>
deboerabb4bd52005-04-17 18:56:32 +000076 <attribute name="priority" type="string">
deboer7d78b902005-04-15 21:05:21 +000077 <annotation>
78 <documentation>
deboerabb4bd52005-04-17 18:56:32 +000079 an optional priority atrribute which specifies a relative ordering of artifact adapters. Adapters with a higher number are always used first. To override another adapter, simply provide a higher priority value that the other adapter. The priority is 0 if no priority is specified
deboer7d78b902005-04-15 21:05:21 +000080 </documentation>
81 </annotation>
82 </attribute>
83 </complexType>
84 </element>
85
86 <annotation>
avera62df3da2008-07-21 14:47:41 +000087 <appinfo>
lmandel5773ece2005-11-29 06:02:22 +000088 <meta.section type="since"/>
avera62df3da2008-07-21 14:47:41 +000089 </appinfo>
lmandel5773ece2005-11-29 06:02:22 +000090 <documentation>
91 &lt;b&gt;This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.&lt;/b&gt;
92 </documentation>
93 </annotation>
94
95 <annotation>
avera62df3da2008-07-21 14:47:41 +000096 <appinfo>
deboer7d78b902005-04-15 21:05:21 +000097 <meta.section type="examples"/>
avera62df3da2008-07-21 14:47:41 +000098 </appinfo>
deboer7d78b902005-04-15 21:05:21 +000099 <documentation>
deboerfb648df2006-02-13 14:47:48 +0000100 The following is an example of a module object adapter extension point:
lmandel5773ece2005-11-29 06:02:22 +0000101
lmandel5773ece2005-11-29 06:02:22 +0000102&lt;pre&gt;
103
104&lt;/pre&gt;
deboer7d78b902005-04-15 21:05:21 +0000105 </documentation>
106 </annotation>
107
108 <annotation>
avera62df3da2008-07-21 14:47:41 +0000109 <appinfo>
deboer7d78b902005-04-15 21:05:21 +0000110 <meta.section type="apiInfo"/>
avera62df3da2008-07-21 14:47:41 +0000111 </appinfo>
deboer7d78b902005-04-15 21:05:21 +0000112 <documentation>
lmandeleef96112005-12-09 22:43:22 +0000113 Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that extends &lt;code&gt;org.eclipse.wst.server.core.model.ModuleArtifactAdapterDelegate&lt;/code&gt; and contains a public 0-arg constructor.
114 </documentation>
115 </annotation>
116
deboer7d78b902005-04-15 21:05:21 +0000117
118 <annotation>
avera62df3da2008-07-21 14:47:41 +0000119 <appinfo>
deboer7d78b902005-04-15 21:05:21 +0000120 <meta.section type="copyright"/>
avera62df3da2008-07-21 14:47:41 +0000121 </appinfo>
deboer7d78b902005-04-15 21:05:21 +0000122 <documentation>
avera62df3da2008-07-21 14:47:41 +0000123 Copyright (c) 2000, 2008 IBM Corporation and others.&lt;br&gt;
lmandeleef96112005-12-09 22:43:22 +0000124All rights reserved. This program and the accompanying materials are made
125available under the terms of the Eclipse Public License v1.0 which accompanies
126this distribution, and is available at
127&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
deboer7d78b902005-04-15 21:05:21 +0000128 </documentation>
129 </annotation>
130
131</schema>