incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r798505 - /incubator/kato/trunk/org.apache.kato/kato.docs/src/xslt/packagecontents.xslt
Date Tue, 28 Jul 2009 12:27:48 GMT
Author: spoole
Date: Tue Jul 28 12:27:48 2009
New Revision: 798505

URL: http://svn.apache.org/viewvc?rev=798505&view=rev
Log:
mods to constructor output in spec

Modified:
    incubator/kato/trunk/org.apache.kato/kato.docs/src/xslt/packagecontents.xslt

Modified: incubator/kato/trunk/org.apache.kato/kato.docs/src/xslt/packagecontents.xslt
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.docs/src/xslt/packagecontents.xslt?rev=798505&r1=798504&r2=798505&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.docs/src/xslt/packagecontents.xslt (original)
+++ incubator/kato/trunk/org.apache.kato/kato.docs/src/xslt/packagecontents.xslt Tue Jul 28
12:27:48 2009
@@ -19,21 +19,24 @@
 					<xsl:attribute name="xml:id">
     			<xsl:value-of select="@name" />
   			</xsl:attribute>
- 					<xsl:processing-instruction name="dbfo-need">height="4in"</xsl:processing-instruction>
-					<title><xsl:text>package </xsl:text>
+					<xsl:processing-instruction name="dbfo-need">
+						height="4in"
+					</xsl:processing-instruction>
+					<title>
+						<xsl:text>package </xsl:text>
 						<xsl:value-of select="@name" />
 					</title>
 					<section>
 						<xsl:copy-of select="javadoc:comment/*" />
 					</section>
-					<xsl:if test="count(./javadoc:interface)>0">
+					<xsl:if test="count(./javadoc:interface)&gt;0">
 
 						<table border="1" pgwide="1">
 							<xsl:attribute name="xml:id">interfacelist.
     						<xsl:value-of select="@name" />
   						</xsl:attribute>
 							<xsl:processing-instruction name="dbfo">
-									keep-together="auto"
+								keep-together="auto"
 							</xsl:processing-instruction>
 							<caption>Interface Summary</caption>
 							<tgroup cols='3' align='left' colsep='1' rowsep='1'>
@@ -65,13 +68,13 @@
 						</table>
 					</xsl:if>
 
-					<xsl:if test="count(./javadoc:class)>0">
+					<xsl:if test="count(./javadoc:class)&gt;0">
 						<table border="1" pgwide="1">
 							<xsl:attribute name="xml:id">classlist.
     						<xsl:value-of select="@name" />
     					</xsl:attribute>
 							<xsl:processing-instruction name="dbfo">
-									keep-together="auto"
+								keep-together="auto"
 							</xsl:processing-instruction>
 							<caption>Class Summary</caption>
 							<tgroup cols='3' align='left' colsep='1' rowsep='1'>
@@ -106,13 +109,15 @@
 
 
 					<!--  list class details -->
-					<xsl:if test="count(./javadoc:interface | ./javadoc:class)>0">
+					<xsl:if test="count(./javadoc:interface | ./javadoc:class)&gt;0">
 						<sect2>
 							<title>Details</title>
 							<xsl:for-each select="./javadoc:class | ./javadoc:interface">
-								
+
 								<sect3>
-								<xsl:processing-instruction name="dbfo-need">height="4in"</xsl:processing-instruction>
+									<xsl:processing-instruction name="dbfo-need">
+										height="4in"
+									</xsl:processing-instruction>
 									<title>
 										<xsl:value-of select="local-name()" />
 										<xsl:text> </xsl:text>
@@ -120,65 +125,86 @@
 									</title>
 									<para>
 										<emphasis>
