You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

extensionset.html 2.8 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. -->
  15. <html>
  16. <head>
  17. <meta http-equiv="Content-Language" content="en-us">
  18. <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
  19. <title>ExtensionSet Type</title>
  20. </head>
  21. <body>
  22. <h2><a>ExtensionSet</a></h2>
  23. <p>Utility type that represents a set of Extensions.</p>
  24. <p>Note that this type works with extensions as defined by the "Optional Package" specification.
  25. For more information about optional packages, see the document <em>Optional Package Versioning</em>
  26. in the documentation bundle for your Java Standard Edition package, in
  27. file <samp>guide/extensions/versioning.html</samp> or online
  28. at <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/versioning/spec/versioning2.html#wp90779"
  29. target="_top">Package Versioning documentation.</a></p>
  30. <h3>Nested elements</h3>
  31. <h4>extension</h4>
  32. <p><a href="extension.html">Extension</a> object to add to set.</p>
  33. <h4>fileset</h4>
  34. <p><a href="fileset.html">FileSet</a>s all files contained contained within set that are jars and
  35. implement an extension are added to extension set.</p>
  36. <h4>libfileset</h4>
  37. <p>All files contained contained within set that are jars and implement an extension are added to
  38. extension set. However, the extension information may be modified by attributes of libfileset.</p>
  39. <h4>Examples</h4>
  40. <pre>
  41. &lt;extension id=&quot;e1&quot;
  42. extensionName=&quot;MyExtensions&quot;
  43. specificationVersion=&quot;1.0&quot;
  44. specificationVendor=&quot;Peter Donald&quot;
  45. implementationVendorID=&quot;vv&quot;
  46. implementationVendor=&quot;Apache&quot;
  47. implementationVersion=&quot;2.0&quot;
  48. implementationURL=&quot;http://somewhere.com/myExt.jar&quot;/&gt;
  49. &lt;libfileset id="lfs"
  50. includeUrl="true"
  51. includeImpl="false"
  52. dir="tools/lib"&gt;
  53. &lt;include name="*.jar"/&gt;
  54. &lt;/libfileset&gt;
  55. &lt;extensionSet id="exts"&gt;
  56. &lt;libfileset dir="lib"&gt;
  57. &lt;include name="*.jar"/&gt;
  58. &lt;/libfileset&gt;
  59. &lt;libfileset refid="lfs"/&gt;
  60. &lt;extension refid="e1"/&gt;
  61. &lt;/extensionSet&gt;
  62. </pre>
  63. </body>
  64. </html>