[14982] | 1 | <html>
|
---|
| 2 | <head>
|
---|
| 3 | <meta http-equiv="Content-Language" content="en-us">
|
---|
| 4 | <title>ExtensionSet Type</title>
|
---|
| 5 | <link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
|
---|
| 6 | </head>
|
---|
| 7 |
|
---|
| 8 | <body>
|
---|
| 9 | <h2><a>ExtensionSet</a></h2>
|
---|
| 10 | <p>Utility type that represents a set of Extensions.</p>
|
---|
| 11 | <p>Note that this type
|
---|
| 12 | works with extensions as defined by the "Optional Package" specification.
|
---|
| 13 | For more information about optional packages, see the document
|
---|
| 14 | <em>Optional Package Versioning</em> in the documentation bundle for your
|
---|
| 15 | Java2 Standard Edition package, in file
|
---|
| 16 | <code>guide/extensions/versioning.html</code> or online at
|
---|
| 17 | <a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html">
|
---|
| 18 | http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html</a>.</p>
|
---|
| 19 |
|
---|
| 20 | <h3>Nested Elements</h3>
|
---|
| 21 |
|
---|
| 22 | <h4>extension</h4>
|
---|
| 23 | <p><a href="extension.html">Extension</a> object to add to set.</p>
|
---|
| 24 |
|
---|
| 25 | <h4>fileset</h4>
|
---|
| 26 | <p><a href="../CoreTypes/fileset.html">FileSet</a>s all files contained
|
---|
| 27 | contained within set that are jars and implement an extension are added
|
---|
| 28 | to extension set.</p>
|
---|
| 29 |
|
---|
| 30 | <h4>LibFileSet</h4>
|
---|
| 31 | <p>All files contained contained within set that are jars and implement
|
---|
| 32 | an extension are added to extension set. However the extension information
|
---|
| 33 | may be modified by attributes of libfileset</p>
|
---|
| 34 |
|
---|
| 35 | <h4>Examples</h4>
|
---|
| 36 | <blockquote><pre>
|
---|
| 37 | <extension id="e1"
|
---|
| 38 | extensionName="MyExtensions"
|
---|
| 39 | specificationVersion="1.0"
|
---|
| 40 | specificationVendor="Peter Donald"
|
---|
| 41 | implementationVendorID="vv"
|
---|
| 42 | implementationVendor="Apache"
|
---|
| 43 | implementationVersion="2.0"
|
---|
| 44 | implementationURL="http://somewhere.com/myExt.jar"/>
|
---|
| 45 |
|
---|
| 46 | <libfileset id="lfs"
|
---|
| 47 | includeUrl="true"
|
---|
| 48 | includeImpl="false"
|
---|
| 49 | dir="tools/lib">
|
---|
| 50 | <include name="*.jar"/>
|
---|
| 51 | </libfileset>
|
---|
| 52 |
|
---|
| 53 | <extensionSet id="exts">
|
---|
| 54 | <libfileset dir="lib">
|
---|
| 55 | <include name="*.jar"/>
|
---|
| 56 | </libfileset>
|
---|
| 57 | <libfileset refid="lfs"/>
|
---|
| 58 | <extension refid="e1"/>
|
---|
| 59 | </extensionSet>
|
---|
| 60 |
|
---|
| 61 | </pre></blockquote>
|
---|
| 62 |
|
---|
| 63 | <hr>
|
---|
| 64 | <p align="center">Copyright © 2002-2004 The Apache Software Foundation. All rights
|
---|
| 65 | Reserved.</p>
|
---|
| 66 |
|
---|
| 67 | </body>
|
---|
| 68 | </html>
|
---|
| 69 |
|
---|