maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r632505 - in /maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser: ./ list/ table/
Date Sat, 01 Mar 2008 00:28:37 GMT
Author: vsiveton
Date: Fri Feb 29 16:28:34 2008
New Revision: 632505

URL: http://svn.apache.org/viewvc?rev=632505&view=rev
Log:
DOXIA-217: Make default internal classes

o updated also some javadoc

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AbstractFatherBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AnchorBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/Block.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/BlockParser.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/BoldBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ChildBlocksBuilder.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/DefinitionListBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/DefinitionListBlockParser.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/FigureBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/FigureBlockParser.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/HorizontalRuleBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/HorizontalRuleBlockParser.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ItalicBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/LinebreakBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/LinkBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/MonospaceBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ParagraphBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ParagraphBlockParser.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/SectionBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/SectionBlockParser.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/TextBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/VerbatimBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/VerbatimBlockParser.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/BulletedListBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListBlockParser.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListItemBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/NumberedListBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/TreeComponent.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/TreeListBuilder.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableCellBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableCellHeaderBlock.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableRowBlock.java

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AbstractFatherBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AbstractFatherBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AbstractFatherBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AbstractFatherBlock.java Fri Feb 29 16:28:34 2008
@@ -24,15 +24,27 @@
 
 import org.apache.maven.doxia.sink.Sink;
 
