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 <div itemscope itemtype="http://developers.google.com/ReferenceObject" > 10 <!-- This DIV closes at the end of the BODY --> 11 <meta itemprop="name" content="<?cs var:page.title ?>" /> 12 <?cs if:(dac&&package.since) 13 ?><meta itemprop="path" content="API level <?cs var:package.since ?>" /><?cs 14 /if ?> 15 <?cs include:"header.cs" ?> 16 <?cs # Includes api-info-block DIV at top of page. Standard Devsite uses right nav. ?> 17 <?cs if:dac ?><?cs include:"page_info.cs" ?><?cs /if ?> 18 <div id="jd-content" <?cs 19 if:package.since 20 ?>data-version-added="<?cs var:package.since ?>"<?cs 21 /if ?><?cs 22 if:package.deprecatedsince 23 ?> data-version-deprecated="<?cs var:package.deprecatedsince ?>"<?cs 24 /if ?> > 25 26 <h1><?cs var:package.name ?></h1> 27 28 <?cs if:subcount(package.descr) ?> 29 <?cs call:tag_list(package.descr) ?> 30 <?cs /if ?> 31 32 <?cs def:class_table(label, classes) ?> 33 <?cs if:subcount(classes) ?> 34 <h2><?cs var:label ?></h2> 35 <?cs call:class_link_table(classes) ?> 36 <?cs /if ?> 37 <?cs /def ?> 38 39 <?cs call:class_table("Annotations", package.annotations) ?> 40 <?cs call:class_table("Interfaces", package.interfaces) ?> 41 <?cs call:class_table("Classes", package.classes) ?> 42 <?cs call:class_table("Enums", package.enums) ?> 43 <?cs call:class_table("Exceptions", package.exceptions) ?> 44 <?cs call:class_table("Errors", package.errors) ?> 45 46 </div><!-- end apilevel --> 47 48 <?cs if:devsite ?> 49 <div class="data-reference-resources-wrapper"> 50 <?cs if:subcount(class.package) ?> 51 <ul data-reference-resources> 52 <?cs call:list("Annotations", class.package.annotations) ?> 53 <?cs call:list("Interfaces", class.package.interfaces) ?> 54 <?cs call:list("Classes", class.package.classes) ?> 55 <?cs call:list("Enums", class.package.enums) ?> 56 <?cs call:list("Exceptions", class.package.exceptions) ?> 57 <?cs call:list("Errors", class.package.errors) ?> 58 </ul> 59 <?cs elif:subcount(package) ?> 60 <ul data-reference-resources> 61 <?cs call:class_link_list("Annotations", package.annotations) ?> 62 <?cs call:class_link_list("Interfaces", package.interfaces) ?> 63 <?cs call:class_link_list("Classes", package.classes) ?> 64 <?cs call:class_link_list("Enums", package.enums) ?> 65 <?cs call:class_link_list("Exceptions", package.exceptions) ?> 66 <?cs call:class_link_list("Errors", package.errors) ?> 67 </ul> 68 <?cs /if ?> 69 </div> 70 <?cs /if ?> 71 72 <?cs if:!devsite ?> 73 <?cs include:"footer.cs" ?> 74 <?cs include:"trailer.cs" ?> 75 <?cs /if ?> 76 </div><!-- end devsite ReferenceObject --> 77 </body> 78 </html> 79