2018-12-21 11:20:43 +01:00
|
|
|
<!DOCTYPE html>
|
2006-09-11 04:19:00 +00:00
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
2019-05-25 13:41:47 +02:00
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
2006-09-11 04:19:00 +00:00
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2018-12-21 11:20:43 +01:00
|
|
|
<html lang="en">
|
2002-06-22 23:38:38 +00:00
|
|
|
<head>
|
2005-04-29 18:58:16 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
|
2002-06-22 23:38:38 +00:00
|
|
|
<title>ExtensionSet Type</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2003-02-05 10:43:07 +00:00
|
|
|
<h2><a>ExtensionSet</a></h2>
|
2002-06-22 23:38:38 +00:00
|
|
|
<p>Utility type that represents a set of Extensions.</p>
|
2018-02-28 07:58:59 +01:00
|
|
|
<p>Note that this type works with extensions as defined by the "Optional Package" specification.
|
2018-03-08 07:43:53 +01:00
|
|
|
For more information about optional packages, see the document <em>Optional Package Versioning</em>
|
|
|
|
in the documentation bundle for your Java Standard Edition package, in
|
2018-02-28 07:58:59 +01:00
|
|
|
file <samp>guide/extensions/versioning.html</samp> or online
|
2018-03-08 07:43:53 +01:00
|
|
|
at <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/versioning/spec/versioning2.html#wp90779"
|
|
|
|
target="_top">Package Versioning documentation.</a></p>
|
2002-06-22 23:38:38 +00:00
|
|
|
|
2020-08-23 14:18:36 +02:00
|
|
|
<p>The only supported attribute is <code>refid</code> which makes this
|
|
|
|
<code>extensionset</code>
|
|
|
|
a <a href="../using.html#references">reference</a> to
|
|
|
|
an <code>extensionset</code> defined elsewhere. If specified no
|
|
|
|
other attributes or nested elements are allowed.</p>
|
|
|
|
|
2018-03-05 21:01:42 +01:00
|
|
|
<h3>Nested elements</h3>
|
2002-06-22 23:38:38 +00:00
|
|
|
|
|
|
|
<h4>extension</h4>
|
|
|
|
<p><a href="extension.html">Extension</a> object to add to set.</p>
|
|
|
|
|
|
|
|
<h4>fileset</h4>
|
2018-03-08 07:43:53 +01:00
|
|
|
<p><a href="fileset.html">FileSet</a>s all files contained contained within set that are jars and
|
|
|
|
implement an extension are added to extension set.</p>
|
2002-06-22 23:38:38 +00:00
|
|
|
|
2018-03-05 21:01:42 +01:00
|
|
|
<h4>libfileset</h4>
|
2018-03-08 07:43:53 +01:00
|
|
|
<p>All files contained contained within set that are jars and implement an extension are added to
|
|
|
|
extension set. However, the extension information may be modified by attributes of libfileset.</p>
|
2002-06-22 23:38:38 +00:00
|
|
|
|
|
|
|
<h4>Examples</h4>
|
2018-02-09 06:54:03 +01:00
|
|
|
<pre>
|
2002-06-22 23:38:38 +00:00
|
|
|
<extension id="e1"
|
|
|
|
extensionName="MyExtensions"
|
|
|
|
specificationVersion="1.0"
|
|
|
|
specificationVendor="Peter Donald"
|
|
|
|
implementationVendorID="vv"
|
|
|
|
implementationVendor="Apache"
|
|
|
|
implementationVersion="2.0"
|
2019-05-25 15:38:31 +02:00
|
|
|
implementationURL="https://somewhere.com/myExt.jar"/>
|
2002-06-22 23:38:38 +00:00
|
|
|
|
|
|
|
<libfileset id="lfs"
|
|
|
|
includeUrl="true"
|
|
|
|
includeImpl="false"
|
|
|
|
dir="tools/lib">
|
|
|
|
<include name="*.jar"/>
|
|
|
|
</libfileset>
|
|
|
|
|
|
|
|
<extensionSet id="exts">
|
|
|
|
<libfileset dir="lib">
|
|
|
|
<include name="*.jar"/>
|
|
|
|
</libfileset>
|
|
|
|
<libfileset refid="lfs"/>
|
|
|
|
<extension refid="e1"/>
|
|
|
|
</extensionSet>
|
2018-02-09 06:54:03 +01:00
|
|
|
</pre>
|
2002-06-22 23:38:38 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|