+/**
+ * @version $Id$
+ */
 public abstract class AbstractFatherBlock
     implements Block
 {
     private  List blocks;
 
+    /**
+     * @param sink
+     */
     public abstract void before( Sink sink );
 
+    /**
+     * @param sink
+     */
     public abstract void after( Sink sink );
 
+    /**
+     * @param childBlocks
+     */
     public AbstractFatherBlock(  List childBlocks )
     {
         if ( childBlocks == null )
@@ -43,6 +55,7 @@
         this.blocks = childBlocks;
     }
 
+    /** {@inheritDoc} */
     public  void traverse(  Sink sink )
     {
         before( sink );

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AnchorBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AnchorBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AnchorBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/AnchorBlock.java Fri Feb 29 16:28:34 2008
@@ -21,12 +21,15 @@
 
 import org.apache.maven.doxia.sink.Sink;
 
-public class AnchorBlock
+/**
+ * @version $Id$
+ */
+class AnchorBlock
     implements Block
 {
     private  String name;
 
-    public AnchorBlock(  String name ) throws IllegalArgumentException
+    AnchorBlock(  String name ) throws IllegalArgumentException
     {
         if ( name == null )
         {
@@ -35,6 +38,7 @@
         this.name = name;
     }
 
+    /** {@inheritDoc} */
     public  void traverse(  Sink sink )
     {
         sink.anchor( name );

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/Block.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/Block.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/Block.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/Block.java Fri Feb 29 16:28:34 2008
@@ -21,6 +21,9 @@
 
 import org.apache.maven.doxia.sink.Sink;
 
+/**
+ * @version $Id$
+ */
 public interface Block
 {
     void traverse(  Sink sink );

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/BlockParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/BlockParser.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/BlockParser.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/BlockParser.java Fri Feb 29 16:28:34 2008
@@ -23,9 +23,23 @@
 import org.apache.maven.doxia.module.confluence.parser.Block;
 import org.apache.maven.doxia.parser.ParseException;
 
+/**
+ * @version $Id$
+ */
 public interface BlockParser
 {
+    /**
+     * @param line
+     * @param source
+     * @return
+     */
     boolean accept( String line, ByLineSource source );
 
+    /**
+     * @param line
+     * @param source
+     * @return
+     * @throws ParseException
+     */
     Block visit( String line, ByLineSource source ) throws ParseException;
 }

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/BoldBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/BoldBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/BoldBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/BoldBlock.java Fri Feb 29 16:28:34 2008
@@ -23,19 +23,27 @@
 
 import java.util.List;
 
-public class BoldBlock 
+/**
+ * @version $Id$
+ */
+public class BoldBlock
     extends AbstractFatherBlock
 {
+    /**
+     * @param childBlocks
+     */
     public BoldBlock( List childBlocks )
     {
         super( childBlocks );
     }
 
+    /** {@inheritDoc} */
     public  void before(  Sink sink )
     {
         sink.bold();
     }
 
+    /** {@inheritDoc} */
     public  void after(  Sink sink )
     {
         sink.bold_();

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ChildBlocksBuilder.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ChildBlocksBuilder.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ChildBlocksBuilder.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ChildBlocksBuilder.java Fri Feb 29 16:28:34 2008
@@ -30,10 +30,10 @@
  * on the stack to preserve stateless behaviour in the caller.
  *
  * @author Dave Syer
+ * @version $Id$
  */
 public class ChildBlocksBuilder
 {
-
     private boolean insideBold = false;
 
     private boolean insideItalic = false;
@@ -48,6 +48,9 @@
 
     private boolean insideMonospaced;
 
+    /**
+     * @param input
+     */
     public ChildBlocksBuilder( String input )
     {
         this.input = input;
@@ -56,7 +59,6 @@
     /**
      * Utility method to convert marked up content into blocks for rendering.
      *
-     * @param input a String with no line breaks
      * @return a list of Blocks that can be used to render it
      */
     public List getBlocks()

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/DefinitionListBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/DefinitionListBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/DefinitionListBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/DefinitionListBlock.java Fri Feb 29 16:28:34 2008
@@ -25,20 +25,23 @@
 import org.apache.maven.doxia.sink.Sink;
 import org.codehaus.plexus.util.StringUtils;
 
-public class DefinitionListBlock
+/**
+ * @version $Id$
+ */
+class DefinitionListBlock
     implements Block
 {
-
     private String title;
 
     private List text;
 
-    public DefinitionListBlock( String title, String text )
+    DefinitionListBlock( String title, String text )
     {
         this.title = title;
         this.text = new ChildBlocksBuilder( text ).getBlocks();
     }
 
+    /** {@inheritDoc} */
     public void traverse( Sink sink )
     {
         sink.definitionList();
@@ -61,5 +64,4 @@
         sink.definition_();
         sink.definitionList_();
     }
-
 }

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/DefinitionListBlockParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/DefinitionListBlockParser.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/DefinitionListBlockParser.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/DefinitionListBlockParser.java Fri Feb 29 16:28:34 2008
@@ -31,12 +31,14 @@
 {
     static  String LS = System.getProperty( "line.separator" );
 
+    /** {@inheritDoc} */
     public boolean accept( String line, ByLineSource source )
     {
         return ( line.startsWith( "{note" ) || line.startsWith( "{tip" )
             || line.startsWith( "{info" ) || line.startsWith( "{quote" ) );
     }
 
+    /** {@inheritDoc} */
     public Block visit( String line, ByLineSource source )
         throws ParseException
     {

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/FigureBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/FigureBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/FigureBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/FigureBlock.java Fri Feb 29 16:28:34 2008
@@ -21,25 +21,28 @@
 
 import org.apache.maven.doxia.sink.Sink;
 
-public class FigureBlock
+/**
+ * @version $Id$
+ */
+class FigureBlock
     implements Block
 {
-
     private String location;
 
     private String caption;
 
-    public FigureBlock( String location )
+    FigureBlock( String location )
     {
         this.location = location;
     }
 
-    public FigureBlock( String image, String caption )
+    FigureBlock( String image, String caption )
     {
         this.location = image;
         this.caption = caption;
     }
 
+    /** {@inheritDoc} */
     public void traverse( Sink sink )
     {
         sink.figure();
@@ -54,5 +57,4 @@
 
         sink.figure_();
     }
-
 }

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/FigureBlockParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/FigureBlockParser.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/FigureBlockParser.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/FigureBlockParser.java Fri Feb 29 16:28:34 2008
@@ -22,14 +22,19 @@
 import org.apache.maven.doxia.parser.ParseException;
 import org.apache.maven.doxia.util.ByLineSource;
 
+/**
+ * @version $Id$
+ */
 public class FigureBlockParser
     implements BlockParser
 {
+    /** {@inheritDoc} */
     public boolean accept( String line, ByLineSource source )
     {
         return line.startsWith( "!" ) && line.lastIndexOf( "!" ) > 1;
     }
 
+    /** {@inheritDoc} */
     public Block visit( String line, ByLineSource source )
         throws ParseException
     {
@@ -51,11 +56,11 @@
 
         return new FigureBlock( image );
     }
-    
+
     /**
      * Slurp lines from the source starting with the given line appending them together into a StringBuffer until an
      * empty line is reached, and while the source contains more lines.
-     * 
+     *
      * @param source the source to read new lines from
      * @return a StringBuffer appended with lines
      * @throws ParseException
@@ -64,7 +69,7 @@
         throws ParseException
     {
         StringBuffer text = new StringBuffer();
-        
+
         String line;
 
         while ( ( line = source.getNextLine() ) != null )
@@ -85,8 +90,7 @@
             }
 
         }
- 
+
         return text.toString();
     }
-
 }

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/HorizontalRuleBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/HorizontalRuleBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/HorizontalRuleBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/HorizontalRuleBlock.java Fri Feb 29 16:28:34 2008
@@ -21,9 +21,13 @@
 
 import org.apache.maven.doxia.sink.Sink;
 
-public class HorizontalRuleBlock 
+/**
+ * @version $Id$
+ */
+class HorizontalRuleBlock
     implements Block
 {
+    /** {@inheritDoc} */
     public  void traverse(  Sink sink )
     {
         sink.horizontalRule();

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/HorizontalRuleBlockParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/HorizontalRuleBlockParser.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/HorizontalRuleBlockParser.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/HorizontalRuleBlockParser.java Fri Feb 29 16:28:34 2008
@@ -22,14 +22,19 @@
 import org.apache.maven.doxia.util.ByLineSource;
 import org.apache.maven.doxia.parser.ParseException;
 
+/**
+ * @version $Id$
+ */
 public class HorizontalRuleBlockParser
     implements BlockParser
 {
+    /** {@inheritDoc} */
     public  boolean accept( String line, ByLineSource source )
     {
         return line.startsWith( "----" );
     }
 
+    /** {@inheritDoc} */
     public  Block visit(  String line,  ByLineSource source )
         throws ParseException
     {

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ItalicBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ItalicBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ItalicBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ItalicBlock.java Fri Feb 29 16:28:34 2008
@@ -23,19 +23,24 @@
 
 import java.util.List;
 
-public class ItalicBlock
+/**
+ * @version $Id$
+ */
+class ItalicBlock
     extends AbstractFatherBlock
 {
-    public ItalicBlock( List childBlocks )
+    ItalicBlock( List childBlocks )
     {
         super( childBlocks );
     }
 
+    /** {@inheritDoc} */
     public  void before(  Sink sink )
     {
         sink.italic();
     }
 
+    /** {@inheritDoc} */
     public  void after(  Sink sink )
     {
         sink.italic_();

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/LinebreakBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/LinebreakBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/LinebreakBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/LinebreakBlock.java Fri Feb 29 16:28:34 2008
@@ -23,11 +23,12 @@
 
 /**
  * @author Dave Syer
- * @since 1.0
+ * @version $Id$
  */
-public class LinebreakBlock
+class LinebreakBlock
     implements Block
 {
+    /** {@inheritDoc} */
     public void traverse( Sink sink )
     {
         sink.lineBreak();

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/LinkBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/LinkBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/LinkBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/LinkBlock.java Fri Feb 29 16:28:34 2008
@@ -21,15 +21,17 @@
 
 import org.apache.maven.doxia.sink.Sink;
 
-
-public class LinkBlock
+/**
+ * @version $Id$
+ */
+class LinkBlock
     implements Block
 {
     private  String reference;
 
     private  String text;
 
-    public LinkBlock(  String reference,  String text )
+    LinkBlock(  String reference,  String text )
         throws IllegalArgumentException
     {
         if ( reference == null || text == null )
@@ -40,6 +42,7 @@
         this.text = text;
     }
 
+    /** {@inheritDoc} */
     public  void traverse(  Sink sink )
     {
         sink.link( reference );

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/MonospaceBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/MonospaceBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/MonospaceBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/MonospaceBlock.java Fri Feb 29 16:28:34 2008
@@ -23,18 +23,23 @@
 
 import java.util.List;
 
-public class MonospaceBlock extends AbstractFatherBlock
+/**
+ * @version $Id$
+ */
+class MonospaceBlock extends AbstractFatherBlock
 {
-    public MonospaceBlock( List childBlocks )
+    MonospaceBlock( List childBlocks )
     {
         super( childBlocks );
     }
 
+    /** {@inheritDoc} */
     public  void before(  Sink sink )
     {
         sink.monospaced();
     }
 
+    /** {@inheritDoc} */
     public  void after(  Sink sink )
     {
         sink.monospaced_();

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ParagraphBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ParagraphBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ParagraphBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ParagraphBlock.java Fri Feb 29 16:28:34 2008
@@ -25,22 +25,24 @@
 
 /**
  * @author Juan F. Codagnone
- * @since Nov 1, 2005
+ * @version $Id$
  */
-public class ParagraphBlock
+class ParagraphBlock
     extends AbstractFatherBlock
 {
-    public ParagraphBlock( List blocks )
+    ParagraphBlock( List blocks )
         throws IllegalArgumentException
     {
         super( blocks );
     }
 
+    /** {@inheritDoc} */
     public  void before(  Sink sink )
     {
         sink.paragraph();
     }
 
+    /** {@inheritDoc} */
     public  void after(  Sink sink )
     {
         sink.paragraph_();

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ParagraphBlockParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ParagraphBlockParser.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ParagraphBlockParser.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/ParagraphBlockParser.java Fri Feb 29 16:28:34 2008
@@ -22,23 +22,30 @@
 import org.apache.maven.doxia.parser.ParseException;
 import org.apache.maven.doxia.util.ByLineSource;
 
+/**
+ * @version $Id$
+ */
 public class ParagraphBlockParser
     implements BlockParser
 {
-
     private BlockParser[] parsers;
 
+    /**
+     * @param parsers
+     */
     public ParagraphBlockParser( BlockParser[] parsers )
     {
         super();
         this.parsers = parsers;
     }
 
+    /** {@inheritDoc} */
     public boolean accept( String line, ByLineSource source )
     {
         return true;
     }
 
+    /** {@inheritDoc} */
     public Block visit( String line, ByLineSource source )
         throws ParseException
     {
@@ -51,7 +58,7 @@
      * Slurp lines from the source starting with the given line appending them together into a StringBuffer until an
      * empty line is reached, and while the source contains more lines. The result can be passed to the
      * {@link #getBlocks(String)} method.
-     * 
+     *
      * @param line the first line
      * @param source the source to read new lines from
      * @return a StringBuffer appended with lines

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/SectionBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/SectionBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/SectionBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/SectionBlock.java Fri Feb 29 16:28:34 2008
@@ -25,19 +25,20 @@
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
  * @version $Id$
  */
-public class SectionBlock
+class SectionBlock
     implements Block
 {
     private String title;
 
     private int level;
 
-    public SectionBlock( String title, int level )
+    SectionBlock( String title, int level )
     {
         this.title = title;
         this.level = level;
     }
 
+    /** {@inheritDoc} */
     public void traverse( Sink sink )
     {
         if ( level == Sink.SECTION_LEVEL_1 )

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/SectionBlockParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/SectionBlockParser.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/SectionBlockParser.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/SectionBlockParser.java Fri Feb 29 16:28:34 2008
@@ -29,6 +29,7 @@
 public class SectionBlockParser
     implements BlockParser
 {
+    /** {@inheritDoc} */
     public boolean accept( String line, ByLineSource source )
     {
         if ( line.startsWith( "h1." ) )
@@ -55,6 +56,7 @@
         return false;
     }
 
+    /** {@inheritDoc} */
     public Block visit( String line, ByLineSource source )
         throws ParseException
     {

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/TextBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/TextBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/TextBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/TextBlock.java Fri Feb 29 16:28:34 2008
@@ -30,11 +30,15 @@
 {
     private String text;
 
+    /**
+     * @param text
+     */
     public TextBlock( String text )
     {
         this.text = text;
     }
 
+    /** {@inheritDoc} */
     public void traverse( Sink sink )
     {
         sink.text( text );

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/VerbatimBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/VerbatimBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/VerbatimBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/VerbatimBlock.java Fri Feb 29 16:28:34 2008
@@ -25,16 +25,17 @@
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
  * @version $Id$
  */
-public class VerbatimBlock
+class VerbatimBlock
     implements Block
 {
     private String text;
 
-    public VerbatimBlock( String text )
+    VerbatimBlock( String text )
     {
         this.text = text;
     }
 
+    /** {@inheritDoc} */
     public void traverse( Sink sink )
     {
         sink.verbatim( true );

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/VerbatimBlockParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/VerbatimBlockParser.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/VerbatimBlockParser.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/VerbatimBlockParser.java Fri Feb 29 16:28:34 2008
@@ -31,6 +31,7 @@
 {
     static  String LS = System.getProperty( "line.separator" );
 
+    /** {@inheritDoc} */
     public boolean accept( String line, ByLineSource source )
     {
         if ( line.startsWith( "{code" ) || line.startsWith( "{noformat}" ) )
@@ -41,6 +42,7 @@
         return false;
     }
 
+    /** {@inheritDoc} */
     public Block visit( String line, ByLineSource source )
         throws ParseException
     {

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/BulletedListBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/BulletedListBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/BulletedListBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/BulletedListBlock.java Fri Feb 29 16:28:34 2008
@@ -20,7 +20,6 @@
  */
 
 import org.apache.maven.doxia.sink.Sink;
-import org.apache.maven.doxia.module.confluence.parser.AbstractFatherBlock;
 
 import java.util.List;
 
@@ -28,19 +27,21 @@
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
  * @version $Id$
  */
-public class BulletedListBlock
+class BulletedListBlock
     extends ListBlock
 {
-    public BulletedListBlock(  List childBlocks )
+    BulletedListBlock(  List childBlocks )
     {
         super( childBlocks );
     }
 
+    /** {@inheritDoc} */
     public void before( Sink sink )
     {
         sink.list();
     }
 
+    /** {@inheritDoc} */
     public void after( Sink sink )
     {
         sink.list_();

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListBlock.java Fri Feb 29 16:28:34 2008
@@ -27,10 +27,10 @@
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
  * @version $Id$
  */
-public abstract class ListBlock
+abstract class ListBlock
     extends AbstractFatherBlock
 {
-    protected ListBlock(  List childBlocks )
+    ListBlock(  List childBlocks )
     {
         super( childBlocks );
     }

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListBlockParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListBlockParser.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListBlockParser.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListBlockParser.java Fri Feb 29 16:28:34 2008
@@ -35,6 +35,7 @@
 
     public static int NUMBERED_LIST = 1;
 
+    /** {@inheritDoc} */
     public boolean accept( String line, ByLineSource source )
     {
         if ( isList( line ) )
@@ -45,6 +46,7 @@
         return false;
     }
 
+    /** {@inheritDoc} */
     public Block visit( String line, ByLineSource source )
         throws ParseException
     {
@@ -58,7 +60,7 @@
             {
                 break;
             }
-            
+
             if (text.length()>0 && isList( line ) )
             {
                 // We reached a new line with list prefix

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListItemBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListItemBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListItemBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/ListItemBlock.java Fri Feb 29 16:28:34 2008
@@ -24,18 +24,21 @@
 
 import java.util.List;
 
-public class ListItemBlock
+/**
+ * @version $Id$
+ */
+class ListItemBlock
     extends AbstractFatherBlock
 {
     private  ListBlock innerList;
 
-    public ListItemBlock(  List blocks )
+    ListItemBlock(  List blocks )
         throws IllegalArgumentException
     {
         this( blocks, null );
     }
 
-    public ListItemBlock(  List blocks,  ListBlock innerList )
+    ListItemBlock(  List blocks,  ListBlock innerList )
         throws IllegalArgumentException
     {
         super( blocks );
@@ -43,11 +46,13 @@
         this.innerList = innerList;
     }
 
+    /** {@inheritDoc} */
     public  void before(  Sink sink )
     {
         sink.listItem();
     }
 
+    /** {@inheritDoc} */
     public  void after(  Sink sink )
     {
         if ( innerList != null )
@@ -58,7 +63,7 @@
         sink.listItem_();
     }
 
-    public  ListBlock getInnerList()
+    ListBlock getInnerList()
     {
         return innerList;
     }

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/NumberedListBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/NumberedListBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/NumberedListBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/NumberedListBlock.java Fri Feb 29 16:28:34 2008
@@ -19,24 +19,31 @@
  * under the License.
  */
 
-import org.apache.maven.doxia.module.confluence.parser.AbstractFatherBlock;
 import org.apache.maven.doxia.sink.Sink;
 
 import java.util.List;
 
+/**
+ * @version $Id$
+ */
 public class NumberedListBlock
     extends ListBlock
 {
-    public NumberedListBlock(  List childBlocks )
+    /**
+     * @param childBlocks
+     */
+    NumberedListBlock(  List childBlocks )
     {
         super( childBlocks );
     }
 
+    /** {@inheritDoc} */
     public void before( Sink sink )
     {
         sink.numberedList( Sink.NUMBERING_DECIMAL );
     }
 
+    /** {@inheritDoc} */
     public void after( Sink sink )
     {
         sink.numberedList_();

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/TreeComponent.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/TreeComponent.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/TreeComponent.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/TreeComponent.java Fri Feb 29 16:28:34 2008
@@ -27,7 +27,7 @@
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
  * @version $Id$
  */
-public class TreeComponent
+class TreeComponent
 {
     private static final String EOL = System.getProperty( "line.separator" );
 
@@ -39,19 +39,19 @@
 
     private int type;
 
-    public TreeComponent( TreeComponent father, String text, int type )
+    TreeComponent( TreeComponent father, String text, int type )
     {
         this.text = text;
         this.father = father;
         this.type = type;
     }
 
-    public List getChildren()
+    List getChildren()
     {
         return children;
     }
 
-    public TreeComponent addChildren( String t, int ttype )
+    TreeComponent addChildren( String t, int ttype )
     {
         if ( t == null )
         {
@@ -65,12 +65,12 @@
         return ret;
     }
 
-    public TreeComponent getFather()
+    TreeComponent getFather()
     {
         return father;
     }
 
-    public int getDepth()
+    int getDepth()
     {
         int ret = 0;
 
@@ -84,12 +84,13 @@
         return ret;
     }
 
+    /** {@inheritDoc} */
     public String toString()
     {
         return toString( "" );
     }
 
-    public String toString( String indent )
+    String toString( String indent )
     {
         StringBuffer sb = new StringBuffer();
 
@@ -111,12 +112,12 @@
         return sb.toString();
     }
 
-    public String getText()
+    String getText()
     {
         return text;
     }
 
-    public int getType()
+    int getType()
     {
         return type;
     }

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/TreeListBuilder.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/TreeListBuilder.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/TreeListBuilder.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/list/TreeListBuilder.java Fri Feb 29 16:28:34 2008
@@ -25,13 +25,16 @@
 
 import org.apache.maven.doxia.module.confluence.parser.ChildBlocksBuilder;
 
+/**
+ * @version $Id$
+ */
 public class TreeListBuilder
 {
     private  TreeComponent root;
 
     private TreeComponent current;
 
-    public TreeListBuilder()
+    TreeListBuilder()
         throws IllegalArgumentException
     {
         root = new TreeComponent( null, "root", 0 );
@@ -39,7 +42,7 @@
         current = root;
     }
 
-    public void feedEntry( int type, int level, String text )
+    void feedEntry( int type, int level, String text )
     {
         int currentDepth = current.getDepth();
 
@@ -85,7 +88,7 @@
         current.addChildren( text.trim(), type );
     }
 
-    public ListBlock getBlock()
+    ListBlock getBlock()
     {
         return getList( root );
     }
@@ -100,10 +103,8 @@
         {
             return new BulletedListBlock( list );
         }
-        else
-        {
-            return new NumberedListBlock( list );
-        }
+
+        return new NumberedListBlock( list );
     }
 
     private List getListItems( TreeComponent tc )

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlock.java Fri Feb 29 16:28:34 2008
@@ -25,36 +25,40 @@
 
 import java.util.List;
 
-
-public class TableBlock
+/**
+ * @version $Id$
+ */
+class TableBlock
     extends AbstractFatherBlock
 {
-    public TableBlock( List childBlocks )
+    TableBlock( List childBlocks )
     {
         super( childBlocks );
     }
 
+    /** {@inheritDoc} */
     public  void before(  Sink sink )
     {
         sink.table();
         sink.tableRows( getJustification(), false );
     }
 
+    /** {@inheritDoc} */
     public  void after(  Sink sink )
     {
         sink.tableRows_();
         sink.table_();
     }
-    
+
     private final int [] getJustification() {
-        final AbstractFatherBlock b = 
+        final AbstractFatherBlock b =
             ((AbstractFatherBlock)getBlocks().get( 0 ));
         int[] justification = new int[b.getBlocks().size()];
         for ( int i = 0; i < justification.length; i++ )
         {
             justification[i] = Parser.JUSTIFY_CENTER;
         }
-        
+
         return justification;
     }
 }

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableBlockParser.java Fri Feb 29 16:28:34 2008
@@ -35,16 +35,18 @@
  * Parse tables
  *
  * @author Juan F. Codagnone
- * @since Nov 9, 2005
+ * @version $Id$
  */
 public class TableBlockParser
     implements BlockParser
 {
+    /** {@inheritDoc} */
     public  boolean accept( String line, ByLineSource source )
     {
         return line.startsWith( "|" );
     }
 
+    /** {@inheritDoc} */
     public  Block visit(  String line,  ByLineSource source )
         throws ParseException
     {

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableCellBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableCellBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableCellBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableCellBlock.java Fri Feb 29 16:28:34 2008
@@ -24,20 +24,24 @@
 
 import java.util.List;
 
-
-public class TableCellBlock
+/**
+ * @version $Id$
+ */
+class TableCellBlock
     extends AbstractFatherBlock
 {
-    public TableCellBlock( List childBlocks )
+    TableCellBlock( List childBlocks )
     {
         super( childBlocks );
     }
 
+    /** {@inheritDoc} */
     public  void before(  Sink sink )
     {
         sink.tableCell();
     }
 
+    /** {@inheritDoc} */
     public  void after(  Sink sink )
     {
         sink.tableCell_();

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableCellHeaderBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableCellHeaderBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableCellHeaderBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableCellHeaderBlock.java Fri Feb 29 16:28:34 2008
@@ -24,19 +24,24 @@
 
 import java.util.List;
 
-public class TableCellHeaderBlock
+/**
+ * @version $Id$
+ */
+class TableCellHeaderBlock
     extends AbstractFatherBlock
 {
-    public TableCellHeaderBlock( List childBlocks )
+    TableCellHeaderBlock( List childBlocks )
     {
         super( childBlocks );
     }
 
+    /** {@inheritDoc} */
     public  void before(  Sink sink )
     {
         sink.tableHeaderCell();
     }
 
+    /** {@inheritDoc} */
     public  void after(  Sink sink )
     {
         sink.tableHeaderCell_();

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableRowBlock.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableRowBlock.java?rev=632505&r1=632504&r2=632505&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableRowBlock.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/src/main/java/org/apache/maven/doxia/module/confluence/parser/table/TableRowBlock.java Fri Feb 29 16:28:34 2008
@@ -24,23 +24,26 @@
 
 import java.util.List;
 
-
-public class TableRowBlock
+/**
+ * @version $Id$
+ */
+class TableRowBlock
     extends AbstractFatherBlock
 {
-    public TableRowBlock( List childBlocks )
+    TableRowBlock( List childBlocks )
     {
         super( childBlocks );
     }
 
+    /** {@inheritDoc} */
     public  void before(  Sink sink )
     {
         sink.tableRow();
     }
 
+    /** {@inheritDoc} */
     public  void after(  Sink sink )
     {
         sink.tableRow_();
     }
-
 }



Mime
View raw message