source: release-kits/lirk3/bin/ant-installer/web/manual/manual/OptionalTypes/extension.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 4.0 KB
Line 
1<!--
2 Licensed to the Apache Software Foundation (ASF) under one or more
3 contributor license agreements. See the NOTICE file distributed with
4 this work for additional information regarding copyright ownership.
5 The ASF licenses this file to You under the Apache License, Version 2.0
6 (the "License"); you may not use this file except in compliance with
7 the License. You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<html>
18<head>
19<meta http-equiv="Content-Language" content="en-us">
20<link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
21<title>Extension Type</title>
22</head>
23
24<body>
25<h2><a name="fileset">Extension</a></h2>
26<p>Utility type that represents either an available "Optional Package"
27 (formerly known as "Standard Extension") as described in the manifest
28 of a JAR file, or the requirement for such an optional package.</p>
29<p>Note that this type
30works with extensions as defined by the "Optional Package" specification.
31 For more information about optional packages, see the document
32<em>Optional Package Versioning</em> in the documentation bundle for your
33Java2 Standard Edition package, in file
34<code>guide/extensions/versioning.html</code> or online at
35<a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html">
36http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html</a>.</p>
37
38<h3>Attributes</h3>
39<p>The extension type supports the following attributes</a>:
40</p>
41
42<table border="1" cellpadding="2" cellspacing="0">
43 <tr>
44 <td valign="top"><b>Attribute</b></td>
45 <td valign="top"><b>Description</b></td>
46 <td align="center" valign="top"><b>Required</b></td>
47 </tr>
48 <tr>
49 <td valign="top">extensionName</td>
50 <td valign="top">The name of extension</td>
51 <td valign="top" align="center">yes</td>
52 </tr>
53 <tr>
54 <td valign="top">specificationVersion</td>
55 <td valign="top">The version of extension specification (Must be in
56 dewey decimal aka dotted decimal notation. 3.2.4)</td>
57 <td valign="top" align="center">no</td>
58 </tr>
59 <tr>
60 <td valign="top">specificationVendor</td>
61 <td valign="top">The specification vendor</td>
62 <td valign="top" align="center">no</td>
63 </tr>
64 <tr>
65 <td valign="top">implementationVersion</td>
66 <td valign="top">The version of extension implementation (Must be in
67 dewey decimal aka dotted decimal notation. 3.2.4)</td>
68 <td valign="top" align="center">no</td>
69 </tr>
70 <tr>
71 <td valign="top">implementationVendor</td>
72 <td valign="top">The implementation vendor</td>
73 <td valign="top" align="center">no</td>
74 </tr>
75 <tr>
76 <td valign="top">implementationVendorId</td>
77 <td valign="top">The implementation vendor ID</td>
78 <td valign="top" align="center">no</td>
79 </tr>
80 <tr>
81 <td valign="top">implementationURL</td>
82 <td valign="top">The url from which to retrieve extension.</td>
83 <td valign="top" align="center">no</td>
84 </tr>
85</table>
86
87<h3>Examples</h3>
88<blockquote><pre>
89&lt;extension id=&quot;e1&quot;
90 extensionName=&quot;MyExtensions&quot;
91 specificationVersion=&quot;1.0&quot;
92 specificationVendor=&quot;Peter Donald&quot;
93 implementationVendorID=&quot;vv&quot;
94 implementationVendor=&quot;Apache&quot;
95 implementationVersion=&quot;2.0&quot;
96 implementationURL=&quot;http://somewhere.com/myExt.jar&quot;/&gt;
97</pre></blockquote>
98
99<p>Fully specific extension object.</p>
100
101<blockquote><pre>
102&lt;extension id=&quot;e1&quot;
103 extensionName=&quot;MyExtensions&quot;
104 specificationVersion=&quot;1.0&quot;
105 specificationVendor=&quot;Peter Donald&quot;/&gt;
106</pre></blockquote>
107
108<p>Extension object that just species the specification details.</p>
109
110
111
112</body>
113</html>
114
Note: See TracBrowser for help on using the repository browser.