-										<xsl:value-of select="javadoc:modifiers" />
-										<xsl:text> </xsl:text>
-										<xsl:value-of select="@name" />
-										<xsl:if test="javadoc:extends">
-											<xsl:text> extends </xsl:text>
-									 		<xsl:value-of select="javadoc:extends" />
-										</xsl:if>
+											<xsl:value-of select="javadoc:modifiers" />
+											<xsl:text> </xsl:text>
+											<xsl:value-of select="@name" />
+											<xsl:if test="javadoc:extends">
+												<xsl:text> extends </xsl:text>
+												<xsl:value-of select="javadoc:extends" />
+											</xsl:if>
 										</emphasis>
 									</para>
 									<para>
 										<xsl:copy-of select="javadoc:comment/*" />
 									</para>
-									<xsl:if test="count(./javadoc:field)>0">
+									<xsl:if test="count(./javadoc:field)&gt;0">
 										<xsl:for-each select="./javadoc:field">
 											<para>Field</para>
 										</xsl:for-each>
 									</xsl:if>
-									<xsl:if test="count(./javadoc:constructor)>0">
+									<xsl:if test="count(./javadoc:constructor)&gt;0">
 										<table border="1" pgwide="1">
 											<xsl:attribute name="xml:id">constructors.
     						<xsl:value-of select="@name" />
   						</xsl:attribute>
-  						<xsl:processing-instruction name="dbfo">
-									keep-together="auto"
-							</xsl:processing-instruction>
-											<caption><xsl:value-of select="@name" /> Constructor Summary</caption>
+											<xsl:processing-instruction name="dbfo">
+												keep-together="auto"
+											</xsl:processing-instruction>
+											<caption>
+												<xsl:value-of select="@name" />
+												Constructor Summary
+											</caption>
 											<thead>
-												<tr><xsl:processing-instruction
-															name="dbfo">
-															bgcolor="#CCCCFF"
-														</xsl:processing-instruction>
-													<td>Signature</td>
-													<td>Summary</td>
+												<tr>
+													<xsl:processing-instruction
+														name="dbfo">
+														bgcolor="#CCCCFF"
+													</xsl:processing-instruction>
+													<td>Constructor</td>
+
 												</tr>
 											</thead>
 											<tbody>
 												<xsl:for-each select="./javadoc:constructor">
 													<tr>
 														<td>
-															<xsl:value-of select="../@name" />
-															<xsl:value-of select="@signature" />
-														</td>
-														<td>
-															<xsl:value-of select="javadoc:summary" />
+														    <!--  signature  -->
+															<emphasis>
+																<xsl:value-of select="javadoc:modifiers" />
+																<xsl:text> </xsl:text>
+																<xsl:value-of select="../@name" />
+																<!--  parameters -->
+																	<xsl:text>(</xsl:text>
+																	<xsl:if test="javadoc:parameters">
+																		<xsl:for-each select="javadoc:parameters/javadoc:parameter">
+																			<xsl:value-of select="@type" />
+																			<xsl:text> </xsl:text>
+																			<xsl:value-of select="@name" />
+																		</xsl:for-each>
+																	</xsl:if>
+																	<xsl:text>)</xsl:text>
+															</emphasis>
+															<para>
+																<xsl:copy-of select="javadoc:comment/*" />
+															</para>
 														</td>
 													</tr>
 												</xsl:for-each>
 											</tbody>
 										</table>
 									</xsl:if>
-									
+
 									<!-- List Methods -->
-									
-									<xsl:if test="count(./javadoc:method)>0">
+
+									<xsl:if test="count(./javadoc:method)&gt;0">
 										<table border="1" pgwide="1">
-										<xsl:processing-instruction name="dbfo">
-											keep-together="auto"
-										</xsl:processing-instruction>
-											<caption><xsl:value-of select="@name" /> Methods</caption>
+											<xsl:processing-instruction name="dbfo">
+												keep-together="auto"
+											</xsl:processing-instruction>
+											<caption>
+												<xsl:value-of select="@name" />
+												Methods
+											</caption>
 											<tgroup cols='10' align='left' colsep='1' rowsep='1'>
 												<colspec colname='a' />
 												<colspec colname='b' />
@@ -204,116 +230,138 @@
 													<xsl:for-each select="./javadoc:method">
 														<row>
 															<entry namest="a" nameend="c">
