You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2016/01/24 22:10:19 UTC
svn commit: r1726565 [1/2] - in /maven/doxia/doxia/trunk:
doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/
doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/
doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/
Author: rfscholte
Date: Sun Jan 24 21:10:19 2016
New Revision: 1726565
URL: http://svn.apache.org/viewvc?rev=1726565&view=rev
Log:
[DOXIA-203] Add support for level 6 sections
Modified:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/RandomAccessSink.java
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/SinkAdapter.java
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/SinkEventTestingSink.java
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/TextSink.java
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/WellformednessCheckingSink.java
maven/doxia/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/Sink.java
Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/RandomAccessSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/RandomAccessSink.java?rev=1726565&r1=1726564&r2=1726565&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/RandomAccessSink.java (original)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/RandomAccessSink.java Sun Jan 24 21:10:19 2016
@@ -133,67 +133,67 @@ public class RandomAccessSink
return subSink;
}
- /** {@inheritDoc} */
+ @Override
public void anchor( String name )
{
currentSink.anchor( name );
}
- /** {@inheritDoc} */
+ @Override
public void anchor( String name, SinkEventAttributes attributes )
{
currentSink.anchor( name, attributes );
}
- /** {@inheritDoc} */
+ @Override
public void anchor_()
{
currentSink.anchor_();
}
- /** {@inheritDoc} */
+ @Override
public void author()
{
currentSink.author();
}
- /** {@inheritDoc} */
+ @Override
public void author( SinkEventAttributes attributes )
{
currentSink.author( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void author_()
{
currentSink.author_();
}
- /** {@inheritDoc} */
+ @Override
public void body()
{
currentSink.body();
}
- /** {@inheritDoc} */
+ @Override
public void body( SinkEventAttributes attributes )
{
currentSink.body( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void body_()
{
currentSink.body_();
}
- /** {@inheritDoc} */
+ @Override
public void bold()
{
currentSink.bold();
}
- /** {@inheritDoc} */
+ @Override
public void bold_()
{
currentSink.bold_();
@@ -212,145 +212,145 @@ public class RandomAccessSink
coreSink.close();
}
- /** {@inheritDoc} */
+ @Override
public void comment( String comment )
{
currentSink.comment( comment );
}
- /** {@inheritDoc} */
+ @Override
public void date()
{
currentSink.date();
}
- /** {@inheritDoc} */
+ @Override
public void date( SinkEventAttributes attributes )
{
currentSink.date( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void date_()
{
currentSink.date_();
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm()
{
currentSink.definedTerm();
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm( SinkEventAttributes attributes )
{
currentSink.definedTerm( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm_()
{
currentSink.definedTerm_();
}
- /** {@inheritDoc} */
+ @Override
public void definition()
{
currentSink.definition();
}
- /** {@inheritDoc} */
+ @Override
public void definition( SinkEventAttributes attributes )
{
currentSink.definition( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void definitionList()
{
currentSink.definitionList();
}
- /** {@inheritDoc} */
+ @Override
public void definitionList( SinkEventAttributes attributes )
{
currentSink.definitionList( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem()
{
currentSink.definitionListItem();
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem( SinkEventAttributes attributes )
{
currentSink.definitionListItem( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem_()
{
currentSink.definitionListItem_();
}
- /** {@inheritDoc} */
+ @Override
public void definitionList_()
{
currentSink.definitionList_();
}
- /** {@inheritDoc} */
+ @Override
public void definition_()
{
currentSink.definition_();
}
- /** {@inheritDoc} */
+ @Override
public void figure()
{
currentSink.figure();
}
- /** {@inheritDoc} */
+ @Override
public void figure( SinkEventAttributes attributes )
{
currentSink.figure( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption()
{
currentSink.figureCaption();
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption( SinkEventAttributes attributes )
{
currentSink.figureCaption( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption_()
{
currentSink.figureCaption_();
}
- /** {@inheritDoc} */
+ @Override
public void figureGraphics( String name )
{
currentSink.figureGraphics( name );
}
- /** {@inheritDoc} */
+ @Override
public void figureGraphics( String src, SinkEventAttributes attributes )
{
currentSink.figureGraphics( src, attributes );
}
- /** {@inheritDoc} */
+ @Override
public void figure_()
{
currentSink.figure_();
@@ -381,523 +381,547 @@ public class RandomAccessSink
coreSink.flush();
}
- /** {@inheritDoc} */
+ @Override
public void head()
{
currentSink.head();
}
- /** {@inheritDoc} */
+ @Override
public void head( SinkEventAttributes attributes )
{
currentSink.head( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void head_()
{
currentSink.head_();
}
- /** {@inheritDoc} */
+ @Override
public void horizontalRule()
{
currentSink.horizontalRule();
}
- /** {@inheritDoc} */
+ @Override
public void horizontalRule( SinkEventAttributes attributes )
{
currentSink.horizontalRule( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void italic()
{
currentSink.italic();
}
- /** {@inheritDoc} */
+ @Override
public void italic_()
{
currentSink.italic_();
}
- /** {@inheritDoc} */
+ @Override
public void lineBreak()
{
currentSink.lineBreak();
}
- /** {@inheritDoc} */
+ @Override
public void lineBreak( SinkEventAttributes attributes )
{
currentSink.lineBreak( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void link( String name )
{
currentSink.link( name );
}
- /** {@inheritDoc} */
+ @Override
public void link( String name, SinkEventAttributes attributes )
{
currentSink.link( name, attributes );
}
- /** {@inheritDoc} */
+ @Override
public void link_()
{
currentSink.link_();
}
- /** {@inheritDoc} */
+ @Override
public void list()
{
currentSink.list();
}
- /** {@inheritDoc} */
+ @Override
public void list( SinkEventAttributes attributes )
{
currentSink.list( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void listItem()
{
currentSink.listItem();
}
- /** {@inheritDoc} */
+ @Override
public void listItem( SinkEventAttributes attributes )
{
currentSink.listItem( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void listItem_()
{
currentSink.listItem_();
}
- /** {@inheritDoc} */
+ @Override
public void list_()
{
currentSink.list_();
}
- /** {@inheritDoc} */
+ @Override
public void monospaced()
{
currentSink.monospaced();
}
- /** {@inheritDoc} */
+ @Override
public void monospaced_()
{
currentSink.monospaced_();
}
- /** {@inheritDoc} */
+ @Override
public void nonBreakingSpace()
{
currentSink.nonBreakingSpace();
}
- /** {@inheritDoc} */
+ @Override
public void numberedList( int numbering )
{
currentSink.numberedList( numbering );
}
- /** {@inheritDoc} */
+ @Override
public void numberedList( int numbering, SinkEventAttributes attributes )
{
currentSink.numberedList( numbering, attributes );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem()
{
currentSink.numberedListItem();
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem( SinkEventAttributes attributes )
{
currentSink.numberedListItem( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem_()
{
currentSink.numberedListItem_();
}
- /** {@inheritDoc} */
+ @Override
public void numberedList_()
{
currentSink.numberedList_();
}
- /** {@inheritDoc} */
+ @Override
public void pageBreak()
{
currentSink.pageBreak();
}
- /** {@inheritDoc} */
+ @Override
public void paragraph()
{
currentSink.paragraph();
}
- /** {@inheritDoc} */
+ @Override
public void paragraph( SinkEventAttributes attributes )
{
currentSink.paragraph( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void paragraph_()
{
currentSink.paragraph_();
}
- /** {@inheritDoc} */
+ @Override
public void rawText( String text )
{
currentSink.rawText( text );
}
- /** {@inheritDoc} */
+ @Override
public void section( int level, SinkEventAttributes attributes )
{
currentSink.section( level, attributes );
}
- /** {@inheritDoc} */
+ @Override
public void section1()
{
currentSink.section1();
}
- /** {@inheritDoc} */
+ @Override
public void section1_()
{
currentSink.section1_();
}
- /** {@inheritDoc} */
+ @Override
public void section2()
{
currentSink.section2();
}
- /** {@inheritDoc} */
+ @Override
public void section2_()
{
currentSink.section2_();
}
- /** {@inheritDoc} */
+ @Override
public void section3()
{
currentSink.section3();
}
- /** {@inheritDoc} */
+ @Override
public void section3_()
{
currentSink.section3_();
}
- /** {@inheritDoc} */
+ @Override
public void section4()
{
currentSink.section4();
}
- /** {@inheritDoc} */
+ @Override
public void section4_()
{
currentSink.section4_();
}
- /** {@inheritDoc} */
+ @Override
public void section5()
{
currentSink.section5();
}
- /** {@inheritDoc} */
+ @Override
public void section5_()
{
currentSink.section5_();
}
- /** {@inheritDoc} */
+ @Override
+ public void section6()
+ {
+ currentSink.section5();
+ }
+
+ @Override
+ public void section6_()
+ {
+ currentSink.section5_();
+ }
+
+ @Override
public void sectionTitle()
{
currentSink.sectionTitle();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle( int level, SinkEventAttributes attributes )
{
currentSink.sectionTitle( level, attributes );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle1()
{
currentSink.sectionTitle1();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle1_()
{
currentSink.sectionTitle1_();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle2()
{
currentSink.sectionTitle2();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle2_()
{
currentSink.sectionTitle2_();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle3()
{
currentSink.sectionTitle3();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle3_()
{
currentSink.sectionTitle3_();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle4()
{
currentSink.sectionTitle4();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle4_()
{
currentSink.sectionTitle4_();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle5()
{
currentSink.sectionTitle5();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle5_()
{
currentSink.sectionTitle5_();
}
- /** {@inheritDoc} */
+ @Override
+ public void sectionTitle6()
+ {
+ currentSink.sectionTitle5();
+ }
+
+ @Override
+ public void sectionTitle6_()
+ {
+ currentSink.sectionTitle5_();
+ }
+
+ @Override
public void sectionTitle_()
{
currentSink.sectionTitle_();
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle_( int level )
{
currentSink.sectionTitle_( level );
}
- /** {@inheritDoc} */
+ @Override
public void section_( int level )
{
currentSink.section_( level );
}
- /** {@inheritDoc} */
+ @Override
public void table()
{
currentSink.table();
}
- /** {@inheritDoc} */
+ @Override
public void table( SinkEventAttributes attributes )
{
currentSink.table( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption()
{
currentSink.tableCaption();
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption( SinkEventAttributes attributes )
{
currentSink.tableCaption( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption_()
{
currentSink.tableCaption_();
}
- /** {@inheritDoc} */
+ @Override
public void tableCell()
{
currentSink.tableCell();
}
- /** {@inheritDoc} */
+ @Override
public void tableCell( String width )
{
currentSink.tableCell( width );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell( SinkEventAttributes attributes )
{
currentSink.tableCell( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell_()
{
currentSink.tableCell_();
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell()
{
currentSink.tableHeaderCell();
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell( String width )
{
currentSink.tableHeaderCell( width );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell( SinkEventAttributes attributes )
{
currentSink.tableHeaderCell( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell_()
{
currentSink.tableHeaderCell_();
}
- /** {@inheritDoc} */
+ @Override
public void tableRow()
{
currentSink.tableRow();
}
- /** {@inheritDoc} */
+ @Override
public void tableRow( SinkEventAttributes attributes )
{
currentSink.tableRow( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void tableRow_()
{
currentSink.tableRow_();
}
- /** {@inheritDoc} */
+ @Override
public void tableRows( int[] justification, boolean grid )
{
currentSink.tableRows( justification, grid );
}
- /** {@inheritDoc} */
+ @Override
public void tableRows_()
{
currentSink.tableRows_();
}
- /** {@inheritDoc} */
+ @Override
public void table_()
{
currentSink.table_();
}
- /** {@inheritDoc} */
+ @Override
public void text( String text )
{
currentSink.text( text );
}
- /** {@inheritDoc} */
+ @Override
public void text( String text, SinkEventAttributes attributes )
{
currentSink.text( text, attributes );
}
- /** {@inheritDoc} */
+ @Override
public void title()
{
currentSink.title();
}
- /** {@inheritDoc} */
+ @Override
public void title( SinkEventAttributes attributes )
{
currentSink.title( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void title_()
{
currentSink.title_();
}
- /** {@inheritDoc} */
+ @Override
public void unknown( String name, Object[] requiredParams, SinkEventAttributes attributes )
{
currentSink.unknown( name, requiredParams, attributes );
}
- /** {@inheritDoc} */
+ @Override
public void verbatim( boolean boxed )
{
currentSink.verbatim( boxed );
}
- /** {@inheritDoc} */
+ @Override
public void verbatim( SinkEventAttributes attributes )
{
currentSink.verbatim( attributes );
}
- /** {@inheritDoc} */
+ @Override
public void verbatim_()
{
currentSink.verbatim_();
}
- /** {@inheritDoc} */
+ @Override
public void enableLogging( Log log )
{
currentSink.enableLogging( log );
Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/SinkAdapter.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/SinkAdapter.java?rev=1726565&r1=1726564&r2=1726565&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/SinkAdapter.java (original)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/SinkAdapter.java Sun Jan 24 21:10:19 2016
@@ -34,576 +34,600 @@ import org.apache.maven.doxia.sink.SinkE
public class SinkAdapter
extends AbstractSink
{
- /** {@inheritDoc} */
+ @Override
public void head()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void head_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void body()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void body_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void section1()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void section1_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void section2()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void section2_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void section3()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void section3_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void section4()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void section4_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void section5()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void section5_()
{
// nop
}
+
+ @Override
+ public void section6()
+ {
+ // nop
+ }
+
+ @Override
+ public void section6_()
+ {
+ // nop
+ }
- /** {@inheritDoc} */
+ @Override
public void list()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void list_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void listItem()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void listItem_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void numberedList( int numbering )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void numberedList_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void definitionList()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void definitionList_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void definition()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void definition_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void figure()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void figure_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void table()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void table_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableRows( int[] justification, boolean grid )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableRows_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableRow()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableRow_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void title()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void title_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void author()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void author_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void date()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void date_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle1()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle1_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle2()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle2_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle3()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle3_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle4()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle4_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle5()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle5_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
+ public void sectionTitle6()
+ {
+ // nop
+ }
+
+ @Override
+ public void sectionTitle6_()
+ {
+ // nop
+ }
+
+ @Override
public void paragraph()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void paragraph_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void verbatim( boolean boxed )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void verbatim_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableCell()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableCell( String width )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableCell_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell( String width )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void figureGraphics( String name )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void horizontalRule()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void pageBreak()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void anchor( String name )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void anchor_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void link( String name )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void link_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void italic()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void italic_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void bold()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void bold_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void monospaced()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void monospaced_()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void lineBreak()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void nonBreakingSpace()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void text( String text )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void rawText( String text )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void comment( String comment )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void flush()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void close()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void head( SinkEventAttributes attributes )
{
head();
}
- /** {@inheritDoc} */
+ @Override
public void title( SinkEventAttributes attributes )
{
title();
}
- /** {@inheritDoc} */
+ @Override
public void author( SinkEventAttributes attributes )
{
author();
}
- /** {@inheritDoc} */
+ @Override
public void date( SinkEventAttributes attributes )
{
date();
}
- /** {@inheritDoc} */
+ @Override
public void body( SinkEventAttributes attributes )
{
body();
}
- /** {@inheritDoc} */
+ @Override
public void section( int level, SinkEventAttributes attributes )
{
if ( level == SECTION_LEVEL_1 )
@@ -628,7 +652,7 @@ public class SinkAdapter
}
}
- /** {@inheritDoc} */
+ @Override
public void section_( int level )
{
if ( level == SECTION_LEVEL_1 )
@@ -653,7 +677,7 @@ public class SinkAdapter
}
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle( int level, SinkEventAttributes attributes )
{
if ( level == SECTION_LEVEL_1 )
@@ -678,7 +702,7 @@ public class SinkAdapter
}
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle_( int level )
{
if ( level == SECTION_LEVEL_1 )
@@ -703,109 +727,109 @@ public class SinkAdapter
}
}
- /** {@inheritDoc} */
+ @Override
public void list( SinkEventAttributes attributes )
{
list();
}
- /** {@inheritDoc} */
+ @Override
public void listItem( SinkEventAttributes attributes )
{
listItem();
}
- /** {@inheritDoc} */
+ @Override
public void numberedList( int numbering, SinkEventAttributes attributes )
{
numberedList( numbering );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem( SinkEventAttributes attributes )
{
numberedListItem();
}
- /** {@inheritDoc} */
+ @Override
public void definitionList( SinkEventAttributes attributes )
{
definitionList();
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem( SinkEventAttributes attributes )
{
definitionListItem();
}
- /** {@inheritDoc} */
+ @Override
public void definition( SinkEventAttributes attributes )
{
definition();
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm( SinkEventAttributes attributes )
{
definedTerm();
}
- /** {@inheritDoc} */
+ @Override
public void figure( SinkEventAttributes attributes )
{
figure();
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption( SinkEventAttributes attributes )
{
figureCaption();
}
- /** {@inheritDoc} */
+ @Override
public void figureGraphics( String src, SinkEventAttributes attributes )
{
figureGraphics( src );
}
- /** {@inheritDoc} */
+ @Override
public void table( SinkEventAttributes attributes )
{
table();
}
- /** {@inheritDoc} */
+ @Override
public void tableRow( SinkEventAttributes attributes )
{
tableRow();
}
- /** {@inheritDoc} */
+ @Override
public void tableCell( SinkEventAttributes attributes )
{
tableCell();
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell( SinkEventAttributes attributes )
{
tableHeaderCell();
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption( SinkEventAttributes attributes )
{
tableCaption();
}
- /** {@inheritDoc} */
+ @Override
public void paragraph( SinkEventAttributes attributes )
{
paragraph();
}
- /** {@inheritDoc} */
+ @Override
public void verbatim( SinkEventAttributes attributes )
{
MutableAttributeSet atts = SinkUtils.filterAttributes( attributes, SinkUtils.SINK_VERBATIM_ATTRIBUTES );
@@ -820,37 +844,37 @@ public class SinkAdapter
verbatim( boxed );
}
- /** {@inheritDoc} */
+ @Override
public void horizontalRule( SinkEventAttributes attributes )
{
horizontalRule();
}
- /** {@inheritDoc} */
+ @Override
public void anchor( String name, SinkEventAttributes attributes )
{
anchor( name );
}
- /** {@inheritDoc} */
+ @Override
public void link( String name, SinkEventAttributes attributes )
{
link( name );
}
- /** {@inheritDoc} */
+ @Override
public void lineBreak( SinkEventAttributes attributes )
{
lineBreak();
}
- /** {@inheritDoc} */
+ @Override
public void text( String text, SinkEventAttributes attributes )
{
text( text );
}
- /** {@inheritDoc} */
+ @Override
public void unknown( String name, Object[] requiredParams, SinkEventAttributes attributes )
{
// nop
Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/SinkEventTestingSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/SinkEventTestingSink.java?rev=1726565&r1=1726564&r2=1726565&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/SinkEventTestingSink.java (original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/SinkEventTestingSink.java Sun Jan 24 21:10:19 2016
@@ -59,740 +59,764 @@ public class SinkEventTestingSink
// sink methods
//
- /** {@inheritDoc} */
+ @Override
public void head()
{
addEvent( "head" );
}
- /** {@inheritDoc} */
+ @Override
public void head_()
{
addEvent( "head_" );
}
- /** {@inheritDoc} */
+ @Override
public void body()
{
addEvent( "body" );
}
- /** {@inheritDoc} */
+ @Override
public void body_()
{
addEvent( "body_" );
}
- /** {@inheritDoc} */
+ @Override
public void section1()
{
addEvent( "section1" );
}
- /** {@inheritDoc} */
+ @Override
public void section1_()
{
addEvent( "section1_" );
}
- /** {@inheritDoc} */
+ @Override
public void section2()
{
addEvent( "section2" );
}
- /** {@inheritDoc} */
+ @Override
public void section2_()
{
addEvent( "section2_" );
}
- /** {@inheritDoc} */
+ @Override
public void section3()
{
addEvent( "section3" );
}
- /** {@inheritDoc} */
+ @Override
public void section3_()
{
addEvent( "section3_" );
}
- /** {@inheritDoc} */
+ @Override
public void section4()
{
addEvent( "section4" );
}
- /** {@inheritDoc} */
+ @Override
public void section4_()
{
addEvent( "section4_" );
}
- /** {@inheritDoc} */
+ @Override
public void section5()
{
addEvent( "section5" );
}
- /** {@inheritDoc} */
+ @Override
public void section5_()
{
addEvent( "section5_" );
}
- /** {@inheritDoc} */
+ @Override
+ public void section6()
+ {
+ addEvent( "section6" );
+ }
+
+ @Override
+ public void section6_()
+ {
+ addEvent( "section6_" );
+ }
+
+ @Override
public void list()
{
addEvent( "list" );
}
- /** {@inheritDoc} */
+ @Override
public void list_()
{
addEvent( "list_" );
}
- /** {@inheritDoc} */
+ @Override
public void listItem()
{
addEvent( "listItem" );
}
- /** {@inheritDoc} */
+ @Override
public void listItem_()
{
addEvent( "listItem_" );
}
- /** {@inheritDoc} */
+ @Override
public void numberedList( int numbering )
{
addEvent( "numberedList", new Object[] {new Integer( numbering )} );
}
- /** {@inheritDoc} */
+ @Override
public void numberedList_()
{
addEvent( "numberedList_" );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem()
{
addEvent( "numberedListItem" );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem_()
{
addEvent( "numberedListItem_" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionList()
{
addEvent( "definitionList" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionList_()
{
addEvent( "definitionList_" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem()
{
addEvent( "definitionListItem" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem_()
{
addEvent( "definitionListItem_" );
}
- /** {@inheritDoc} */
+ @Override
public void definition()
{
addEvent( "definition" );
}
- /** {@inheritDoc} */
+ @Override
public void definition_()
{
addEvent( "definition_" );
}
- /** {@inheritDoc} */
+ @Override
public void figure()
{
addEvent( "figure" );
}
- /** {@inheritDoc} */
+ @Override
public void figure_()
{
addEvent( "figure_" );
}
- /** {@inheritDoc} */
+ @Override
public void table()
{
addEvent( "table" );
}
- /** {@inheritDoc} */
+ @Override
public void table_()
{
addEvent( "table_" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRows( int[] justification, boolean grid )
{
addEvent( "tableRows", new Object[] {justification, new Boolean( grid )} );
}
- /** {@inheritDoc} */
+ @Override
public void tableRows_()
{
addEvent( "tableRows_" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRow()
{
addEvent( "tableRow" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRow_()
{
addEvent( "tableRow_" );
}
- /** {@inheritDoc} */
+ @Override
public void title()
{
addEvent( "title" );
}
- /** {@inheritDoc} */
+ @Override
public void title_()
{
addEvent( "title_" );
}
- /** {@inheritDoc} */
+ @Override
public void author()
{
addEvent( "author" );
}
- /** {@inheritDoc} */
+ @Override
public void author_()
{
addEvent( "author_" );
}
- /** {@inheritDoc} */
+ @Override
public void date()
{
addEvent( "date" );
}
- /** {@inheritDoc} */
+ @Override
public void date_()
{
addEvent( "date_" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle()
{
addEvent( "sectionTitle" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle_()
{
addEvent( "sectionTitle_" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle1()
{
addEvent( "sectionTitle1" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle1_()
{
addEvent( "sectionTitle1_" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle2()
{
addEvent( "sectionTitle2" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle2_()
{
addEvent( "sectionTitle2_" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle3()
{
addEvent( "sectionTitle3" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle3_()
{
addEvent( "sectionTitle3_" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle4()
{
addEvent( "sectionTitle4" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle4_()
{
addEvent( "sectionTitle4_" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle5()
{
addEvent( "sectionTitle5" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle5_()
{
addEvent( "sectionTitle5_" );
}
- /** {@inheritDoc} */
+ @Override
+ public void sectionTitle6()
+ {
+ addEvent( "sectionTitle6" );
+ }
+
+ @Override
+ public void sectionTitle6_()
+ {
+ addEvent( "sectionTitle6_" );
+ }
+
+ @Override
public void paragraph()
{
addEvent( "paragraph" );
}
- /** {@inheritDoc} */
+ @Override
public void paragraph_()
{
addEvent( "paragraph_" );
}
- /** {@inheritDoc} */
+ @Override
public void verbatim( boolean boxed )
{
addEvent( "verbatim", new Object[] {new Boolean( boxed )} );
}
- /** {@inheritDoc} */
+ @Override
public void verbatim_()
{
addEvent( "verbatim_" );
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm()
{
addEvent( "definedTerm" );
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm_()
{
addEvent( "definedTerm_" );
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption()
{
addEvent( "figureCaption" );
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption_()
{
addEvent( "figureCaption_" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell()
{
addEvent( "tableCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell( String width )
{
addEvent( "tableCell", new Object[] {width} );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell_()
{
addEvent( "tableCell_" );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell()
{
addEvent( "tableHeaderCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell( String width )
{
addEvent( "tableHeaderCell", new Object[] {width} );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell_()
{
addEvent( "tableHeaderCell_" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption()
{
addEvent( "tableCaption" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption_()
{
addEvent( "tableCaption_" );
}
- /** {@inheritDoc} */
+ @Override
public void figureGraphics( String name )
{
addEvent( "figureGraphics", new Object[] {name} );
}
- /** {@inheritDoc} */
+ @Override
public void horizontalRule()
{
addEvent( "horizontalRule" );
}
- /** {@inheritDoc} */
+ @Override
public void pageBreak()
{
addEvent( "pageBreak" );
}
- /** {@inheritDoc} */
+ @Override
public void anchor( String name )
{
addEvent( "anchor", new Object[] {name} );
}
- /** {@inheritDoc} */
+ @Override
public void anchor_()
{
addEvent( "anchor_" );
}
- /** {@inheritDoc} */
+ @Override
public void link( String name )
{
addEvent( "link", new Object[] {name} );
}
- /** {@inheritDoc} */
+ @Override
public void link_()
{
addEvent( "link_" );
}
- /** {@inheritDoc} */
+ @Override
public void italic()
{
addEvent( "italic" );
}
- /** {@inheritDoc} */
+ @Override
public void italic_()
{
addEvent( "italic_" );
}
- /** {@inheritDoc} */
+ @Override
public void bold()
{
addEvent( "bold" );
}
- /** {@inheritDoc} */
+ @Override
public void bold_()
{
addEvent( "bold_" );
}
- /** {@inheritDoc} */
+ @Override
public void monospaced()
{
addEvent( "monospaced" );
}
- /** {@inheritDoc} */
+ @Override
public void monospaced_()
{
addEvent( "monospaced_" );
}
- /** {@inheritDoc} */
+ @Override
public void lineBreak()
{
addEvent( "lineBreak" );
}
- /** {@inheritDoc} */
+ @Override
public void nonBreakingSpace()
{
addEvent( "nonBreakingSpace" );
}
- /** {@inheritDoc} */
+ @Override
public void text( String text )
{
addEvent( "text", new Object[] {text} );
}
- /** {@inheritDoc} */
+ @Override
public void rawText( String text )
{
addEvent( "rawText", new Object[] {text} );
}
- /** {@inheritDoc} */
+ @Override
public void comment( String comment )
{
addEvent( "comment", new Object[] {comment} );
}
- /** {@inheritDoc} */
+ @Override
public void flush()
{
addEvent( "flush" );
}
- /** {@inheritDoc} */
+ @Override
public void close()
{
addEvent( "close" );
}
- /** {@inheritDoc} */
+ @Override
public void head( SinkEventAttributes attributes )
{
addEvent( "head", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void title( SinkEventAttributes attributes )
{
addEvent( "title", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void author( SinkEventAttributes attributes )
{
addEvent( "author", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void date( SinkEventAttributes attributes )
{
addEvent( "date", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void body( SinkEventAttributes attributes )
{
addEvent( "body", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void section( int level, SinkEventAttributes attributes )
{
addEvent( "section" + level, new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void section_( int level )
{
addEvent( "section" + level + "_" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle( int level, SinkEventAttributes attributes )
{
addEvent( "sectionTitle" + level, new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle_( int level )
{
addEvent( "sectionTitle" + level + "_" );
}
- /** {@inheritDoc} */
+ @Override
public void list( SinkEventAttributes attributes )
{
addEvent( "list", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void listItem( SinkEventAttributes attributes )
{
addEvent( "listItem", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void numberedList( int numbering, SinkEventAttributes attributes )
{
addEvent( "numberedList", new Object[] {new Integer( numbering ), attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem( SinkEventAttributes attributes )
{
addEvent( "numberedListItem", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void definitionList( SinkEventAttributes attributes )
{
addEvent( "definitionList", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem( SinkEventAttributes attributes )
{
addEvent( "definitionListItem", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void definition( SinkEventAttributes attributes )
{
addEvent( "definition", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm( SinkEventAttributes attributes )
{
addEvent( "definedTerm", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void figure( SinkEventAttributes attributes )
{
addEvent( "figure", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption( SinkEventAttributes attributes )
{
addEvent( "figureCaption", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void figureGraphics( String src, SinkEventAttributes attributes )
{
addEvent( "figureGraphics", new Object[] {src, attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void table( SinkEventAttributes attributes )
{
addEvent( "table", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void tableRow( SinkEventAttributes attributes )
{
addEvent( "tableRow", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell( SinkEventAttributes attributes )
{
addEvent( "tableCell", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell( SinkEventAttributes attributes )
{
addEvent( "tableHeaderCell", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption( SinkEventAttributes attributes )
{
addEvent( "tableCaption", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void paragraph( SinkEventAttributes attributes )
{
addEvent( "paragraph", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void verbatim( SinkEventAttributes attributes )
{
addEvent( "verbatim", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void horizontalRule( SinkEventAttributes attributes )
{
addEvent( "horizontalRule", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void anchor( String name, SinkEventAttributes attributes )
{
addEvent( "anchor", new Object[] {name, attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void link( String name, SinkEventAttributes attributes )
{
addEvent( "link", new Object[] {name, attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void lineBreak( SinkEventAttributes attributes )
{
addEvent( "lineBreak", new Object[] {attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void text( String text, SinkEventAttributes attributes )
{
addEvent( "text", new Object[] {text, attributes} );
}
- /** {@inheritDoc} */
+ @Override
public void unknown( String name, Object[] requiredParams, SinkEventAttributes attributes )
{
addEvent( "unknown", new Object[] {name, requiredParams, attributes} );
Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/TextSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/TextSink.java?rev=1726565&r1=1726564&r2=1726565&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/TextSink.java (original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/TextSink.java Sun Jan 24 21:10:19 2016
@@ -46,535 +46,559 @@ public class TextSink
}
- /** {@inheritDoc} */
+ @Override
public void head()
{
writeln( "begin:head" );
}
- /** {@inheritDoc} */
+ @Override
public void head_()
{
writeln( "end:head" );
}
- /** {@inheritDoc} */
+ @Override
public void body()
{
writeln( "begin:body" );
}
- /** {@inheritDoc} */
+ @Override
public void body_()
{
writeln( "end:body" );
}
- /** {@inheritDoc} */
+ @Override
public void section1()
{
write( "begin:section1" );
}
- /** {@inheritDoc} */
+ @Override
public void section1_()
{
writeln( "end:section1" );
}
- /** {@inheritDoc} */
+ @Override
public void section2()
{
write( "begin:section2" );
}
- /** {@inheritDoc} */
+ @Override
public void section2_()
{
writeln( "end:section2" );
}
- /** {@inheritDoc} */
+ @Override
public void section3()
{
write( "begin:section3" );
}
- /** {@inheritDoc} */
+ @Override
public void section3_()
{
writeln( "end:section3" );
}
- /** {@inheritDoc} */
+ @Override
public void section4()
{
write( "begin:section4" );
}
- /** {@inheritDoc} */
+ @Override
public void section4_()
{
writeln( "end:section4" );
}
- /** {@inheritDoc} */
+ @Override
public void section5()
{
write( "begin:section5" );
}
- /** {@inheritDoc} */
+ @Override
public void section5_()
{
writeln( "end:section5" );
}
- /** {@inheritDoc} */
+ @Override
+ public void section6()
+ {
+ write( "begin:section6" );
+ }
+
+ @Override
+ public void section6_()
+ {
+ writeln( "end:section6" );
+ }
+
+ @Override
public void list()
{
writeln( "begin:list" );
}
- /** {@inheritDoc} */
+ @Override
public void list_()
{
writeln( "end:list" );
}
- /** {@inheritDoc} */
+ @Override
public void listItem()
{
write( "begin:listItem" );
}
- /** {@inheritDoc} */
+ @Override
public void listItem_()
{
writeln( "end:listItem" );
}
- /** {@inheritDoc} */
+ @Override
public void numberedList( int numbering )
{
writeln( "begin:numberedList, numbering: " + numbering );
}
- /** {@inheritDoc} */
+ @Override
public void numberedList_()
{
writeln( "end:numberedList" );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem()
{
write( "begin:numberedListItem" );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem_()
{
writeln( "end:numberedListItem" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionList()
{
writeln( "begin:definitionList" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionList_()
{
writeln( "end:definitionList" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem()
{
write( "begin:definitionListItem" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem_()
{
writeln( "end:definitionListItem" );
}
- /** {@inheritDoc} */
+ @Override
public void definition()
{
write( "begin:definition" );
}
- /** {@inheritDoc} */
+ @Override
public void definition_()
{
writeln( "end:definition" );
}
- /** {@inheritDoc} */
+ @Override
public void figure()
{
write( "begin:figure" );
}
- /** {@inheritDoc} */
+ @Override
public void figure_()
{
writeln( "end:figure" );
}
- /** {@inheritDoc} */
+ @Override
public void table()
{
writeln( "begin:table" );
}
- /** {@inheritDoc} */
+ @Override
public void table_()
{
writeln( "end:table" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRows( int[] justification, boolean grid )
{
writeln( "begin:tableRows" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRows_()
{
writeln( "end:tableRows" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRow()
{
write( "begin:tableRow" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRow_()
{
writeln( "end:tableRow" );
}
- /** {@inheritDoc} */
+ @Override
public void title()
{
write( "begin:title" );
}
- /** {@inheritDoc} */
+ @Override
public void title_()
{
writeln( "end:title" );
}
- /** {@inheritDoc} */
+ @Override
public void author()
{
write( "begin:author" );
}
- /** {@inheritDoc} */
+ @Override
public void author_()
{
writeln( "end:author" );
}
- /** {@inheritDoc} */
+ @Override
public void date()
{
write( "begin:date" );
}
- /** {@inheritDoc} */
+ @Override
public void date_()
{
writeln( "end:date" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle()
{
write( "begin:sectionTitle" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle_()
{
writeln( "end:sectionTitle" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle1()
{
write( "begin:sectionTitle1" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle1_()
{
writeln( "end:sectionTitle1" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle2()
{
write( "begin:sectionTitle2" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle2_()
{
writeln( "end:sectionTitle2" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle3()
{
write( "begin:sectionTitle3" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle3_()
{
writeln( "end:sectionTitle3" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle4()
{
write( "begin:sectionTitle4" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle4_()
{
writeln( "end:sectionTitle4" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle5()
{
write( "begin:sectionTitle5" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle5_()
{
writeln( "end:sectionTitle5" );
}
- /** {@inheritDoc} */
+ @Override
+ public void sectionTitle6()
+ {
+ write( "begin:sectionTitle6" );
+ }
+
+ @Override
+ public void sectionTitle6_()
+ {
+ writeln( "end:sectionTitle6" );
+ }
+
+ @Override
public void paragraph()
{
write( "begin:paragraph" );
}
- /** {@inheritDoc} */
+ @Override
public void paragraph_()
{
writeln( "end:paragraph" );
}
- /** {@inheritDoc} */
+ @Override
public void verbatim( boolean boxed )
{
write( "begin:verbatim, boxed: " + boxed );
}
- /** {@inheritDoc} */
+ @Override
public void verbatim_()
{
writeln( "end:verbatim" );
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm()
{
write( "begin:definedTerm" );
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm_()
{
writeln( "end:definedTerm" );
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption()
{
write( "begin:figureCaption" );
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption_()
{
writeln( "end:figureCaption" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell()
{
write( "begin:tableCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell( String width )
{
write( "begin:tableCell, width: " + width );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell_()
{
writeln( "end:tableCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell()
{
write( "begin:tableHeaderCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell( String width )
{
write( "begin:tableHeaderCell, width: " + width );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell_()
{
writeln( "end:tableHeaderCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption()
{
write( "begin:tableCaption" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption_()
{
writeln( "end:tableCaption" );
}
- /** {@inheritDoc} */
+ @Override
public void figureGraphics( String name )
{
write( "figureGraphics, name: " + name );
}
- /** {@inheritDoc} */
+ @Override
public void horizontalRule()
{
write( "horizontalRule" );
}
- /** {@inheritDoc} */
+ @Override
public void pageBreak()
{
write( "pageBreak" );
}
- /** {@inheritDoc} */
+ @Override
public void anchor( String name )
{
write( "begin:anchor, name: " + name );
}
- /** {@inheritDoc} */
+ @Override
public void anchor_()
{
writeln( "end:anchor" );
}
- /** {@inheritDoc} */
+ @Override
public void link( String name )
{
write( "begin:link, name: " + name );
}
- /** {@inheritDoc} */
+ @Override
public void link_()
{
writeln( "end:link" );
}
- /** {@inheritDoc} */
+ @Override
public void italic()
{
write( "begin:italic" );
}
- /** {@inheritDoc} */
+ @Override
public void italic_()
{
writeln( "end:italic" );
}
- /** {@inheritDoc} */
+ @Override
public void bold()
{
write( "begin:bold" );
}
- /** {@inheritDoc} */
+ @Override
public void bold_()
{
writeln( "end:bold" );
}
- /** {@inheritDoc} */
+ @Override
public void monospaced()
{
write( "begin:monospaced" );
}
- /** {@inheritDoc} */
+ @Override
public void monospaced_()
{
writeln( "end:monospaced" );
}
- /** {@inheritDoc} */
+ @Override
public void lineBreak()
{
write( "lineBreak" );
}
- /** {@inheritDoc} */
+ @Override
public void nonBreakingSpace()
{
write( "nonBreakingSpace" );
}
- /** {@inheritDoc} */
+ @Override
public void text( String text )
{
write( "text: " + text );
}
- /** {@inheritDoc} */
+ @Override
public void rawText( String text )
{
write( "rawText: " + text );
}
- /** {@inheritDoc} */
+ @Override
public void comment( String comment )
{
write( "comment: " + comment );
}
- /** {@inheritDoc} */
+ @Override
public void flush()
{
try
@@ -587,7 +611,7 @@ public class TextSink
}
}
- /** {@inheritDoc} */
+ @Override
public void close()
{
try
@@ -600,163 +624,163 @@ public class TextSink
}
}
- /** {@inheritDoc} */
+ @Override
public void head( SinkEventAttributes attributes )
{
head();
}
- /** {@inheritDoc} */
+ @Override
public void title( SinkEventAttributes attributes )
{
title();
}
- /** {@inheritDoc} */
+ @Override
public void author( SinkEventAttributes attributes )
{
author();
}
- /** {@inheritDoc} */
+ @Override
public void date( SinkEventAttributes attributes )
{
date();
}
- /** {@inheritDoc} */
+ @Override
public void body( SinkEventAttributes attributes )
{
body();
}
- /** {@inheritDoc} */
+ @Override
public void section( int level, SinkEventAttributes attributes )
{
write( "begin:section" + level );
}
- /** {@inheritDoc} */
+ @Override
public void section_( int level )
{
writeln( "end:section" + level );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle( int level, SinkEventAttributes attributes )
{
write( "begin:sectionTitle" + level );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle_( int level )
{
writeln( "end:sectionTitle" + level );
}
- /** {@inheritDoc} */
+ @Override
public void list( SinkEventAttributes attributes )
{
list();
}
- /** {@inheritDoc} */
+ @Override
public void listItem( SinkEventAttributes attributes )
{
listItem();
}
- /** {@inheritDoc} */
+ @Override
public void numberedList( int numbering, SinkEventAttributes attributes )
{
numberedList( numbering );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem( SinkEventAttributes attributes )
{
numberedListItem();
}
- /** {@inheritDoc} */
+ @Override
public void definitionList( SinkEventAttributes attributes )
{
definitionList();
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem( SinkEventAttributes attributes )
{
definitionListItem();
}
- /** {@inheritDoc} */
+ @Override
public void definition( SinkEventAttributes attributes )
{
definition();
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm( SinkEventAttributes attributes )
{
definedTerm();
}
- /** {@inheritDoc} */
+ @Override
public void figure( SinkEventAttributes attributes )
{
write( "begin:figure" + SinkUtils.getAttributeString( attributes ) );
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption( SinkEventAttributes attributes )
{
figureCaption();
}
- /** {@inheritDoc} */
+ @Override
public void figureGraphics( String src, SinkEventAttributes attributes )
{
figureGraphics( src );
}
- /** {@inheritDoc} */
+ @Override
public void table( SinkEventAttributes attributes )
{
table();
}
- /** {@inheritDoc} */
+ @Override
public void tableRow( SinkEventAttributes attributes )
{
tableRow();
}
- /** {@inheritDoc} */
+ @Override
public void tableCell( SinkEventAttributes attributes )
{
tableCell();
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell( SinkEventAttributes attributes )
{
tableHeaderCell();
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption( SinkEventAttributes attributes )
{
tableCaption();
}
- /** {@inheritDoc} */
+ @Override
public void paragraph( SinkEventAttributes attributes )
{
paragraph();
}
- /** {@inheritDoc} */
+ @Override
public void verbatim( SinkEventAttributes attributes )
{
boolean boxed = false;
@@ -770,37 +794,37 @@ public class TextSink
verbatim( boxed );
}
- /** {@inheritDoc} */
+ @Override
public void horizontalRule( SinkEventAttributes attributes )
{
horizontalRule();
}
- /** {@inheritDoc} */
+ @Override
public void anchor( String name, SinkEventAttributes attributes )
{
anchor( name );
}
- /** {@inheritDoc} */
+ @Override
public void link( String name, SinkEventAttributes attributes )
{
link( name );
}
- /** {@inheritDoc} */
+ @Override
public void lineBreak( SinkEventAttributes attributes )
{
lineBreak();
}
- /** {@inheritDoc} */
+ @Override
public void text( String text, SinkEventAttributes attributes )
{
text( text );
}
- /** {@inheritDoc} */
+ @Override
public void unknown( String name, Object[] requiredParams, SinkEventAttributes attributes )
{
write( "unknown: " + name );
Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/WellformednessCheckingSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/WellformednessCheckingSink.java?rev=1726565&r1=1726564&r2=1726565&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/WellformednessCheckingSink.java (original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/WellformednessCheckingSink.java Sun Jan 24 21:10:19 2016
@@ -41,541 +41,566 @@ public class WellformednessCheckingSink
private final List<String> errors = new LinkedList<String>();
- /** {@inheritDoc} */
+ @Override
public void head()
{
startElement( "head" );
}
- /** {@inheritDoc} */
+ @Override
public void head_()
{
checkWellformedness( "head" );
}
- /** {@inheritDoc} */
+ @Override
public void body()
{
startElement( "body" );
}
- /** {@inheritDoc} */
+ @Override
public void body_()
{
checkWellformedness( "body" );
}
- /** {@inheritDoc} */
+ @Override
public void section1()
{
startElement( "section1" );
}
- /** {@inheritDoc} */
+ @Override
public void section1_()
{
checkWellformedness( "section1" );
}
- /** {@inheritDoc} */
+ @Override
public void section2()
{
startElement( "section2" );
}
- /** {@inheritDoc} */
+ @Override
public void section2_()
{
checkWellformedness( "section2" );
}
- /** {@inheritDoc} */
+ @Override
public void section3()
{
startElement( "section3" );
}
- /** {@inheritDoc} */
+ @Override
public void section3_()
{
checkWellformedness( "section3" );
}
- /** {@inheritDoc} */
+ @Override
public void section4()
{
startElement( "section4" );
}
- /** {@inheritDoc} */
+ @Override
public void section4_()
{
checkWellformedness( "section4" );
}
- /** {@inheritDoc} */
+ @Override
public void section5()
{
startElement( "section5" );
}
- /** {@inheritDoc} */
+ @Override
public void section5_()
{
checkWellformedness( "section5" );
}
- /** {@inheritDoc} */
+ @Override
+ public void section6()
+ {
+ startElement( "section6" );
+ }
+
+ @Override
+ public void section6_()
+ {
+ checkWellformedness( "section6" );
+ }
+
+ @Override
public void list()
{
startElement( "list" );
}
- /** {@inheritDoc} */
+ @Override
public void list_()
{
checkWellformedness( "list" );
}
- /** {@inheritDoc} */
+ @Override
public void listItem()
{
startElement( "listItem" );
}
- /** {@inheritDoc} */
+ @Override
public void listItem_()
{
checkWellformedness( "listItem" );
}
- /** {@inheritDoc} */
+ @Override
public void numberedList( int numbering )
{
startElement( "numberedList" );
}
- /** {@inheritDoc} */
+ @Override
public void numberedList_()
{
checkWellformedness( "numberedList" );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem()
{
startElement( "numberedListItem" );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem_()
{
checkWellformedness( "numberedListItem" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionList()
{
startElement( "definitionList" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionList_()
{
checkWellformedness( "definitionList" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem()
{
startElement( "definitionListItem" );
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem_()
{
checkWellformedness( "definitionListItem" );
}
- /** {@inheritDoc} */
+ @Override
public void definition()
{
startElement( "definition" );
}
- /** {@inheritDoc} */
+ @Override
public void definition_()
{
checkWellformedness( "definition" );
}
- /** {@inheritDoc} */
+ @Override
public void figure()
{
startElement( "figure" );
}
- /** {@inheritDoc} */
+ @Override
public void figure_()
{
checkWellformedness( "figure" );
}
- /** {@inheritDoc} */
+ @Override
public void table()
{
startElement( "table" );
}
- /** {@inheritDoc} */
+ @Override
public void table_()
{
checkWellformedness( "table" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRows( int[] justification, boolean grid )
{
startElement( "tableRows" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRows_()
{
checkWellformedness( "tableRows" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRow()
{
startElement( "tableRow" );
}
- /** {@inheritDoc} */
+ @Override
public void tableRow_()
{
checkWellformedness( "tableRow" );
}
- /** {@inheritDoc} */
+ @Override
public void title()
{
startElement( "title" );
}
- /** {@inheritDoc} */
+ @Override
public void title_()
{
checkWellformedness( "title" );
}
- /** {@inheritDoc} */
+ @Override
public void author()
{
startElement( "author" );
}
- /** {@inheritDoc} */
+ @Override
public void author_()
{
checkWellformedness( "author" );
}
- /** {@inheritDoc} */
+ @Override
public void date()
{
startElement( "date" );
}
- /** {@inheritDoc} */
+ @Override
public void date_()
{
checkWellformedness( "date" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle()
{
startElement( "sectionTitle" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle_()
{
checkWellformedness( "sectionTitle" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle1()
{
startElement( "sectionTitle1" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle1_()
{
checkWellformedness( "sectionTitle1" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle2()
{
startElement( "sectionTitle2" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle2_()
{
checkWellformedness( "sectionTitle2" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle3()
{
startElement( "sectionTitle3" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle3_()
{
checkWellformedness( "sectionTitle3" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle4()
{
startElement( "sectionTitle4" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle4_()
{
checkWellformedness( "sectionTitle4" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle5()
{
startElement( "sectionTitle5" );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle5_()
{
checkWellformedness( "sectionTitle5" );
}
- /** {@inheritDoc} */
+
+ @Override
+ public void sectionTitle6()
+ {
+ startElement( "sectionTitle6" );
+ }
+
+ @Override
+ public void sectionTitle6_()
+ {
+ checkWellformedness( "sectionTitle6" );
+ }
+
+ @Override
public void paragraph()
{
startElement( "paragraph" );
}
- /** {@inheritDoc} */
+ @Override
public void paragraph_()
{
checkWellformedness( "paragraph" );
}
- /** {@inheritDoc} */
+ @Override
public void verbatim( boolean boxed )
{
startElement( "verbatim" );
}
- /** {@inheritDoc} */
+ @Override
public void verbatim_()
{
checkWellformedness( "verbatim" );
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm()
{
startElement( "definedTerm" );
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm_()
{
checkWellformedness( "definedTerm" );
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption()
{
startElement( "figureCaption" );
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption_()
{
checkWellformedness( "figureCaption" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell()
{
startElement( "tableCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell( String width )
{
startElement( "tableCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCell_()
{
checkWellformedness( "tableCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell()
{
startElement( "tableHeaderCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell( String width )
{
startElement( "tableHeaderCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell_()
{
checkWellformedness( "tableHeaderCell" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption()
{
startElement( "tableCaption" );
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption_()
{
checkWellformedness( "tableCaption" );
}
- /** {@inheritDoc} */
+ @Override
public void figureGraphics( String name )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void horizontalRule()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void pageBreak()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void anchor( String name )
{
startElement( "anchor" );
}
- /** {@inheritDoc} */
+ @Override
public void anchor_()
{
checkWellformedness( "anchor" );
}
- /** {@inheritDoc} */
+ @Override
public void link( String name )
{
startElement( "link" );
}
- /** {@inheritDoc} */
+ @Override
public void link_()
{
checkWellformedness( "link" );
}
- /** {@inheritDoc} */
+ @Override
public void italic()
{
startElement( "italic" );
}
- /** {@inheritDoc} */
+ @Override
public void italic_()
{
checkWellformedness( "italic" );
}
- /** {@inheritDoc} */
+ @Override
public void bold()
{
startElement( "bold" );
}
- /** {@inheritDoc} */
+ @Override
public void bold_()
{
checkWellformedness( "bold" );
}
- /** {@inheritDoc} */
+ @Override
public void monospaced()
{
startElement( "monospaced" );
}
- /** {@inheritDoc} */
+ @Override
public void monospaced_()
{
checkWellformedness( "monospaced" );
}
- /** {@inheritDoc} */
+ @Override
public void lineBreak()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void nonBreakingSpace()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void text( String text )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void rawText( String text )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void comment( String comment )
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void flush()
{
// nop
}
- /** {@inheritDoc} */
+ @Override
public void close()
{
this.elements.clear();
@@ -646,199 +671,199 @@ public class WellformednessCheckingSink
elements.push( string );
}
- /** {@inheritDoc} */
+ @Override
public void head( SinkEventAttributes attributes )
{
head();
}
- /** {@inheritDoc} */
+ @Override
public void title( SinkEventAttributes attributes )
{
title();
}
- /** {@inheritDoc} */
+ @Override
public void author( SinkEventAttributes attributes )
{
author();
}
- /** {@inheritDoc} */
+ @Override
public void date( SinkEventAttributes attributes )
{
date();
}
- /** {@inheritDoc} */
+ @Override
public void body( SinkEventAttributes attributes )
{
body();
}
- /** {@inheritDoc} */
+ @Override
public void section( int level, SinkEventAttributes attributes )
{
startElement( "section" + level );
}
- /** {@inheritDoc} */
+ @Override
public void section_( int level )
{
checkWellformedness( "section" + level );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle( int level, SinkEventAttributes attributes )
{
startElement( "sectionTitle" + level );
}
- /** {@inheritDoc} */
+ @Override
public void sectionTitle_( int level )
{
checkWellformedness( "sectionTitle" + level );
}
- /** {@inheritDoc} */
+ @Override
public void list( SinkEventAttributes attributes )
{
list();
}
- /** {@inheritDoc} */
+ @Override
public void listItem( SinkEventAttributes attributes )
{
listItem();
}
- /** {@inheritDoc} */
+ @Override
public void numberedList( int numbering, SinkEventAttributes attributes )
{
numberedList( numbering );
}
- /** {@inheritDoc} */
+ @Override
public void numberedListItem( SinkEventAttributes attributes )
{
numberedListItem();
}
- /** {@inheritDoc} */
+ @Override
public void definitionList( SinkEventAttributes attributes )
{
definitionList();
}
- /** {@inheritDoc} */
+ @Override
public void definitionListItem( SinkEventAttributes attributes )
{
definitionListItem();
}
- /** {@inheritDoc} */
+ @Override
public void definition( SinkEventAttributes attributes )
{
definition();
}
- /** {@inheritDoc} */
+ @Override
public void definedTerm( SinkEventAttributes attributes )
{
definedTerm();
}
- /** {@inheritDoc} */
+ @Override
public void figure( SinkEventAttributes attributes )
{
figure();
}
- /** {@inheritDoc} */
+ @Override
public void figureCaption( SinkEventAttributes attributes )
{
figureCaption();
}
- /** {@inheritDoc} */
+ @Override
public void figureGraphics( String src, SinkEventAttributes attributes )
{
figureGraphics( src );
}
- /** {@inheritDoc} */
+ @Override
public void table( SinkEventAttributes attributes )
{
table();
}
- /** {@inheritDoc} */
+ @Override
public void tableRow( SinkEventAttributes attributes )
{
tableRow();
}
- /** {@inheritDoc} */
+ @Override
public void tableCell( SinkEventAttributes attributes )
{
tableCell();
}
- /** {@inheritDoc} */
+ @Override
public void tableHeaderCell( SinkEventAttributes attributes )
{
tableHeaderCell();
}
- /** {@inheritDoc} */
+ @Override
public void tableCaption( SinkEventAttributes attributes )
{
tableCaption();
}
- /** {@inheritDoc} */
+ @Override
public void paragraph( SinkEventAttributes attributes )
{
paragraph();
}
- /** {@inheritDoc} */
+ @Override
public void verbatim( SinkEventAttributes attributes )
{
verbatim( false );
}
- /** {@inheritDoc} */
+ @Override
public void horizontalRule( SinkEventAttributes attributes )
{
horizontalRule();
}
- /** {@inheritDoc} */
+ @Override
public void anchor( String name, SinkEventAttributes attributes )
{
anchor( name );
}
- /** {@inheritDoc} */
+ @Override
public void link( String name, SinkEventAttributes attributes )
{
link( name );
}
- /** {@inheritDoc} */
+ @Override
public void lineBreak( SinkEventAttributes attributes )
{
lineBreak();
}
- /** {@inheritDoc} */
+ @Override
public void text( String text, SinkEventAttributes attributes )
{
text( text );
}
- /** {@inheritDoc} */
+ @Override
public void unknown( String name, Object[] requiredParams, SinkEventAttributes attributes )
{
// ignore