86 |
</xsl:choose> |
</xsl:choose> |
87 |
</xsl:template> |
</xsl:template> |
88 |
|
|
89 |
|
<xsl:template name="output_alphaindex_category"> |
90 |
|
<dl> |
91 |
|
<xsl:for-each select="gjdoc:entry"> |
92 |
|
<dt> |
93 |
|
<xsl:element name="a"> |
94 |
|
<xsl:attribute name="href"> |
95 |
|
<xsl:choose> |
96 |
|
<xsl:when test="gjdoc:isPackage"> |
97 |
|
<xsl:value-of select="concat(translate(@name, '.', '/'), '/package-summary.html')"/> |
98 |
|
</xsl:when> |
99 |
|
<xsl:when test="gjdoc:isClass and gjdoc:containingClass"> |
100 |
|
<xsl:value-of select="concat(translate(gjdoc:containingPackage/@name, '.', '/'), '/', gjdoc:containingClass/@name, '.', @name, '.html')"/> |
101 |
|
</xsl:when> |
102 |
|
<xsl:when test="gjdoc:isClass"> |
103 |
|
<xsl:value-of select="concat(translate(gjdoc:containingPackage/@name, '.', '/'), '/', @name, '.html')"/> |
104 |
|
</xsl:when> |
105 |
|
<xsl:when test="gjdoc:isMethod"> |
106 |
|
<xsl:value-of select="concat(translate(gjdoc:containingPackage/@name, '.', '/'), '/', gjdoc:containingClass/@name, '.html#', gjdoc:method/@name, gjdoc:signature/@full)"/> |
107 |
|
</xsl:when> |
108 |
|
<xsl:when test="gjdoc:isField"> |
109 |
|
<xsl:value-of select="concat(translate(gjdoc:containingPackage/@name, '.', '/'), '/', gjdoc:containingClass/@name, '.html#', @name)"/> |
110 |
|
</xsl:when> |
111 |
|
</xsl:choose> |
112 |
|
</xsl:attribute> |
113 |
|
<xsl:value-of select="@name"/> |
114 |
|
</xsl:element> |
115 |
|
- |
116 |
|
<xsl:choose> |
117 |
|
<xsl:when test="gjdoc:isPackage"> |
118 |
|
Package |
119 |
|
</xsl:when> |
120 |
|
<xsl:when test="gjdoc:isOrdinaryClass and gjdoc:containingClass"> |
121 |
|
Nested class in class |
122 |
|
<xsl:value-of select="gjdoc:containingClass/@name"/> |
123 |
|
</xsl:when> |
124 |
|
<xsl:when test="gjdoc:isException and gjdoc:containingClass"> |
125 |
|
Nested exception in class |
126 |
|
<xsl:value-of select="gjdoc:containingClass/@name"/> |
127 |
|
</xsl:when> |
128 |
|
<xsl:when test="gjdoc:isError and gjdoc:containingClass"> |
129 |
|
Nested error in class |
130 |
|
<xsl:value-of select="gjdoc:containingClass/@name"/> |
131 |
|
</xsl:when> |
132 |
|
<xsl:when test="gjdoc:isInterface and gjdoc:containingClass"> |
133 |
|
Nested interface in class |
134 |
|
<xsl:value-of select="gjdoc:containingClass/@name"/> |
135 |
|
</xsl:when> |
136 |
|
<xsl:when test="gjdoc:isOrdinaryClass"> |
137 |
|
Class in package |
138 |
|
<xsl:value-of select="gjdoc:containingPackage/@name"/> |
139 |
|
</xsl:when> |
140 |
|
<xsl:when test="gjdoc:isException"> |
141 |
|
Exception in package |
142 |
|
<xsl:value-of select="gjdoc:containingPackage/@name"/> |
143 |
|
</xsl:when> |
144 |
|
<xsl:when test="gjdoc:isError"> |
145 |
|
Error in package |
146 |
|
<xsl:value-of select="gjdoc:containingPackage/@name"/> |
147 |
|
</xsl:when> |
148 |
|
<xsl:when test="gjdoc:isInterface"> |
149 |
|
Interface in package |
150 |
|
<xsl:value-of select="gjdoc:containingPackage/@name"/> |
151 |
|
</xsl:when> |
152 |
|
<xsl:when test="gjdoc:isMethod"> |
153 |
|
Method in class |
154 |
|
<xsl:value-of select="gjdoc:containingClass/@name"/> |
155 |
|
</xsl:when> |
156 |
|
<xsl:when test="gjdoc:isField"> |
157 |
|
Field in class |
158 |
|
<xsl:value-of select="gjdoc:containingClass/@name"/> |
159 |
|
</xsl:when> |
160 |
|
</xsl:choose> |
161 |
|
</dt> |
162 |
|
<dd> |
163 |
|
<xsl:for-each select="gjdoc:firstSentenceTags/node()"> |
164 |
|
<xsl:copy-of select="."/> |
165 |
|
</xsl:for-each> |
166 |
|
</dd> |
167 |
|
</xsl:for-each> |
168 |
|
</dl> |
169 |
|
|
170 |
|
</xsl:template> |
171 |
|
|
172 |
|
<xsl:template name="output_navlink"> |
173 |
|
<xsl:param name="p_href"/> |
174 |
|
<xsl:param name="p_label"/> |
175 |
|
<xsl:param name="p_target" select="'_self'"/> |
176 |
|
<xsl:param name="p_enabled"/> |
177 |
|
|
178 |
|
<span class="navi-button">⇒ <xsl:choose><xsl:when test="$p_enabled"><a href="{$p_href}" target="{$p_target}"><xsl:value-of select="$p_label"/></a></xsl:when><xsl:otherwise><xsl:value-of select="$p_label"/></xsl:otherwise></xsl:choose></span> |  |
179 |
|
</xsl:template> |
180 |
|
|
181 |
|
<xsl:template name="output_navbar"> |
182 |
|
<xsl:param name="p_show_frames"/> |
183 |
|
<xsl:param name="p_show_noframes"/> |
184 |
|
<xsl:param name="p_show_package"/> |
185 |
|
<xsl:param name="p_show_package_tree"/> |
186 |
|
<xsl:param name="p_show_full_tree"/> |
187 |
|
<xsl:param name="p_show_index"/> |
188 |
|
<xsl:param name="p_show_help"/> |
189 |
|
|
190 |
|
<xsl:if test="not($gjdoc.option.nonavbar)"> |
191 |
|
<div class="header"> |
192 |
|
<xsl:call-template name="output_navlink"> |
193 |
|
<xsl:with-param name="p_href" select="concat($gjdoc.pathtoroot, 'index.html')"/> |
194 |
|
<xsl:with-param name="p_label" select="'Home (Frames)'"/> |
195 |
|
<xsl:with-param name="p_enabled" select="$p_show_frames"/> |
196 |
|
<xsl:with-param name="p_target" select="'_top'"/> |
197 |
|
</xsl:call-template> |
198 |
|
<xsl:call-template name="output_navlink"> |
199 |
|
<xsl:with-param name="p_href" select="concat($gjdoc.pathtoroot, 'index_noframes.html')"/> |
200 |
|
<xsl:with-param name="p_label" select="'Home (No Frames)'"/> |
201 |
|
<xsl:with-param name="p_enabled" select="$p_show_noframes"/> |
202 |
|
<xsl:with-param name="p_target" select="'_top'"/> |
203 |
|
</xsl:call-template> |
204 |
|
<xsl:call-template name="output_navlink"> |
205 |
|
<xsl:with-param name="p_href" select="'package-summary.html'"/> |
206 |
|
<xsl:with-param name="p_label" select="'Package'"/> |
207 |
|
<xsl:with-param name="p_enabled" select="$p_show_package"/> |
208 |
|
</xsl:call-template> |
209 |
|
<xsl:call-template name="output_navlink"> |
210 |
|
<xsl:with-param name="p_href" select="'package-tree.html'"/> |
211 |
|
<xsl:with-param name="p_label" select="'Package Tree'"/> |
212 |
|
<xsl:with-param name="p_enabled" select="$p_show_package_tree"/> |
213 |
|
</xsl:call-template> |
214 |
|
<xsl:if test="not($gjdoc.option.notree)"> |
215 |
|
<xsl:call-template name="output_navlink"> |
216 |
|
<xsl:with-param name="p_href" select="concat($gjdoc.pathtoroot, 'fulltree.html')"/> |
217 |
|
<xsl:with-param name="p_label" select="'Full Tree'"/> |
218 |
|
<xsl:with-param name="p_enabled" select="$p_show_full_tree"/> |
219 |
|
</xsl:call-template> |
220 |
|
</xsl:if> |
221 |
|
<xsl:if test="not($gjdoc.option.noindex)"> |
222 |
|
<xsl:call-template name="output_navlink"> |
223 |
|
<xsl:with-param name="p_href" select="concat($gjdoc.pathtoroot, 'alphaindex.html')"/> |
224 |
|
<xsl:with-param name="p_label" select="'Index'"/> |
225 |
|
<xsl:with-param name="p_enabled" select="$p_show_index"/> |
226 |
|
</xsl:call-template> |
227 |
|
</xsl:if> |
228 |
|
<xsl:if test="not($gjdoc.option.nohelp)"> |
229 |
|
<xsl:call-template name="output_navlink"> |
230 |
|
<xsl:with-param name="p_href" select="concat($gjdoc.pathtoroot, 'help.html')"/> |
231 |
|
<xsl:with-param name="p_label" select="'Help'"/> |
232 |
|
<xsl:with-param name="p_enabled" select="$p_show_help"/> |
233 |
|
</xsl:call-template> |
234 |
|
</xsl:if> |
235 |
|
</div> |
236 |
|
</xsl:if> |
237 |
|
</xsl:template> |
238 |
|
|
239 |
</xsl:stylesheet> |
</xsl:stylesheet> |
240 |
|
|