-																<command><xsl:value-of select="@name" /></command>
+																<command>
+																	<xsl:value-of select="@name" />
+																</command>
 															</entry>
-															
-															<!--  write out details of method.  
-																  Signature
-																  Comments
-																  Parameters
-																  Returns
-																  Throws
-															 -->
-															 
+
+															<!--
+																write out details of method. Signature Comments
+																Parameters Returns Throws
+															-->
+
 															<entry namest="d" nameend="j">
 																<emphasis>
-																<!--  signature -->
-																<xsl:value-of select="javadoc:modifiers" />
-																<xsl:text> </xsl:text>
-																<!-- return type -->
-																<xsl:value-of select="javadoc:returntype/javadoc:name" />
-																<xsl:text> </xsl:text>
-																<!-- name -->
-																<xsl:value-of select="@name" />
-																<!--  parameters -->
-																<xsl:text>(</xsl:text>
-																<xsl:if test="javadoc:parameters">
-																	<xsl:for-each select="javadoc:parameters/javadoc:parameter">
-																	<xsl:value-of select="@type" />
+																	<!--  signature -->
+																	<xsl:value-of select="javadoc:modifiers" />
 																	<xsl:text> </xsl:text>
+																	<!-- return type -->
+																	<xsl:value-of select="javadoc:returntype/javadoc:name" />
+																	<xsl:text> </xsl:text>
+																	<!-- name -->
 																	<xsl:value-of select="@name" />
-																	</xsl:for-each>
-																</xsl:if>
-																<xsl:text>)</xsl:text>
+																	<!--  parameters -->
+																	<xsl:text>(</xsl:text>
+																	<xsl:if test="javadoc:parameters">
+																		<xsl:for-each select="javadoc:parameters/javadoc:parameter">
+																			<xsl:value-of select="@type" />
+																			<xsl:text> </xsl:text>
+																			<xsl:value-of select="@name" />
+																		</xsl:for-each>
+																	</xsl:if>
+																	<xsl:text>)</xsl:text>
 																</emphasis>
-															<!--  comments -->
-															<para>
-																<xsl:copy-of select="javadoc:comment/*" />
-															</para>
-															
-															<!-- returns -->
-															<xsl:if test="count(./javadoc:returns/javadoc:return)>0">
+																<!--  comments -->
+																<para>
+																	<xsl:copy-of select="javadoc:comment/*" />
+																</para>
+
+																<!-- returns -->
+																<xsl:if test="count(./javadoc:returns/javadoc:return)&gt;0">
 																	<section>
-																	<informaltable frame="none">
-																	<tgroup cols='1' align='left' colsep='0' rowsep='0'>
-																	<colspec name="a"/>
-																	<thead>
-																	<row><entry>Returns</entry></row>
-																	</thead>
-																	<tbody>
-																	
-																	<xsl:for-each select="./javadoc:returns/javadoc:return">
-																		<row>
-																			<entry><xsl:value-of select="."/></entry>
-																		</row>
-																	</xsl:for-each>
-																	</tbody>
-																	</tgroup>
-																	</informaltable>
+																		<informaltable frame="none">
+																			<tgroup cols='1' align='left' colsep='0'
+																				rowsep='0'>
+																				<colspec name="a" />
+																				<thead>
+																					<row>
+																						<entry>Returns</entry>
+																					</row>
+																				</thead>
+																				<tbody>
+
+																					<xsl:for-each select="./javadoc:returns/javadoc:return">
+																						<row>
+																							<entry>
+																								<xsl:value-of select="." />
+																							</entry>
+																						</row>
+																					</xsl:for-each>
+																				</tbody>
+																			</tgroup>
+																		</informaltable>
 																	</section>
-															</xsl:if>
-															<!-- parameters -->
-															<xsl:if test="count(./javadoc:paramdescs/javadoc:paramdesc)>0">
+																</xsl:if>
+																<!-- parameters -->
+																<xsl:if
+																	test="count(./javadoc:paramdescs/javadoc:paramdesc)&gt;0">
 																	<section>
