Author: vsiveton
Date: Mon Jul 31 05:20:08 2006
New Revision: 427095

URL: http://svn.apache.org/viewvc?rev=427095&view=rev
Log:
o Put back comment as discussed with trygve
o Added others to separate logical parts of the methods.

Modified:
    
maven/doxia/trunk/doxia-sandbox/doxia-book/src/main/java/org/apache/maven/doxia/book/services/renderer/XdocBookRenderer.java

Modified: 
maven/doxia/trunk/doxia-sandbox/doxia-book/src/main/java/org/apache/maven/doxia/book/services/renderer/XdocBookRenderer.java
URL: 
http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-sandbox/doxia-book/src/main/java/org/apache/maven/doxia/book/services/renderer/XdocBookRenderer.java?rev=427095&r1=427094&r2=427095&view=diff
==============================================================================
--- 
maven/doxia/trunk/doxia-sandbox/doxia-book/src/main/java/org/apache/maven/doxia/book/services/renderer/XdocBookRenderer.java
 (original)
+++ 
maven/doxia/trunk/doxia-sandbox/doxia-book/src/main/java/org/apache/maven/doxia/book/services/renderer/XdocBookRenderer.java
 Mon Jul 31 05:20:08 2006
@@ -116,7 +116,7 @@
     // -----------------------------------------------------------------------
 
     /**
-     * Render the book, ie the book index and all chapter index
+     * Render the book, ie the book index and all chapter index and pages
      *
      * @param book
      * @param context
@@ -125,6 +125,10 @@
     private void renderBook( BookModel book, BookContext context )
         throws BookDoxiaException
     {
+        // 
-----------------------------------------------------------------------
+        // Render the book index.xml page
+        // 
-----------------------------------------------------------------------
+
         File index = new File( context.getOutputDirectory(), "index.xml" );
 
         try
@@ -137,7 +141,7 @@
         }
 
         // 
-----------------------------------------------------------------------
-        // Render all the chapters
+        // Render all the chapter pages
         // 
-----------------------------------------------------------------------
 
         Iterator ii = context.getIndex().getChildEntries().iterator();
@@ -269,7 +273,7 @@
     // -----------------------------------------------------------------------
 
     /**
-     * Render all chapter index
+     * Render the chapter index and all section pages
      *
      * @param chapter
      * @param context
@@ -279,6 +283,10 @@
     private void renderChapter( Chapter chapter, BookContext context, 
IndexEntry chapterIndex )
         throws BookDoxiaException
     {
+        // 
-----------------------------------------------------------------------
+        // Render the chapter index page
+        // 
-----------------------------------------------------------------------
+
         File index = new File( context.getOutputDirectory(), chapter.getId() + 
".xml" );
 
         try
@@ -289,6 +297,10 @@
         {
             throw new BookDoxiaException( "Error while rendering index page 
to: '" + index.getAbsolutePath() + "'.", e );
         }
+
+        // 
-----------------------------------------------------------------------
+        // Render all section pages
+        // 
-----------------------------------------------------------------------
 
         Iterator ii = chapterIndex.getChildEntries().iterator();
 


Reply via email to