Coverage Report - org.apache.maven.reporting.sink.MultiPageSink
 
Classes in this File Line Coverage Branch Coverage Complexity
MultiPageSink
0 %
0/182
N/A
1
 
 1  
 package org.apache.maven.reporting.sink;
 2  
 
 3  
 /*
 4  
  * Licensed to the Apache Software Foundation (ASF) under one
 5  
  * or more contributor license agreements.  See the NOTICE file
 6  
  * distributed with this work for additional information
 7  
  * regarding copyright ownership.  The ASF licenses this file
 8  
  * to you under the Apache License, Version 2.0 (the
 9  
  * "License"); you may not use this file except in compliance
 10  
  * with the License.  You may obtain a copy of the License at
 11  
  *
 12  
  *  http://www.apache.org/licenses/LICENSE-2.0
 13  
  *
 14  
  * Unless required by applicable law or agreed to in writing,
 15  
  * software distributed under the License is distributed on an
 16  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 17  
  * KIND, either express or implied.  See the License for the
 18  
  * specific language governing permissions and limitations
 19  
  * under the License.
 20  
  */
 21  
 
 22  
 import org.apache.maven.doxia.sink.SinkAdapter;
 23  
 import org.apache.maven.doxia.sink.Sink;
 24  
 
 25  
 /**
 26  
  * @author Emmanuel Venisse
 27  
  *
 28  
  */
 29  
 public class MultiPageSink
 30  
     extends SinkAdapter
 31  
 {
 32  
     private String outputName;
 33  
 
 34  
     private Sink sink;
 35  
 
 36  
     public MultiPageSink( String outputName, Sink sink )
 37  0
     {
 38  0
         this.outputName = outputName;
 39  0
         this.sink = sink;
 40  0
     }
 41  
 
 42  
     public String getOutputName()
 43  
     {
 44  0
         return outputName;
 45  
     }
 46  
 
 47  
     public Sink getEmbeddedSink()
 48  
     {
 49  0
         return sink;
 50  
     }
 51  
 
 52  
     public void closeSink()
 53  
     {
 54  0
         sink.body_();
 55  0
         sink.flush();
 56  0
         sink.close();
 57  0
     }
 58  
 
 59  
     /**
 60  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#anchor_()
 61  
      */
 62  
     public void anchor_()
 63  
     {
 64  0
         sink.anchor_();
 65  0
     }
 66  
 
 67  
     /**
 68  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#anchor(java.lang.String)
 69  
      */
 70  
     public void anchor( String arg0 )
 71  
     {
 72  0
         sink.anchor( arg0 );
 73  0
     }
 74  
 
 75  
     /**
 76  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#author_()
 77  
      */
 78  
     public void author_()
 79  
     {
 80  0
         sink.author_();
 81  0
     }
 82  
 
 83  
     /**
 84  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#author()
 85  
      */
 86  
     public void author()
 87  
     {
 88  0
         sink.author();
 89  0
     }
 90  
 
 91  
     /**
 92  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#body()
 93  
      */
 94  
     public void body()
 95  
     {
 96  0
         sink.body();
 97  0
     }
 98  
 
 99  
     /**
 100  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#body_()
 101  
      */
 102  
     public void body_()
 103  
     {
 104  0
     }
 105  
 
 106  
     /**
 107  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#bold_()
 108  
      */
 109  
     public void bold_()
 110  
     {
 111  0
         sink.bold_();
 112  0
     }
 113  
 
 114  
     /**
 115  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#bold()
 116  
      */
 117  
     public void bold()
 118  
     {
 119  0
         sink.bold();
 120  0
     }
 121  
 
 122  
     /**
 123  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#close()
 124  
      */
 125  
     public void close()
 126  
     {
 127  0
     }
 128  
 
 129  
     /**
 130  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#date_()
 131  
      */
 132  
     public void date_()
 133  
     {
 134  0
         sink.date_();
 135  0
     }
 136  
 
 137  
     /**
 138  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#date()
 139  
      */
 140  
     public void date()
 141  
     {
 142  0
         sink.date();
 143  0
     }
 144  
 
 145  
     /**
 146  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definedTerm_()
 147  
      */
 148  
     public void definedTerm_()
 149  
     {
 150  0
         sink.definedTerm_();
 151  0
     }
 152  
 
 153  
     /**
 154  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definedTerm()
 155  
      */
 156  
     public void definedTerm()
 157  
     {
 158  0
         sink.definedTerm();
 159  0
     }
 160  
 
 161  
     /**
 162  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definition_()
 163  
      */
 164  
     public void definition_()
 165  
     {
 166  0
         sink.definition_();
 167  0
     }
 168  
 
 169  
     /**
 170  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definition()
 171  
      */
 172  
     public void definition()
 173  
     {
 174  0
         sink.definition();
 175  0
     }
 176  
 
 177  
     /**
 178  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definitionList_()
 179  
      */
 180  
     public void definitionList_()
 181  
     {
 182  0
         sink.definitionList_();
 183  0
     }
 184  
 
 185  
     /**
 186  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definitionList()
 187  
      */
 188  
     public void definitionList()
 189  
     {
 190  0
         sink.definitionList();
 191  0
     }
 192  
 
 193  
     /**
 194  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definitionListItem_()
 195  
      */
 196  
     public void definitionListItem_()
 197  
     {
 198  0
         sink.definitionListItem_();
 199  0
     }
 200  
 
 201  
     /**
 202  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definitionListItem()
 203  
      */
 204  
     public void definitionListItem()
 205  
     {
 206  0
         sink.definitionListItem();
 207  0
     }
 208  
 
 209  
     /**
 210  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#figure_()
 211  
      */
 212  
     public void figure_()
 213  
     {
 214  0
         sink.figure_();
 215  0
     }
 216  
 
 217  
     /**
 218  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#figure()
 219  
      */
 220  
     public void figure()
 221  
     {
 222  0
         sink.figure();
 223  0
     }
 224  
 
 225  
     /**
 226  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#figureCaption_()
 227  
      */
 228  
     public void figureCaption_()
 229  
     {
 230  0
         sink.figureCaption_();
 231  0
     }
 232  
 
 233  
     /**
 234  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#figureCaption()
 235  
      */
 236  
     public void figureCaption()
 237  
     {
 238  0
         sink.figureCaption();
 239  0
     }
 240  
 
 241  
     /**
 242  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#figureGraphics(java.lang.String)
 243  
      */
 244  
     public void figureGraphics( String arg0 )
 245  
     {
 246  0
         sink.figureGraphics( arg0 );
 247  0
     }
 248  
 
 249  
     /**
 250  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#flush()
 251  
      */
 252  
     public void flush()
 253  
     {
 254  0
         sink.flush();
 255  0
     }
 256  
 
 257  
     /**
 258  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#head_()
 259  
      */
 260  
     public void head_()
 261  
     {
 262  0
         sink.head_();
 263  0
     }
 264  
 
 265  
     /**
 266  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#head()
 267  
      */
 268  
     public void head()
 269  
     {
 270  0
         sink.head();
 271  0
     }
 272  
 
 273  
     /**
 274  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#horizontalRule()
 275  
      */
 276  
     public void horizontalRule()
 277  
     {
 278  0
         sink.horizontalRule();
 279  0
     }
 280  
 
 281  
     /**
 282  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#italic_()
 283  
      */
 284  
     public void italic_()
 285  
     {
 286  0
         sink.italic_();
 287  0
     }
 288  
 
 289  
     /**
 290  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#italic()
 291  
      */
 292  
     public void italic()
 293  
     {
 294  0
         sink.italic();
 295  0
     }
 296  
 
 297  
     /**
 298  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#lineBreak()
 299  
      */
 300  
     public void lineBreak()
 301  
     {
 302  0
         sink.lineBreak();
 303  0
     }
 304  
 
 305  
     /**
 306  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#link_()
 307  
      */
 308  
     public void link_()
 309  
     {
 310  0
         sink.link_();
 311  0
     }
 312  
 
 313  
     /**
 314  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#link(java.lang.String)
 315  
      */
 316  
     public void link( String arg0 )
 317  
     {
 318  0
         sink.link( arg0 );
 319  0
     }
 320  
 
 321  
     /**
 322  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#list_()
 323  
      */
 324  
     public void list_()
 325  
     {
 326  0
         sink.list_();
 327  0
     }
 328  
 
 329  
     /**
 330  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#list()
 331  
      */
 332  
     public void list()
 333  
     {
 334  0
         sink.list();
 335  0
     }
 336  
 
 337  
     /**
 338  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#listItem_()
 339  
      */
 340  
     public void listItem_()
 341  
     {
 342  0
         sink.listItem_();
 343  0
     }
 344  
 
 345  
     /**
 346  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#listItem()
 347  
      */
 348  
     public void listItem()
 349  
     {
 350  0
         sink.listItem();
 351  0
     }
 352  
 
 353  
     /**
 354  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#monospaced_()
 355  
      */
 356  
     public void monospaced_()
 357  
     {
 358  0
         sink.monospaced_();
 359  0
     }
 360  
 
 361  
     /**
 362  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#monospaced()
 363  
      */
 364  
     public void monospaced()
 365  
     {
 366  0
         sink.monospaced();
 367  0
     }
 368  
 
 369  
     /**
 370  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#nonBreakingSpace()
 371  
      */
 372  
     public void nonBreakingSpace()
 373  
     {
 374  0
         sink.nonBreakingSpace();
 375  0
     }
 376  
 
 377  
     /**
 378  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#numberedList_()
 379  
      */
 380  
     public void numberedList_()
 381  
     {
 382  0
         sink.numberedList_();
 383  0
     }
 384  
 
 385  
     /**
 386  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#numberedList(int)
 387  
      */
 388  
     public void numberedList( int arg0 )
 389  
     {
 390  0
         sink.numberedList( arg0 );
 391  0
     }
 392  
 
 393  
     /**
 394  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#numberedListItem_()
 395  
      */
 396  
     public void numberedListItem_()
 397  
     {
 398  0
         sink.numberedListItem_();
 399  0
     }
 400  
 
 401  
     /**
 402  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#numberedListItem()
 403  
      */
 404  
     public void numberedListItem()
 405  
     {
 406  0
         sink.numberedListItem();
 407  0
     }
 408  
 
 409  
     /**
 410  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#pageBreak()
 411  
      */
 412  
     public void pageBreak()
 413  
     {
 414  0
         sink.pageBreak();
 415  0
     }
 416  
 
 417  
     /**
 418  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#paragraph_()
 419  
      */
 420  
     public void paragraph_()
 421  
     {
 422  0
         sink.paragraph_();
 423  0
     }
 424  
 
 425  
     /**
 426  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#paragraph()
 427  
      */
 428  
     public void paragraph()
 429  
     {
 430  0
         sink.paragraph();
 431  0
     }
 432  
 
 433  
     /**
 434  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#rawText(java.lang.String)
 435  
      */
 436  
     public void rawText( String arg0 )
 437  
     {
 438  0
         sink.rawText( arg0 );
 439  0
     }
 440  
 
 441  
     /**
 442  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section1_()
 443  
      */
 444  
     public void section1_()
 445  
     {
 446  0
         sink.section1_();
 447  0
     }
 448  
 
 449  
     /**
 450  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section1()
 451  
      */
 452  
     public void section1()
 453  
     {
 454  0
         sink.section1();
 455  0
     }
 456  
 
 457  
     /**
 458  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section2_()
 459  
      */
 460  
     public void section2_()
 461  
     {
 462  0
         sink.section2_();
 463  0
     }
 464  
 
 465  
     /**
 466  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section2()
 467  
      */
 468  
     public void section2()
 469  
     {
 470  0
         sink.section2();
 471  0
     }
 472  
 
 473  
     /**
 474  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section3_()
 475  
      */
 476  
     public void section3_()
 477  
     {
 478  0
         sink.section3_();
 479  0
     }
 480  
 
 481  
     /**
 482  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section3()
 483  
      */
 484  
     public void section3()
 485  
     {
 486  0
         sink.section3();
 487  0
     }
 488  
 
 489  
     /**
 490  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section4_()
 491  
      */
 492  
     public void section4_()
 493  
     {
 494  0
         sink.section4_();
 495  0
     }
 496  
 
 497  
     /**
 498  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section4()
 499  
      */
 500  
     public void section4()
 501  
     {
 502  0
         sink.section4();
 503  0
     }
 504  
 
 505  
     /**
 506  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section5_()
 507  
      */
 508  
     public void section5_()
 509  
     {
 510  0
         sink.section5_();
 511  0
     }
 512  
 
 513  
     /**
 514  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section5()
 515  
      */
 516  
     public void section5()
 517  
     {
 518  0
         sink.section5();
 519  0
     }
 520  
 
 521  
     /**
 522  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle_()
 523  
      */
 524  
     public void sectionTitle_()
 525  
     {
 526  0
         sink.sectionTitle_();
 527  0
     }
 528  
 
 529  
     /**
 530  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle()
 531  
      */
 532  
     public void sectionTitle()
 533  
     {
 534  0
         sink.sectionTitle();
 535  0
     }
 536  
 
 537  
     /**
 538  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle1_()
 539  
      */
 540  
     public void sectionTitle1_()
 541  
     {
 542  0
         sink.sectionTitle1_();
 543  0
     }
 544  
 
 545  
     /**
 546  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle1()
 547  
      */
 548  
     public void sectionTitle1()
 549  
     {
 550  0
         sink.sectionTitle1();
 551  0
     }
 552  
 
 553  
     /**
 554  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle2_()
 555  
      */
 556  
     public void sectionTitle2_()
 557  
     {
 558  0
         sink.sectionTitle2_();
 559  0
     }
 560  
 
 561  
     /**
 562  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle2()
 563  
      */
 564  
     public void sectionTitle2()
 565  
     {
 566  0
         sink.sectionTitle2();
 567  0
     }
 568  
 
 569  
     /**
 570  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle3_()
 571  
      */
 572  
     public void sectionTitle3_()
 573  
     {
 574  0
         sink.sectionTitle3_();
 575  0
     }
 576  
 
 577  
     /**
 578  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle3()
 579  
      */
 580  
     public void sectionTitle3()
 581  
     {
 582  0
         sink.sectionTitle3();
 583  0
     }
 584  
 
 585  
     /**
 586  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle4_()
 587  
      */
 588  
     public void sectionTitle4_()
 589  
     {
 590  0
         sink.sectionTitle4_();
 591  0
     }
 592  
 
 593  
     /**
 594  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle4()
 595  
      */
 596  
     public void sectionTitle4()
 597  
     {
 598  0
         sink.sectionTitle4();
 599  0
     }
 600  
 
 601  
     /**
 602  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle5_()
 603  
      */
 604  
     public void sectionTitle5_()
 605  
     {
 606  0
         sink.sectionTitle5_();
 607  0
     }
 608  
 
 609  
     /**
 610  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle5()
 611  
      */
 612  
     public void sectionTitle5()
 613  
     {
 614  0
         sink.sectionTitle5();
 615  0
     }
 616  
 
 617  
     /**
 618  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#table_()
 619  
      */
 620  
     public void table_()
 621  
     {
 622  0
         sink.table_();
 623  0
     }
 624  
 
 625  
     /**
 626  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#table()
 627  
      */
 628  
     public void table()
 629  
     {
 630  0
         sink.table();
 631  0
     }
 632  
 
 633  
     /**
 634  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableCaption_()
 635  
      */
 636  
     public void tableCaption_()
 637  
     {
 638  0
         sink.tableCaption_();
 639  0
     }
 640  
 
 641  
     /**
 642  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableCaption()
 643  
      */
 644  
     public void tableCaption()
 645  
     {
 646  0
         sink.tableCaption();
 647  0
     }
 648  
 
 649  
     /**
 650  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableCell_()
 651  
      */
 652  
     public void tableCell_()
 653  
     {
 654  0
         sink.tableCell_();
 655  0
     }
 656  
 
 657  
     /**
 658  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableCell()
 659  
      */
 660  
     public void tableCell()
 661  
     {
 662  0
         sink.tableCell();
 663  0
     }
 664  
 
 665  
     /**
 666  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableHeaderCell_()
 667  
      */
 668  
     public void tableHeaderCell_()
 669  
     {
 670  0
         sink.tableHeaderCell_();
 671  0
     }
 672  
 
 673  
     /**
 674  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableHeaderCell()
 675  
      */
 676  
     public void tableHeaderCell()
 677  
     {
 678  0
         sink.tableHeaderCell();
 679  0
     }
 680  
 
 681  
     /**
 682  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableRow_()
 683  
      */
 684  
     public void tableRow_()
 685  
     {
 686  0
         sink.tableRow_();
 687  0
     }
 688  
 
 689  
     /**
 690  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableRow()
 691  
      */
 692  
     public void tableRow()
 693  
     {
 694  0
         sink.tableRow();
 695  0
     }
 696  
 
 697  
     /**
 698  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableRows_()
 699  
      */
 700  
     public void tableRows_()
 701  
     {
 702  0
         sink.tableRows_();
 703  0
     }
 704  
 
 705  
     /**
 706  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableRows(int[], boolean)
 707  
      */
 708  
     public void tableRows( int[] arg0, boolean arg1 )
 709  
     {
 710  0
         sink.tableRows( arg0, arg1 );
 711  0
     }
 712  
 
 713  
     /**
 714  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#text(java.lang.String)
 715  
      */
 716  
     public void text( String arg0 )
 717  
     {
 718  0
         sink.text( arg0 );
 719  0
     }
 720  
 
 721  
     /**
 722  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#title_()
 723  
      */
 724  
     public void title_()
 725  
     {
 726  0
         sink.title_();
 727  0
     }
 728  
 
 729  
     /**
 730  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#title()
 731  
      */
 732  
     public void title()
 733  
     {
 734  0
         sink.title();
 735  0
     }
 736  
 
 737  
     /**
 738  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#verbatim_()
 739  
      */
 740  
     public void verbatim_()
 741  
     {
 742  0
         sink.verbatim_();
 743  0
     }
 744  
 
 745  
     /**
 746  
      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#verbatim(boolean)
 747  
      */
 748  
     public void verbatim( boolean arg0 )
 749  
     {
 750  0
         sink.verbatim( arg0 );
 751  0
     }
 752  
 }