-																	<informaltable>
-																	<tgroup cols='5' align='left' colsep='0' rowsep='0'>
-																		<colspec name="a"/>
-																	<colspec name="b"/>
-																	<colspec name="c"/>
-																	<colspec name="d"/>
-																	<colspec name="e"/>
-																	<thead>
-																	<row><entry namest="a" nameend="e">Parameters</entry></row>
-																	</thead>
-																	<tbody>
-																	
-																	<xsl:for-each select="./javadoc:paramdescs/javadoc:paramdesc">
-																		<row>
-																			<entry><xsl:value-of select="@name" /></entry>
-																			<entry namest="b" nameend="e"><xsl:value-of select="."/></entry>
-																		</row>
-																	</xsl:for-each>
-																	</tbody>
-																	</tgroup>
-																	</informaltable>
+																		<informaltable>
+																			<tgroup cols='5' align='left' colsep='0'
+																				rowsep='0'>
+																				<colspec name="a" />
+																				<colspec name="b" />
+																				<colspec name="c" />
+																				<colspec name="d" />
+																				<colspec name="e" />
+																				<thead>
+																					<row>
+																						<entry namest="a" nameend="e">Parameters
+																						</entry>
+																					</row>
+																				</thead>
+																				<tbody>
+
+																					<xsl:for-each
+																						select="./javadoc:paramdescs/javadoc:paramdesc">
+																						<row>
+																							<entry>
+																								<xsl:value-of select="@name" />
+																							</entry>
+																							<entry namest="b" nameend="e">
+																								<xsl:value-of select="." />
+																							</entry>
+																						</row>
+																					</xsl:for-each>
+																				</tbody>
+																			</tgroup>
+																		</informaltable>
 																	</section>
-															</xsl:if>
-															<!-- throqs -->
-															<xsl:if test="count(./javadoc:throws/javadoc:throw)>0">
+																</xsl:if>
+																<!-- throqs -->
+																<xsl:if test="count(./javadoc:throws/javadoc:throw)&gt;0">
 																	<section>
-																	<informaltable frame="none">
-																	<tgroup cols='5' align='left' colsep='0' rowsep='0'>
-																		<colspec name="a"/>
-																	<colspec name="b"/>
-																	<colspec name="c"/>
-																	<colspec name="d"/>
-																	<colspec name="e"/>
-																	<thead>
-																	<row><entry namest="a" nameend="e">Throws</entry></row>
-																	</thead>
-																	<tbody>
-																	
-																	<xsl:for-each select="./javadoc:throws/javadoc:throw">
-																		<row>
-																			<entry namest="a" nameend="b"><xsl:value-of select="@name" /></entry>
-																			<entry namest="c" nameend="e"><xsl:value-of select="."/></entry>
-																		</row>
-																	</xsl:for-each>
-																	</tbody>
-																	</tgroup>
-																	</informaltable>
+																		<informaltable frame="none">
+																			<tgroup cols='5' align='left' colsep='0'
+																				rowsep='0'>
+																				<colspec name="a" />
+																				<colspec name="b" />
+																				<colspec name="c" />
+																				<colspec name="d" />
+																				<colspec name="e" />
+																				<thead>
+																					<row>
+																						<entry namest="a" nameend="e">Throws
+																						</entry>
+																					</row>
+																				</thead>
+																				<tbody>
+
+																					<xsl:for-each select="./javadoc:throws/javadoc:throw">
+																						<row>
+																							<entry namest="a" nameend="b">
+																								<xsl:value-of select="@name" />
+																							</entry>
+																							<entry namest="c" nameend="e">
+																								<xsl:value-of select="." />
+																							</entry>
+																						</row>
+																					</xsl:for-each>
+																				</tbody>
+																			</tgroup>
+																		</informaltable>
 																	</section>
-															</xsl:if>
+																</xsl:if>
 															</entry>
 														</row>
 													</xsl:for-each>



Mime
View raw message