annotate src/main/resources/org/ssdt_ohio/gradle/userdoc/templates/classDocName.html @ 16:8400a7db1330

USASR-1307: update templates to groovydoc 2.3.6
author smith@nwoca.org
date Wed, 31 Dec 2014 22:35:45 +0000
parents e3c55e83c9a4
children 3741247de37a
rev   line source
16
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
1 <!--
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
2 ~ Copyright (c) 2014. Ohio Department of Education. - All Rights Reserved.
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
3 ~ Unauthorized copying of this file, in any medium, is strictly prohibited.
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
4 ~ Written by State Software Development Team (http://ssdt.oecn.k12.oh.us/)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
5 -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
6
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
7 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
8 <!-- **************************************************************** -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
9 <!-- * PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
10 <!-- * i.e. only iterate & print data where possible. Thanks, Jez. * -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
11 <!-- **************************************************************** -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
12 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
13
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
14 println "Generating for $classDoc (${classDoc.class})"
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
15 classDoc = new org.ssdt_ohio.gradle.doc.tools.UserClassDocProxy().wrap(classDoc)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
16
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
17 def title = classDoc.name() + (props.docTitle ? " (${props.docTitle})" : "")
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
18 def isVisible = { it.isPublic() || (it.isProtected() && props.protectedScope == 'true') || (!it.isProtected() && !it.isPrivate() && props.packageScope == 'true') || props.privateScope == 'true' }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
19 def isVisibleExt = { t -> java.lang.reflect.Modifier.isPublic(t.modifiers) || java.lang.reflect.Modifier.isProtected(t.modifiers) }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
20 def visibleFields = classDoc.fields().findAll(isVisible)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
21 def visibleProperties = classDoc.properties() // props visible be defn
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
22 def visibleMethods = classDoc.methods().findAll(isVisible)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
23 def visibleConstructors = classDoc.constructors().findAll(isVisible)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
24 def visibleNested = classDoc.innerClasses().findAll(isVisible)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
25 boolean hasFields = !classDoc.isAnnotationType() && visibleFields
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
26 boolean hasProperties = !classDoc.isAnnotationType() && visibleProperties
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
27 boolean hasElements = classDoc.isAnnotationType() && visibleFields
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
28 boolean methodSummaryShown = visibleMethods
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
29 boolean fieldSummaryShown = hasFields
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
30 boolean hasEnumConstants = classDoc.enumConstants()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
31 def dolink = { t, boolean b ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
32 boolean isArray = false
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
33 if (!t || t instanceof String) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
34 return (classDoc.getDocUrl(t, b) -'java.util.' - 'java.lang.')
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
35 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
36 if (t instanceof org.codehaus.groovy.tools.groovydoc.ArrayClassDocWrapper) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
37 t = t.delegate
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
38 isArray = true
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
39 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
40 if (t instanceof org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
41 if (t.fullPathName == 'def') return classDoc.getDocUrl("java.lang.Object def", b)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
42 return "<a href='" + classDoc.relativeRootPath + t.fullPathName + ".html'>" + ( (b ? t.qualifiedTypeName() : t.name() ) - "java.lang." - "java.util." ) + "</a>" + (isArray ? "[]" : "")
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
43 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
44 return ( classDoc.getDocUrl(t.qualifiedTypeName(), b) - 'java.util.' - 'java.lang.' ) + (isArray ? "[]" : "")
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
45 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
46 def linkfull = { t -> dolink(t, true) }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
47 def linkable = { t -> dolink(t, false) }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
48 def modifiersWithIgnore = { t, boolean ignorePublic ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
49 (t.isPrivate()?"private&nbsp;":"") +
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
50 (t.isPublic() && !ignorePublic?"public&nbsp;":"") +
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
51 (t.isProtected()?"protected&nbsp;":"") +
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
52 (t.isStatic()?"static&nbsp;":"") +
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
53 (t.isFinal()?"final&nbsp;":"") +
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
54 (t.respondsTo('isAbstract') && t.isAbstract()?"abstract&nbsp;":"")
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
55 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
56 def modifiers = { t -> modifiersWithIgnore(t, classDoc.isGroovy()) }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
57 def modifiersBrief = { t ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
58 (t.isPrivate()?"private&nbsp;":"") +
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
59 (t.isProtected()?"protected&nbsp;":"") +
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
60 (t.isStatic()?"static&nbsp;":"")
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
61 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
62 def annotations = { t, sepChar ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
63 t.annotations() ? t.annotations().collect {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
64 // it.isTypeAvailable() ? '@'+linkable(it.type().name())+(it.description()-('@'+it.type().name())): it.description()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
65 it.description()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
66 }.join(sepChar) + sepChar : ''
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
67 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
68 def elementTypes = [
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
69 "required":"true",
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
70 "optional":"false"
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
71 ]
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
72 def isRequired = { f, v ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
73 def req = f.constantValueExpression() == null; req.toString() == v
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
74 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
75 def upcase = { n -> n[0].toUpperCase() + n[1..-1] }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
76 def paramsOf = { n, boolean brief -> n.parameters().collect{ param -> (brief?'':annotations(param, ' ')) + linkable(param.isTypeAvailable()?param.type():param.typeName()) + (param.vararg()?'... ':' ') + param.name() + (param.defaultValue() ? " = " + param.defaultValue():"") }.join(", ") }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
77 def nameFromParams = { n -> n.name() + '(' + n.parameters().collect{ param -> param.isTypeAvailable()?param.type().qualifiedTypeName():param.typeName() }.join(', ') + ')' }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
78 def nameFromJavaParams = { n -> n.name + '(' + n.parameterTypes.collect{ param -> param.name }.join(', ') + ')' }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
79 %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
80 <html>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
81 <head>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
82 <!-- Generated by groovydoc (${GroovySystem.version}) on ${new Date()} -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
83 <title>${title}</title>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
84 <meta name="date" content="${new Date().format('yyyy-MM-dd')}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
85 <meta http-equiv="Content-Type" content="text/html; charset=${props.charset}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
86 <link href="${classDoc.relativeRootPath}groovy.ico" type="image/x-icon" rel="shortcut icon">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
87 <link href="${classDoc.relativeRootPath}groovy.ico" type="image/x-icon" rel="icon">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
88 <link rel="stylesheet" type="text/css" href="${classDoc.relativeRootPath}stylesheet.css" title="Style">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
89
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
90 <body class="center">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
91 <script type="text/javascript"><!--
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
92 if (location.href.indexOf('is-external=true') == -1) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
93 parent.document.title="${title}";
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
94 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
95 //-->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
96 </script>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
97 <noscript>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
98 <div>JavaScript is disabled on your browser.</div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
99 </noscript>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
100 <!-- ========= START OF TOP NAVBAR ======= -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
101 <div class="topNav"><a name="navbar_top">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
102 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
103 </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
104 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
105 </a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
106 <ul class="navList" title="Navigation">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
107 <li><a href="${classDoc.relativeRootPath}overview-summary.html">Overview</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
108 <li><a href="package-summary.html">Package</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
109 <li class="navBarCell1Rev">Class</li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
110 <li><a href="${classDoc.relativeRootPath}deprecated-list.html">Deprecated</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
111 <li><a href="${classDoc.relativeRootPath}index-all.html">Index</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
112 <li><a href="${classDoc.relativeRootPath}help-doc.html">Help</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
113 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
114 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
115
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
116 <div class="subNav">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
117 <div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
118 <ul class="navList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
119 <li><a href="${classDoc.relativeRootPath}index.html?${classDoc.fullPathName}" target="_top">Frames</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
120 <li><a href="${classDoc.name()}.html" target="_top">No Frames</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
121 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
122 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
123 <div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
124 <ul class="subNavList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
125 <li>Summary:&nbsp;</li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
126 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
127 if (classDoc.isAnnotationType()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
128 def hasReq = classDoc.fields().any{ isRequired(it, "true") }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
129 def hasOpt = classDoc.fields().any{ isRequired(it, "false") }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
130 if (hasReq) { %><li><a href="#required_element_summary"><% } %>Required<% if (hasReq) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
131 if (hasOpt) { %><li><a href="#optional_element_summary"><% } %>Optional<% if (hasOpt) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
132 } else {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
133 if (visibleNested) { %><li><a href="#nested_summary"><% } %>Nested<% if (visibleNested) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
134 if (classDoc.isEnum()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
135 if (hasEnumConstants) { %><li><a href="#enum_constant_summary"><% } %>Enum constants<% if (hasEnumConstants) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
136 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
137 if (hasFields) { %><li><a href="#field_summary"><% } %>Field<% if (hasFields) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
138 if (hasProperties) { %><li><a href="#property_summary">Property</a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
139 if (classDoc.isClass()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
140 if (visibleConstructors) { %><li><a href="#constructor_summary"><% } %>Constructor<% if (visibleConstructors) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
141 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
142 if (visibleMethods) { %><li><a href="#method_summary"><% } %>Method<% if (visibleMethods) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
143 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
144 %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
145 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
146 <ul class="subNavList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
147 <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
148 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
149 if (classDoc.isAnnotationType()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
150 if (hasElements) { %><li><a href="#element_detail"><% } %>Element<% if (hasElements) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
151 } else {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
152 if (classDoc.isEnum()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
153 if (hasEnumConstants) { %><li><a href="#enum_constant_detail"><% } %>Enum constants<% if (hasEnumConstants) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
154 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
155 if (hasFields) { %><li><a href="#field_detail"><% } %>Field<% if (hasFields) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
156 if (hasProperties) { %><li><a href="#prop_detail">Property</a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
157 if (classDoc.isClass()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
158 if (visibleConstructors) { %><li><a href="#constructor_detail"><% } %>Constructor<% if (visibleConstructors) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
159 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
160 if (visibleMethods) { %><li><a href="#method_detail"><% } %>Method<% if (visibleMethods) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
161 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
162 %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
163 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
164 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
165 <a name="skip-navbar_top">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
166 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
167 </a></div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
168 <!-- ========= END OF TOP NAVBAR ========= -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
169
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
170 <!-- ======== START OF CLASS DATA ======== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
171 <div class="header">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
172 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
173 def pkg = classDoc.containingPackage().nameWithDots()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
174 String classDesc = "${classDoc.isGroovy() ? "[Groovy]" : "[Java]"} ${classDoc.typeDescription} ${org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc.encodeAngleBrackets(classDoc.getNameWithTypeArgs())}"
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
175 if (pkg != "DefaultPackage") {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
176 %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
177 <div class="subTitle">Package: <strong>${pkg}</strong></div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
178 <%}%>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
179 <h2 title="${classDesc}" class="title">${classDesc}</h2>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
180 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
181 <div class="contentContainer">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
182 <ul class="inheritance">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
183 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
184 def parents = classDoc.isInterface() ? classDoc.parentInterfaces : classDoc.parentClasses
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
185 if (parents.size() >= 2) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
186 parents.eachWithIndex { p, i ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
187 %><li><%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
188 if ( i == parents.size() - 1) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
189 out << p.qualifiedTypeName()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
190 } else {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
191 %><ul class="inheritance"><% linkfull(p) %></ul></li><%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
192 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
193 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
194 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
195 %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
196 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
197 <div class="description">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
198 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
199 <li class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
200 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
201 if (classDoc.isInterface()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
202 Set interfaces = classDoc.parentInterfaces
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
203 interfaces -= classDoc
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
204 if (interfaces) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
205 %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
206 <dl>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
207 <dt>All Superinterfaces:</dt>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
208 <dd>${interfaces.collect{ linkable(it) }.join(', ')}</dd>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
209 </dl><%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
210 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
211 } else {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
212 // TODO follow up the tree collecting interfaces seen?
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
213 def interfaces = classDoc.interfaces()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
214 if (interfaces) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
215 %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
216 <dl>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
217 <dt>All Implemented Interfaces and Traits:</dt>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
218 <dd>${interfaces.collect{ linkable(it) }.join(', ')}</dd>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
219 </dl>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
220 <!-- todo: direct known subclasses -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
221 <hr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
222 <br>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
223 <pre>${annotations(classDoc, '\n') + modifiers(classDoc) + classDoc.typeSourceDescription + ' ' + classDoc.name()}
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
224 <% if (classDoc.isInterface() && classDoc.interfaces()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
225 %>extends ${classDoc.interfaces().collect{ linkable(it) }.join(', ')}
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
226 <% } else if (classDoc.superclass()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
227 %>extends ${linkable(classDoc.superclass())}
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
228 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
229 </pre>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
230 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
231 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
232 <% if (classDoc.commentText()) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
233 <p>${classDoc.commentText()}</p>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
234 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
235 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
236 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
237 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
238
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
239 <div class="summary">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
240 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
241 <li class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
242 <!-- =========== NESTED CLASS SUMMARY =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
243 <% if (visibleNested) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
244 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
245 <li class="blockList"><a name="nested_summary"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
246 <h3>Nested Class Summary</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
247 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
248 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
249 <caption><span>Nested classes</span><span class="tabEnd">&nbsp;</span></caption>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
250 <tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
251 <th class="colFirst" scope="col">Modifiers</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
252 <th class="colLast" scope="col">Name</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
253 <th class="colLast" scope="col">Description</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
254 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
255 <% visibleNested.eachWithIndex { c, i -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
256 <tr class="${i%2==0?'altColor':'rowColor'}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
257 <td class="colFirst"><code><strong>${modifiersBrief(c) + c.typeSourceDescription}</strong></code>&nbsp;</td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
258 <td class="colLast"><code>${linkable(c)}</code></td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
259 <td class="colLast">${c.firstSentenceCommentText()}</code></td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
260 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
261 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
262 </table>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
263 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
264 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
265 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
266 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
267
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
268 <!-- =========== ENUM CONSTANT SUMMARY =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
269 <% if (hasEnumConstants) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
270 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
271 <li class="blockList"><a name="enum_constant_summary"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
272 <h3>Enum Constants Summary</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
273 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
274 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum constants summary table">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
275 <caption><span>Enum constants classes</span><span class="tabEnd">&nbsp;</span></caption>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
276 <tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
277 <th class="colFirst" scope="col">Enum constant</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
278 <th class="colLast" scope="col">Description</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
279 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
280 <% classDoc.enumConstants().eachWithIndex { ec, i -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
281 <tr class="${i%2==0?'altColor':'rowColor'}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
282 <td class="colFirst"><code><strong><a href="#${ec.name()}">${ec.name()}</a></strong></code></td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
283 <td class="colLast">${ec.firstSentenceCommentText()}</td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
284 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
285 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
286 </table>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
287 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
288 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
289 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
290 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
291 <!-- =========== FIELD SUMMARY =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
292 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
293 def buffer = new StringBuilder()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
294 classes = []
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
295 if (classDoc.isInterface()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
296 classes.addAll(classDoc.interfaces().toList())
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
297 } else {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
298 if (classDoc.superclass()) classes += classDoc.superclass()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
299 else classes += new org.codehaus.groovy.tools.groovydoc.ExternalGroovyClassDoc(Object.class)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
300 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
301 visited = [classDoc] as Set
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
302 while (classes) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
303 Set nextLevel = []
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
304 classes.eachWithIndex { c,i ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
305 if (c.isInterface()) nextLevel.addAll(c.interfaces().toList())
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
306 else if (c.superclass() && c.qualifiedTypeName() != 'java.lang.Object') nextLevel += c.superclass()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
307 nextLevel -= visited
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
308 visited += nextLevel
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
309 def list = []
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
310 if (c instanceof org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
311 list = c.fields().findAll(isVisible).collect { field ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
312 "<a href='${classDoc.relativeRootPath}${c.fullPathName}.html#${field.name()}'>${field.name()}</a>"
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
313 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
314 } else {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
315 list = c.externalClass().fields.findAll{ isVisibleExt(it) }.collect { field ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
316 // "<a href='${classDoc.relativeRootPath}${c.fullPathName}.html#${field.name()}'>${field.name()}</a>"
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
317 field.name
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
318 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
319 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
320 if (list) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
321 buffer << """ <tr class="${i%2==0?'altColor':'rowColor'}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
322 <td class="colFirst"><strong><code>${c.typeSourceDescription} ${linkable(c)}</code></strong></td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
323 <td class="colLast"><code>${list.join(', ')}</code></td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
324 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
325 """
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
326 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
327 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
328 classes = nextLevel
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
329 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
330
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
331
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
332 if (hasFields || buffer.length()>0) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
333 <ul class="blockList"><%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
334 if (hasFields) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
335 <li class="blockList"><a name="field_summary"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
336 <h3>Field Summary</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
337 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
338 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum constants summary table">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
339 <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
340 <tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
341 <th class="colFirst" scope="col">Modifiers</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
342 <th class="colLast" scope="col">Name</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
343 <th class="colLast" scope="col">Description</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
344 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
345 <% visibleFields.eachWithIndex { field, i -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
346 <tr class="${i%2==0?'altColor':'rowColor'}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
347 <td class="colFirst"><code><strong>${modifiersBrief(field) + linkable(field.type())}</strong></code>&nbsp;</td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
348 <td class="colLast"><code><a href="#${field.name()}">${field.name()}</a></code></td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
349 <td class="colLast">${field.firstSentenceCommentText()}</code></td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
350 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
351 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
352 </table>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
353 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
354 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
355 <% } // if (hasFields)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
356 if ((buffer.length())>0) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
357 <li class="blockList"><a name="field_summary"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
358 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
359 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited fields summary table">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
360 <caption><span>Inherited fields</span><span class="tabEnd">&nbsp;</span></caption>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
361 <tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
362 <th class="colFirst" scope="col">Fields inherited from class</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
363 <th class="colLast" scope="col">Fields</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
364 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
365 ${buffer}
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
366 </table>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
367 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
368 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
369 <% } // if buffer %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
370 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
371 <% } // if hasFields or buffer %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
372
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
373 <!-- =========== PROPERTY SUMMARY =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
374 <% if (hasProperties) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
375 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
376 <li class="blockList"><a name="property_summary"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
377 <h3>Properties Summary</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
378 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
379 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties Summary table, listing nested classes, and an explanation">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
380 <caption><span>Properties</span><span class="tabEnd">&nbsp;</span></caption>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
381 <tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
382 <th class="colFirst" scope="col">Type</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
383 <th class="colLast" scope="col">Name and description</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
384 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
385 <% visibleProperties.eachWithIndex { prop, i -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
386 <tr class="${i%2==0?'altColor':'rowColor'}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
387 <td class="colFirst"><code><strong>${modifiersBrief(prop) + linkable(prop.type())}</strong></code>&nbsp;</td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
388 <td class="colLast"><code><a href="#${prop.name()}"></a>${prop.name()}</code><br>${prop.firstSentenceCommentText()}</td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
389 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
390 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
391 </table>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
392 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
393 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
394 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
395 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
396
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
397 <!-- =========== ELEMENT SUMMARY =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
398 <% if (hasElements) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
399 <ul class="blockList"><a name="element_summary"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
400 <li class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
401 <h3>Element Summary</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
402 <% elementTypes.each { k, v ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
403 %><a name="${k}_element_summary"><!-- --></a><%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
404 if (visibleFields.any{ isRequired(it, v) }) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
405 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
406 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="${upcase(k)} Element Summary table">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
407 <caption><span>${upcase(k)} Element Summary</span><span class="tabEnd">&nbsp;</span></caption>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
408 <tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
409 <th class="colFirst" scope="col">Type</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
410 <th class="colLast" scope="col">Name and Description</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
411 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
412 <% visibleFields.findAll {isRequired(it, v)}.eachWithIndex { element, i -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
413 <tr class="${i%2==0?'altColor':'rowColor'}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
414 <td class="colFirst"><code><strong>${modifiersBrief(element) + linkable(element.type())}</strong></code>&nbsp;</td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
415 <td class="colLast"><code><a href="#${element.name()}">${element.name()}</a></code><br>${element.firstSentenceCommentText()}</td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
416 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
417 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
418 </table>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
419 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
420 <% }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
421 } //elementTypes.each %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
422 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
423 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
424 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
425
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
426 <% if (visibleConstructors) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
427 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
428 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
429 <li class="blockList"><a name="constructor_summary"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
430 <h3>Constructor Summary</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
431 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
432 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructors Summary table">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
433 <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
434 <tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
435 <th class="colFirst" scope="col">Constructor and description</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
436 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
437 <% visibleConstructors.eachWithIndex { constructor, i -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
438 <tr class="${i%2==0?'altColor':'rowColor'}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
439 <td class="colFirst">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
440 <code>${modifiersBrief(constructor)}<a href="#${nameFromParams(constructor)}">${constructor.name()}</a></strong>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
441 (${paramsOf(constructor, true)})</code><br>${constructor.firstSentenceCommentText()}</td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
442 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
443 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
444 </table>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
445 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
446 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
447 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
448 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
449
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
450 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
451 buffer = new StringBuilder()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
452 Set classes = []
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
453 if (classDoc.isInterface()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
454 classes.addAll(classDoc.interfaces().toList())
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
455 } else {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
456 if (classDoc.superclass()) classes += classDoc.superclass()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
457 else if (!classDoc.isTrait()) classes += new org.codehaus.groovy.tools.groovydoc.ExternalGroovyClassDoc(Object.class)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
458 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
459 Set visited = [classDoc] as Set
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
460 while (classes) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
461 Set nextLevel = []
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
462 classes.eachWithIndex { c,i ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
463 if (c.isInterface()) nextLevel.addAll(c.interfaces().toList())
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
464 else if (c.superclass() && c.qualifiedTypeName() != 'java.lang.Object') nextLevel += c.superclass()
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
465 nextLevel -= visited
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
466 visited += nextLevel
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
467 def list = []
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
468 if (c instanceof org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
469 list = c.methods().findAll(isVisible).collect { method ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
470 "<a href='${classDoc.relativeRootPath}${c.fullPathName}.html#${nameFromParams(method)}'>${method.name()}</a>"
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
471 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
472 } else {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
473 list = c.externalClass().methods.findAll{ isVisibleExt(it) }.collect { method ->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
474 linkable(c.externalClass().name + "#" + nameFromJavaParams(method) + " " + method.name)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
475 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
476 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
477 if (list) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
478 buffer << """
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
479 <tr class="${i%2==0?'altColor':'rowColor'}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
480 <td class="colFirst"><code>${c.typeSourceDescription} ${linkable(c)}</strong></code></td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
481 <td class="colLast"><code>${list.join(', ')}</code></td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
482 </tr>"""
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
483 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
484 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
485 classes = nextLevel
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
486 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
487
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
488 if (visibleMethods || buffer.length()>0) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
489 <!-- ========== METHOD SUMMARY =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
490 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
491 <% if (visibleMethods) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
492 <li class="blockList"><a name="method_summary"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
493 <h3>Methods Summary</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
494 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
495 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Methods Summary table">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
496 <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
497 <tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
498 <th class="colFirst" scope="col">Type</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
499 <th class="colLast" scope="col">Name and description</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
500 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
501 <% visibleMethods.eachWithIndex { method, i -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
502 <tr class="${i%2==0?'altColor':'rowColor'}">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
503 <td class="colFirst"><code>${modifiersBrief(method)}${linkable(method.returnType())}</strong></code></td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
504 <td class="colLast"><code><strong><a href="#${nameFromParams(method)}">${method.name()}</a></strong>(${paramsOf(method, true)})</code><br>${method.firstSentenceCommentText()}</td>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
505 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
506 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
507 </table>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
508 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
509 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
510 <% } // if (visibleMethods)
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
511 if (buffer.length()>0) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
512 %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
513 <li class="blockList"><a name="method_summary"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
514 <h3>Inherited Methods Summary</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
515 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
516 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited Methods Summary table">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
517 <caption><span>Inherited Methods</span><span class="tabEnd">&nbsp;</span></caption>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
518 <tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
519 <th class="colFirst" scope="col">Methods inherited from class</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
520 <th class="colLast" scope="col">Name</th>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
521 </tr>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
522 ${buffer}
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
523 </table>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
524 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
525 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
526 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
527 } // if buffer.length%>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
528 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
529 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
530 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
531 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
532 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
533
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
534 <div class="details">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
535 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
536 <li class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
537 <% if (hasEnumConstants) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
538 <!-- ============ ENUM CONSTANT DETAIL ========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
539 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
540 <li class="blockList"><a name="enum_constant_detail">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
541 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
542 </a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
543 <h3>Enum Constant Detail</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
544 <% for (ec in classDoc.enumConstants()) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
545 <a name="${ec.name()}"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
546 <ul class="blockListLast">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
547 <li class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
548 <h4>${modifiers(ec) + '<a href="' + classDoc.relativeRootPath + classDoc.fullPathName + '.html">' + classDoc.name() + '</a>'} <strong>${ec.name()}</strong></h4>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
549 <p>${ec.commentText()}</p>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
550 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
551 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
552 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
553 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
554 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
555 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
556
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
557 <% if (hasFields) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
558 <!-- =========== FIELD DETAIL =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
559 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
560 <li class="blockList"><a name="field_detail">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
561 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
562 </a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
563 <h3>Field Detail</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
564 <% visibleFields.each { field -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
565 <a name="${field.name()}"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
566 <ul class="blockListLast">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
567 <li class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
568 <h4>${annotations(field, '\n') + modifiersWithIgnore(field, false) + linkable(field.type())} <strong>${field.name()}</strong></h4>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
569 <p>${field.commentText()}</p>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
570 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
571 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
572 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
573 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
574 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
575 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
576
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
577 <% if (hasProperties) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
578 <!-- =========== PROPERTY DETAIL =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
579 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
580 <li class="blockList"><a name="prop_detail">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
581 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
582 </a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
583 <h3>Property Detail</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
584 <% visibleProperties.each { prop -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
585 <a name="${prop.name()}"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
586 <ul class="blockListLast">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
587 <li class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
588 <h4>${annotations(prop, '\n') + modifiers(prop) + linkable(prop.type())} <strong>${prop.name()}</strong></h4>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
589 <p>${prop.commentText()}</p>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
590 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
591 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
592 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
593 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
594 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
595 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
596
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
597 <% if (hasElements) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
598 <!-- =========== ELEMENT DETAIL =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
599 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
600 <li class="blockList"><a name="element_detail">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
601 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
602 </a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
603 <h3>Element Detail</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
604 <% visibleFields.each { element -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
605 <a name="${element.name()}"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
606 <ul class="blockListLast">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
607 <li class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
608 <h4>${modifiers(element) + linkable(element.type())} <strong>${element.name()}</strong></h4>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
609 <p>${element.commentText()}</p>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
610 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
611 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
612 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
613 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
614 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
615 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
616
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
617 <% if (visibleConstructors) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
618 <!-- =========== CONSTRUCTOR DETAIL =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
619 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
620 <li class="blockList"><a name="constructor_detail">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
621 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
622 </a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
623 <h3>Constructor Detail</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
624 <% visibleConstructors.each { constructor -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
625 <a name="${nameFromParams(constructor)}"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
626 <ul class="blockListLast">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
627 <li class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
628 <h4>${annotations(constructor, '\n') + modifiers(constructor)}<strong>${constructor.name()}</strong>(${paramsOf(constructor, false)})</h4>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
629 <p>${constructor.commentText()}</p>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
630 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
631 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
632 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
633 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
634 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
635 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
636
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
637
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
638 <% if (visibleMethods) { %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
639 <!-- =========== METHOD DETAIL =========== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
640 <ul class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
641 <li class="blockList"><a name="method_detail">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
642 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
643 </a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
644 <h3>Method Detail</h3>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
645 <% visibleMethods.each { method -> %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
646 <a name="${nameFromParams(method)}"><!-- --></a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
647 <ul class="blockListLast">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
648 <li class="blockList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
649 <h4>${annotations(method, '\n') + modifiers(method)}${linkable(method.returnType())} <strong>${method.name()}</strong>(${paramsOf(method, false)})</h4>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
650 <p>${method.commentText()}</p>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
651 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
652 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
653 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
654 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
655 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
656 <% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
657 </li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
658 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
659 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
660
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
661 <!-- ========= END OF CLASS DATA ========= -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
662 <!-- ======= START OF BOTTOM NAVBAR ====== -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
663 <div class="bottomNav"><a name="navbar_bottom">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
664 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
665 </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
666 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
667 </a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
668 <ul class="navList" title="Navigation">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
669 <li><a href="${classDoc.relativeRootPath}overview-summary.html">Overview</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
670 <li><a href="package-summary.html">Package</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
671 <li class="navBarCell1Rev">Class</li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
672 <li><a href="${classDoc.relativeRootPath}deprecated-list.html">Deprecated</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
673 <li><a href="${classDoc.relativeRootPath}index-all.html">Index</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
674 <li><a href="${classDoc.relativeRootPath}help-doc.html">Help</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
675 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
676 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
677
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
678 <div class="subNav">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
679 <div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
680 <ul class="navList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
681 <li><a href="${classDoc.relativeRootPath}index.html?${classDoc.fullPathName}" target="_top">Frames</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
682 <li><a href="${classDoc.name()}.html" target="_top">No Frames</a></li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
683 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
684 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
685 <div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
686 <ul class="subNavList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
687 <li>Summary:&nbsp;</li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
688 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
689 if (classDoc.isAnnotationType()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
690 def hasReq = classDoc.fields().any{ isRequired(it, "true") }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
691 def hasOpt = classDoc.fields().any{ isRequired(it, "false") }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
692 if (hasReq) { %><li><a href="#required_element_summary"><% } %>Required<% if (hasReq) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
693 if (hasOpt) { %><li><a href="#optional_element_summary"><% } %>Optional<% if (hasOpt) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
694 } else {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
695 if (visibleNested) { %><li><a href="#nested_summary"><% } %>Nested<% if (visibleNested) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
696 if (classDoc.isEnum()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
697 if (hasEnumConstants) { %><li><a href="#enum_constant_summary"><% } %>Enum constants<% if (hasEnumConstants) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
698 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
699 if (hasFields) { %><li><a href="#field_summary"><% } %>Field<% if (hasFields) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
700 if (hasProperties) { %><li><a href="#property_summary">Property</a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
701 if (classDoc.isClass()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
702 if (visibleConstructors) { %><li><a href="#constructor_summary"><% } %>Constructor<% if (visibleConstructors) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
703 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
704 if (visibleMethods) { %><li><a href="#method_summary"><% } %>Method<% if (visibleMethods) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
705 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
706 %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
707 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
708 <ul class="subNavList">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
709 <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
710 <%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
711 if (classDoc.isAnnotationType()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
712 if (hasElements) { %><li><a href="#element_detail"><% } %>Element<% if (hasElements) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
713 } else {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
714 if (classDoc.isEnum()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
715 if (hasEnumConstants) { %><li><a href="#enum_constant_detail"><% } %>Enum constants<% if (hasEnumConstants) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
716 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
717 if (hasFields) { %><li><a href="#field_detail"><% } %>Field<% if (hasFields) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
718 if (hasProperties) { %><li><a href="#prop_detail">Property</a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
719 if (classDoc.isClass()) {
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
720 if (visibleConstructors) { %><li><a href="#constructor_detail"><% } %>Constructor<% if (visibleConstructors) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
721 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
722 if (visibleMethods) { %><li><a href="#method_detail"><% } %>Method<% if (visibleMethods) { %></a></li><% } %>&nbsp;&nbsp;&nbsp;<%
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
723 }
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
724 %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
725 </ul>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
726 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
727 <% if (props.footer) { %><p>${props.footer}</p><% } %>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
728 <a name="skip-navbar_bottom">
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
729 <!-- -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
730 </a>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
731 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
732 </div>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
733 <!-- ======== END OF BOTTOM NAVBAR ======= -->
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
734 </body>
8400a7db1330 USASR-1307: update templates to groovydoc 2.3.6
smith@nwoca.org
parents: 15
diff changeset
735 </html>