[14982] | 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>ExtensionSet Type</title>
|
---|
| 22 | </head>
|
---|
| 23 |
|
---|
| 24 | <body>
|
---|
| 25 | <h2><a>ExtensionSet</a></h2>
|
---|
| 26 | <p>Utility type that represents a set of Extensions.</p>
|
---|
| 27 | <p>Note that this type
|
---|
| 28 | works with extensions as defined by the "Optional Package" specification.
|
---|
| 29 | For more information about optional packages, see the document
|
---|
| 30 | <em>Optional Package Versioning</em> in the documentation bundle for your
|
---|
| 31 | Java2 Standard Edition package, in file
|
---|
| 32 | <code>guide/extensions/versioning.html</code> or online at
|
---|
| 33 | <a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html">
|
---|
| 34 | http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html</a>.</p>
|
---|
| 35 |
|
---|
| 36 | <h3>Nested Elements</h3>
|
---|
| 37 |
|
---|
| 38 | <h4>extension</h4>
|
---|
| 39 | <p><a href="extension.html">Extension</a> object to add to set.</p>
|
---|
| 40 |
|
---|
| 41 | <h4>fileset</h4>
|
---|
| 42 | <p><a href="../CoreTypes/fileset.html">FileSet</a>s all files contained
|
---|
| 43 | contained within set that are jars and implement an extension are added
|
---|
| 44 | to extension set.</p>
|
---|
| 45 |
|
---|
| 46 | <h4>LibFileSet</h4>
|
---|
| 47 | <p>All files contained contained within set that are jars and implement
|
---|
| 48 | an extension are added to extension set. However the extension information
|
---|
| 49 | may be modified by attributes of libfileset</p>
|
---|
| 50 |
|
---|
| 51 | <h3>Examples</h3>
|
---|
| 52 | <blockquote><pre>
|
---|
| 53 | <extension id="e1"
|
---|
| 54 | extensionName="MyExtensions"
|
---|
| 55 | specificationVersion="1.0"
|
---|
| 56 | specificationVendor="Peter Donald"
|
---|
| 57 | implementationVendorID="vv"
|
---|
| 58 | implementationVendor="Apache"
|
---|
| 59 | implementationVersion="2.0"
|
---|
| 60 | implementationURL="http://somewhere.com/myExt.jar"/>
|
---|
| 61 |
|
---|
| 62 | <libfileset id="lfs"
|
---|
| 63 | includeUrl="true"
|
---|
| 64 | includeImpl="false"
|
---|
| 65 | dir="tools/lib">
|
---|
| 66 | <include name="*.jar"/>
|
---|
| 67 | </libfileset>
|
---|
| 68 |
|
---|
| 69 | <extensionSet id="exts">
|
---|
| 70 | <libfileset dir="lib">
|
---|
| 71 | <include name="*.jar"/>
|
---|
| 72 | </libfileset>
|
---|
| 73 | <libfileset refid="lfs"/>
|
---|
| 74 | <extension refid="e1"/>
|
---|
| 75 | </extensionSet>
|
---|
| 76 |
|
---|
| 77 | </pre></blockquote>
|
---|
| 78 |
|
---|
| 79 |
|
---|
| 80 |
|
---|
| 81 | </body>
|
---|
| 82 | </html>
|
---|
| 83 |
|
---|