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.

extension.html 4.0 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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>Extension Type</title>
  20. </head>
  21. <body>
  22. <h2><a name="fileset">Extension</a></h2>
  23. <p>Utility type that represents either an available "Optional Package"
  24. (formerly known as "Standard Extension") as described in the manifest
  25. of a JAR file, or the requirement for such an optional package.</p>
  26. <p>Note that this type
  27. works with extensions as defined by the "Optional Package" specification.
  28. For more information about optional packages, see the document
  29. <em>Optional Package Versioning</em> in the documentation bundle for your
  30. Java2 Standard Edition package, in file
  31. <code>guide/extensions/versioning.html</code> or the online
  32. <a href="http://docs.oracle.com/javase/7/docs/technotes/guides/versioning/spec/versioning2.html#wp90779">
  33. Package Versioning documentation.</p>
  34. <h3>Attributes</h3>
  35. <p>The extension type supports the following attributes</a>:
  36. </p>
  37. <table border="1" cellpadding="2" cellspacing="0">
  38. <tr>
  39. <td valign="top"><b>Attribute</b></td>
  40. <td valign="top"><b>Description</b></td>
  41. <td align="center" valign="top"><b>Required</b></td>
  42. </tr>
  43. <tr>
  44. <td valign="top">extensionName</td>
  45. <td valign="top">The name of extension</td>
  46. <td valign="top" align="center">yes</td>
  47. </tr>
  48. <tr>
  49. <td valign="top">specificationVersion</td>
  50. <td valign="top">The version of extension specification (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">specificationVendor</td>
  56. <td valign="top">The specification vendor</td>
  57. <td valign="top" align="center">no</td>
  58. </tr>
  59. <tr>
  60. <td valign="top">implementationVersion</td>
  61. <td valign="top">The version of extension implementation (Must be in
  62. dewey decimal aka dotted decimal notation. 3.2.4)</td>
  63. <td valign="top" align="center">no</td>
  64. </tr>
  65. <tr>
  66. <td valign="top">implementationVendor</td>
  67. <td valign="top">The implementation vendor</td>
  68. <td valign="top" align="center">no</td>
  69. </tr>
  70. <tr>
  71. <td valign="top">implementationVendorId</td>
  72. <td valign="top">The implementation vendor ID</td>
  73. <td valign="top" align="center">no</td>
  74. </tr>
  75. <tr>
  76. <td valign="top">implementationURL</td>
  77. <td valign="top">The url from which to retrieve extension.</td>
  78. <td valign="top" align="center">no</td>
  79. </tr>
  80. </table>
  81. <h4>Examples</h4>
  82. <blockquote><pre>
  83. &lt;extension id=&quot;e1&quot;
  84. extensionName=&quot;MyExtensions&quot;
  85. specificationVersion=&quot;1.0&quot;
  86. specificationVendor=&quot;Peter Donald&quot;
  87. implementationVendorID=&quot;vv&quot;
  88. implementationVendor=&quot;Apache&quot;
  89. implementationVersion=&quot;2.0&quot;
  90. implementationURL=&quot;http://somewhere.com/myExt.jar&quot;/&gt;
  91. </pre></blockquote>
  92. <p>Fully specific extension object.</p>
  93. <blockquote><pre>
  94. &lt;extension id=&quot;e1&quot;
  95. extensionName=&quot;MyExtensions&quot;
  96. specificationVersion=&quot;1.0&quot;
  97. specificationVendor=&quot;Peter Donald&quot;/&gt;
  98. </pre></blockquote>
  99. <p>Extension object that just species the specification details.</p>
  100. </body>
  101. </html>