• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 <?cs # THIS CREATES A LIST OF ALL PACKAGES AND NAMES IT packages.html ?>
2 <?cs include:"macros.cs" ?>
3 <?cs include:"doctype.cs" ?>
4 <html<?cs if:devsite ?> devsite<?cs /if ?>>
5 <?cs include:"head_tag.cs" ?>
6 <?cs include:"body_tag.cs" ?>
7 <?cs include:"header.cs" ?>
8 
9 <h1><?cs var:page.title ?></h1>
10 <p>These are the API packages.
11 See all <a href="classes.html">API classes</a>.</p>
12 
13 <?cs set:count = #1 ?>
14 <table>
15 <?cs each:pkg = docs.packages ?>
16     <tr <?cs
17         if:pkg.since
18           ?>data-version-added="<?cs var:pkg.since ?>"<?cs
19         /if ?><?cs
20         if:pkg.deprecatedsince
21           ?> data-version-deprecated="<?cs var:pkg.deprecatedsince ?>"<?cs
22         /if ?> >
23         <td class="jd-linkcol"><?cs call:package_link(pkg) ?></td>
24         <td class="jd-descrcol" width="100%"><?cs call:tag_list(pkg.shortDescr) ?></td>
25     </tr>
26 <?cs set:count = count + #1 ?>
27 <?cs /each ?>
28 </table>
29 
30 <?cs if:devsite ?>
31 <div class="data-reference-resources-wrapper">
32   <?cs if:subcount(class.package) ?>
33   <ul data-reference-resources>
34     <?cs call:list("Annotations", class.package.annotations) ?>
35     <?cs call:list("Interfaces", class.package.interfaces) ?>
36     <?cs call:list("Classes", class.package.classes) ?>
37     <?cs call:list("Enums", class.package.enums) ?>
38     <?cs call:list("Exceptions", class.package.exceptions) ?>
39     <?cs call:list("Errors", class.package.errors) ?>
40   </ul>
41   <?cs elif:subcount(package) ?>
42   <ul data-reference-resources>
43     <?cs call:class_link_list("Annotations", package.annotations) ?>
44     <?cs call:class_link_list("Interfaces", package.interfaces) ?>
45     <?cs call:class_link_list("Classes", package.classes) ?>
46     <?cs call:class_link_list("Enums", package.enums) ?>
47     <?cs call:class_link_list("Exceptions", package.exceptions) ?>
48     <?cs call:class_link_list("Errors", package.errors) ?>
49   </ul>
50   <?cs /if ?>
51 </div>
52 <?cs /if ?>
53 
54 <?cs if:!devsite ?>
55 <?cs include:"footer.cs" ?>
56 <?cs include:"trailer.cs" ?>
57 <?cs /if ?>
58 </body>
59 </html>
60