1 | <html>
|
---|
2 | <head>
|
---|
3 | <meta http-equiv="Content-Language" content="en-us">
|
---|
4 | <title>Extension Type</title>
|
---|
5 | <link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
|
---|
6 | </head>
|
---|
7 |
|
---|
8 | <body>
|
---|
9 | <h2><a name="fileset">Extension</a></h2>
|
---|
10 | <p>Utility type that represents either an available "Optional Package"
|
---|
11 | (formerly known as "Standard Extension") as described in the manifest
|
---|
12 | of a JAR file, or the requirement for such an optional package.</p>
|
---|
13 | <p>Note that this type
|
---|
14 | works with extensions as defined by the "Optional Package" specification.
|
---|
15 | For more information about optional packages, see the document
|
---|
16 | <em>Optional Package Versioning</em> in the documentation bundle for your
|
---|
17 | Java2 Standard Edition package, in file
|
---|
18 | <code>guide/extensions/versioning.html</code> or online at
|
---|
19 | <a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html">
|
---|
20 | http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html</a>.</p>
|
---|
21 |
|
---|
22 | <h3>Attributes</h3>
|
---|
23 | <p>The extension type supports the following attributes</a>:
|
---|
24 | </p>
|
---|
25 |
|
---|
26 | <table border="1" cellpadding="2" cellspacing="0">
|
---|
27 | <tr>
|
---|
28 | <td valign="top"><b>Attribute</b></td>
|
---|
29 | <td valign="top"><b>Description</b></td>
|
---|
30 | <td align="center" valign="top"><b>Required</b></td>
|
---|
31 | </tr>
|
---|
32 | <tr>
|
---|
33 | <td valign="top">extensionName</td>
|
---|
34 | <td valign="top">The name of extension</td>
|
---|
35 | <td valign="top" align="center">yes</td>
|
---|
36 | </tr>
|
---|
37 | <tr>
|
---|
38 | <td valign="top">specificationVersion</td>
|
---|
39 | <td valign="top">The version of extension specification (Must be in
|
---|
40 | dewey decimal aka dotted decimal notation. 3.2.4)</td>
|
---|
41 | <td valign="top" align="center">no</td>
|
---|
42 | </tr>
|
---|
43 | <tr>
|
---|
44 | <td valign="top">specificationVendor</td>
|
---|
45 | <td valign="top">The specification vendor</td>
|
---|
46 | <td valign="top" align="center">no</td>
|
---|
47 | </tr>
|
---|
48 | <tr>
|
---|
49 | <td valign="top">implementationVersion</td>
|
---|
50 | <td valign="top">The version of extension implementation (Must be in
|
---|
51 | dewey decimal aka dotted decimal notation. 3.2.4)</td>
|
---|
52 | <td valign="top" align="center">no</td>
|
---|
53 | </tr>
|
---|
54 | <tr>
|
---|
55 | <td valign="top">implementationVendor</td>
|
---|
56 | <td valign="top">The implementation vendor</td>
|
---|
57 | <td valign="top" align="center">no</td>
|
---|
58 | </tr>
|
---|
59 | <tr>
|
---|
60 | <td valign="top">implementationVendorId</td>
|
---|
61 | <td valign="top">The implementation vendor ID</td>
|
---|
62 | <td valign="top" align="center">no</td>
|
---|
63 | </tr>
|
---|
64 | <tr>
|
---|
65 | <td valign="top">implementationURL</td>
|
---|
66 | <td valign="top">The url from which to retrieve extension.</td>
|
---|
67 | <td valign="top" align="center">no</td>
|
---|
68 | </tr>
|
---|
69 | </table>
|
---|
70 |
|
---|
71 | <h4>Examples</h4>
|
---|
72 | <blockquote><pre>
|
---|
73 | <extension id="e1"
|
---|
74 | extensionName="MyExtensions"
|
---|
75 | specificationVersion="1.0"
|
---|
76 | specificationVendor="Peter Donald"
|
---|
77 | implementationVendorID="vv"
|
---|
78 | implementationVendor="Apache"
|
---|
79 | implementationVersion="2.0"
|
---|
80 | implementationURL="http://somewhere.com/myExt.jar"/>
|
---|
81 | </pre></blockquote>
|
---|
82 |
|
---|
83 | <p>Fully specific extension object.</p>
|
---|
84 |
|
---|
85 | <blockquote><pre>
|
---|
86 | <extension id="e1"
|
---|
87 | extensionName="MyExtensions"
|
---|
88 | specificationVersion="1.0"
|
---|
89 | specificationVendor="Peter Donald"/>
|
---|
90 | </pre></blockquote>
|
---|
91 |
|
---|
92 | <p>Extension object that just species the specification details.</p>
|
---|
93 |
|
---|
94 | <hr>
|
---|
95 | <p align="center">Copyright © 2002-2004 The Apache Software Foundation. All rights
|
---|
96 | Reserved.</p>
|
---|
97 |
|
---|
98 | </body>
|
---|
99 | </html>
|
---|
100 |
|
---|