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
|
---|
30 | works 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
|
---|
33 | Java2 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">
|
---|
36 | http://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 | <extension id="e1"
|
---|
90 | extensionName="MyExtensions"
|
---|
91 | specificationVersion="1.0"
|
---|
92 | specificationVendor="Peter Donald"
|
---|
93 | implementationVendorID="vv"
|
---|
94 | implementationVendor="Apache"
|
---|
95 | implementationVersion="2.0"
|
---|
96 | implementationURL="http://somewhere.com/myExt.jar"/>
|
---|
97 | </pre></blockquote>
|
---|
98 |
|
---|
99 | <p>Fully specific extension object.</p>
|
---|
100 |
|
---|
101 | <blockquote><pre>
|
---|
102 | <extension id="e1"
|
---|
103 | extensionName="MyExtensions"
|
---|
104 | specificationVersion="1.0"
|
---|
105 | specificationVendor="Peter Donald"/>
|
---|
106 | </pre></blockquote>
|
---|
107 |
|
---|
108 | <p>Extension object that just species the specification details.</p>
|
---|
109 |
|
---|
110 |
|
---|
111 |
|
---|
112 | </body>
|
---|
113 | </html>
|
---|
114 |
|
---|