1 <?cs # THIS CREATES A PACKAGE SUMMARY PAGE FROM EACH package.html FILES 2 # AND NAMES IT package-summary.html ?> 3 <?cs include:"macros.cs" ?> 4 <?cs include:"macros_override.cs" ?> 5 <?cs include:"doctype.cs" ?> 6 <html<?cs if:devsite ?> devsite<?cs /if ?>> 7 <?cs include:"head_tag.cs" ?> 8 <?cs include:"body_tag.cs" ?> 9 <?cs include:"header.cs" ?> 10 <?cs # Includes api-info-block DIV at top of page. Standard Devsite uses right nav. ?> 11 <?cs if:dac ?><?cs include:"page_info.cs" ?><?cs /if ?> 12 <div class="api apilevel-<?cs var:package.since ?>" id="jd-content"> 13 14 <h1><?cs var:package.name ?></h1> 15 16 <?cs if:subcount(package.descr) ?> 17 <?cs call:tag_list(package.descr) ?> 18 <?cs /if ?> 19 20 <?cs def:class_table(label, classes) ?> 21 <?cs if:subcount(classes) ?> 22 <h2><?cs var:label ?></h2> 23 <?cs call:class_link_table(classes) ?> 24 <?cs /if ?> 25 <?cs /def ?> 26 27 <?cs call:class_table("Annotations", package.annotations) ?> 28 <?cs call:class_table("Interfaces", package.interfaces) ?> 29 <?cs call:class_table("Classes", package.classes) ?> 30 <?cs call:class_table("Enums", package.enums) ?> 31 <?cs call:class_table("Exceptions", package.exceptions) ?> 32 <?cs call:class_table("Errors", package.errors) ?> 33 34 </div><!-- end apilevel --> 35 36 <?cs if:devsite ?> 37 <div class="data-reference-resources-wrapper"> 38 <?cs if:subcount(class.package) ?> 39 <ul data-reference-resources> 40 <?cs call:list("Annotations", class.package.annotations) ?> 41 <?cs call:list("Interfaces", class.package.interfaces) ?> 42 <?cs call:list("Classes", class.package.classes) ?> 43 <?cs call:list("Enums", class.package.enums) ?> 44 <?cs call:list("Exceptions", class.package.exceptions) ?> 45 <?cs call:list("Errors", class.package.errors) ?> 46 </ul> 47 <?cs elif:subcount(package) ?> 48 <ul data-reference-resources> 49 <?cs call:class_link_list("Annotations", package.annotations) ?> 50 <?cs call:class_link_list("Interfaces", package.interfaces) ?> 51 <?cs call:class_link_list("Classes", package.classes) ?> 52 <?cs call:class_link_list("Enums", package.enums) ?> 53 <?cs call:class_link_list("Exceptions", package.exceptions) ?> 54 <?cs call:class_link_list("Errors", package.errors) ?> 55 </ul> 56 <?cs /if ?> 57 </div> 58 <?cs /if ?> 59 60 <?cs if:!devsite ?> 61 <?cs include:"footer.cs" ?> 62 <?cs include:"trailer.cs" ?> 63 <?cs /if ?> 64 </body> 65 </html> 66