ndai | b94eb26 | 2004-10-13 15:55:37 +0000 | [diff] [blame^] | 1 | <?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 <samp>IRuntimeDelegate</samp>. |
| 98 | Runtime 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 <samp>IRuntimeWorkingCopyDelegate</samp>. |
| 106 | Runtime 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 | <p> |
| 147 | <pre> |
| 148 | <extension point="org.eclipse.wst.server.core.runtimeTypes"> |
| 149 | <runtimeType |
| 150 | id="com.example.runtime" |
| 151 | name="%runtimeTypeName" |
| 152 | description="%runtimeTypeDescription" |
| 153 | vendor="%runtimeTypeVendor" |
| 154 | version="1.0" |
| 155 | class="com.example.ExampleRuntimeDelegate" |
| 156 | workingCopyClass="com.example.ExampleRuntimeWorkingCopyDelegate"> |
| 157 | <moduleType |
| 158 | types="j2ee.web" |
| 159 | versions="1.2, 1.3, 1.4"/> |
| 160 | </runtimeType> |
| 161 | </extension> |
| 162 | </pre> |
| 163 | </p>
|
| 164 | </documentation>
|
| 165 | </annotation>
|
| 166 |
|
| 167 | <annotation>
|
| 168 | <appInfo>
|
| 169 | <meta.section type="apiInfo"/>
|
| 170 | </appInfo>
|
| 171 | <documentation>
|
| 172 | Value of the attribute <b>class</b> must be a fully qualified name of a Java class that implements the interface <b>org.eclipse.wst.server.core.model.IRuntimeDelegate</b>.
|
| 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.<br> |
| 182 | All rights reserved. This program and the accompanying materials are made |
| 183 | available under the terms of the Common Public License v1.0 which accompanies |
| 184 | this distribution, and is available at |
| 185 | <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>
|
| 186 | </documentation>
|
| 187 | </annotation>
|
| 188 |
|
| 189 | </schema>
|