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 class="api apilevel-<?cs var:pkg.since ?>" >
17         <td class="jd-linkcol"><?cs call:package_link(pkg) ?></td>
18         <td class="jd-descrcol" width="100%"><?cs call:tag_list(pkg.shortDescr) ?></td>
19     </tr>
20 <?cs set:count = count + #1 ?>
21 <?cs /each ?>
22 </table>
23 
24 <?cs if:devsite ?>
25 <div class="data-reference-resources-wrapper">
26   <?cs if:subcount(class.package) ?>
27   <ul data-reference-resources>
28     <?cs call:list("Annotations", class.package.annotations) ?>
29     <?cs call:list("Interfaces", class.package.interfaces) ?>
30     <?cs call:list("Classes", class.package.classes) ?>
31     <?cs call:list("Enums", class.package.enums) ?>
32     <?cs call:list("Exceptions", class.package.exceptions) ?>
33     <?cs call:list("Errors", class.package.errors) ?>
34   </ul>
35   <?cs elif:subcount(package) ?>
36   <ul data-reference-resources>
37     <?cs call:class_link_list("Annotations", package.annotations) ?>
38     <?cs call:class_link_list("Interfaces", package.interfaces) ?>
39     <?cs call:class_link_list("Classes", package.classes) ?>
40     <?cs call:class_link_list("Enums", package.enums) ?>
41     <?cs call:class_link_list("Exceptions", package.exceptions) ?>
42     <?cs call:class_link_list("Errors", package.errors) ?>
43   </ul>
44   <?cs /if ?>
45 </div>
46 <?cs /if ?>
47 
48 <?cs if:!devsite ?>
49 <?cs include:"footer.cs" ?>
50 <?cs include:"trailer.cs" ?>
51 <?cs /if ?>
52 </body>
53 </html>
54