KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > maven > reporting > sink > MultiPageSink


1 package org.apache.maven.reporting.sink;
2
3 /*
4  * Copyright 2001-2005 The Apache Software Foundation.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */

18
19 import org.apache.maven.doxia.sink.SinkAdapter;
20 import org.apache.maven.doxia.sink.Sink;
21
22 /**
23  * @author Emmanuel Venisse
24  *
25  */

26 public class MultiPageSink
27     extends SinkAdapter
28 {
29     private String JavaDoc outputName;
30
31     private Sink sink;
32
33     public MultiPageSink( String JavaDoc outputName, Sink sink )
34     {
35         this.outputName = outputName;
36         this.sink = sink;
37     }
38
39     public String JavaDoc getOutputName()
40     {
41         return outputName;
42     }
43
44     public Sink getEmbeddedSink()
45     {
46         return sink;
47     }
48
49     public void closeSink()
50     {
51         sink.body_();
52         sink.flush();
53         sink.close();
54     }
55
56     /**
57      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#anchor_()
58      */

59     public void anchor_()
60     {
61         sink.anchor_();
62     }
63
64     /**
65      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#anchor(java.lang.String)
66      */

67     public void anchor( String JavaDoc arg0 )
68     {
69         sink.anchor( arg0 );
70     }
71
72     /**
73      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#author_()
74      */

75     public void author_()
76     {
77         sink.author_();
78     }
79
80     /**
81      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#author()
82      */

83     public void author()
84     {
85         sink.author();
86     }
87
88     /**
89      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#body()
90      */

91     public void body()
92     {
93         sink.body();
94     }
95
96     /**
97      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#body_()
98      */

99     public void body_()
100     {
101     }
102
103     /**
104      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#bold_()
105      */

106     public void bold_()
107     {
108         sink.bold_();
109     }
110
111     /**
112      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#bold()
113      */

114     public void bold()
115     {
116         sink.bold();
117     }
118
119     /**
120      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#close()
121      */

122     public void close()
123     {
124     }
125
126     /**
127      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#date_()
128      */

129     public void date_()
130     {
131         sink.date_();
132     }
133
134     /**
135      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#date()
136      */

137     public void date()
138     {
139         sink.date();
140     }
141
142     /**
143      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definedTerm_()
144      */

145     public void definedTerm_()
146     {
147         sink.definedTerm_();
148     }
149
150     /**
151      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definedTerm()
152      */

153     public void definedTerm()
154     {
155         sink.definedTerm();
156     }
157
158     /**
159      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definition_()
160      */

161     public void definition_()
162     {
163         sink.definition_();
164     }
165
166     /**
167      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definition()
168      */

169     public void definition()
170     {
171         sink.definition();
172     }
173
174     /**
175      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definitionList_()
176      */

177     public void definitionList_()
178     {
179         sink.definitionList_();
180     }
181
182     /**
183      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definitionList()
184      */

185     public void definitionList()
186     {
187         sink.definitionList();
188     }
189
190     /**
191      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definitionListItem_()
192      */

193     public void definitionListItem_()
194     {
195         sink.definitionListItem_();
196     }
197
198     /**
199      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#definitionListItem()
200      */

201     public void definitionListItem()
202     {
203         sink.definitionListItem();
204     }
205
206     /**
207      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#figure_()
208      */

209     public void figure_()
210     {
211         sink.figure_();
212     }
213
214     /**
215      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#figure()
216      */

217     public void figure()
218     {
219         sink.figure();
220     }
221
222     /**
223      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#figureCaption_()
224      */

225     public void figureCaption_()
226     {
227         sink.figureCaption_();
228     }
229
230     /**
231      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#figureCaption()
232      */

233     public void figureCaption()
234     {
235         sink.figureCaption();
236     }
237
238     /**
239      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#figureGraphics(java.lang.String)
240      */

241     public void figureGraphics( String JavaDoc arg0 )
242     {
243         sink.figureGraphics( arg0 );
244     }
245
246     /**
247      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#flush()
248      */

249     public void flush()
250     {
251         sink.flush();
252     }
253
254     /**
255      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#head_()
256      */

257     public void head_()
258     {
259         sink.head_();
260     }
261
262     /**
263      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#head()
264      */

265     public void head()
266     {
267         sink.head();
268     }
269
270     /**
271      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#horizontalRule()
272      */

273     public void horizontalRule()
274     {
275         sink.horizontalRule();
276     }
277
278     /**
279      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#italic_()
280      */

281     public void italic_()
282     {
283         sink.italic_();
284     }
285
286     /**
287      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#italic()
288      */

289     public void italic()
290     {
291         sink.italic();
292     }
293
294     /**
295      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#lineBreak()
296      */

297     public void lineBreak()
298     {
299         sink.lineBreak();
300     }
301
302     /**
303      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#link_()
304      */

305     public void link_()
306     {
307         sink.link_();
308     }
309
310     /**
311      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#link(java.lang.String)
312      */

313     public void link( String JavaDoc arg0 )
314     {
315         sink.link( arg0 );
316     }
317
318     /**
319      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#list_()
320      */

321     public void list_()
322     {
323         sink.list_();
324     }
325
326     /**
327      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#list()
328      */

329     public void list()
330     {
331         sink.list();
332     }
333
334     /**
335      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#listItem_()
336      */

337     public void listItem_()
338     {
339         sink.listItem_();
340     }
341
342     /**
343      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#listItem()
344      */

345     public void listItem()
346     {
347         sink.listItem();
348     }
349
350     /**
351      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#monospaced_()
352      */

353     public void monospaced_()
354     {
355         sink.monospaced_();
356     }
357
358     /**
359      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#monospaced()
360      */

361     public void monospaced()
362     {
363         sink.monospaced();
364     }
365
366     /**
367      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#nonBreakingSpace()
368      */

369     public void nonBreakingSpace()
370     {
371         sink.nonBreakingSpace();
372     }
373
374     /**
375      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#numberedList_()
376      */

377     public void numberedList_()
378     {
379         sink.numberedList_();
380     }
381
382     /**
383      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#numberedList(int)
384      */

385     public void numberedList( int arg0 )
386     {
387         sink.numberedList( arg0 );
388     }
389
390     /**
391      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#numberedListItem_()
392      */

393     public void numberedListItem_()
394     {
395         sink.numberedListItem_();
396     }
397
398     /**
399      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#numberedListItem()
400      */

401     public void numberedListItem()
402     {
403         sink.numberedListItem();
404     }
405
406     /**
407      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#pageBreak()
408      */

409     public void pageBreak()
410     {
411         sink.pageBreak();
412     }
413
414     /**
415      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#paragraph_()
416      */

417     public void paragraph_()
418     {
419         sink.paragraph_();
420     }
421
422     /**
423      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#paragraph()
424      */

425     public void paragraph()
426     {
427         sink.paragraph();
428     }
429
430     /**
431      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#rawText(java.lang.String)
432      */

433     public void rawText( String JavaDoc arg0 )
434     {
435         sink.rawText( arg0 );
436     }
437
438     /**
439      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section1_()
440      */

441     public void section1_()
442     {
443         sink.section1_();
444     }
445
446     /**
447      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section1()
448      */

449     public void section1()
450     {
451         sink.section1();
452     }
453
454     /**
455      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section2_()
456      */

457     public void section2_()
458     {
459         sink.section2_();
460     }
461
462     /**
463      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section2()
464      */

465     public void section2()
466     {
467         sink.section2();
468     }
469
470     /**
471      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section3_()
472      */

473     public void section3_()
474     {
475         sink.section3_();
476     }
477
478     /**
479      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section3()
480      */

481     public void section3()
482     {
483         sink.section3();
484     }
485
486     /**
487      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section4_()
488      */

489     public void section4_()
490     {
491         sink.section4_();
492     }
493
494     /**
495      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section4()
496      */

497     public void section4()
498     {
499         sink.section4();
500     }
501
502     /**
503      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section5_()
504      */

505     public void section5_()
506     {
507         sink.section5_();
508     }
509
510     /**
511      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#section5()
512      */

513     public void section5()
514     {
515         sink.section5();
516     }
517
518     /**
519      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle_()
520      */

521     public void sectionTitle_()
522     {
523         sink.sectionTitle_();
524     }
525
526     /**
527      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle()
528      */

529     public void sectionTitle()
530     {
531         sink.sectionTitle();
532     }
533
534     /**
535      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle1_()
536      */

537     public void sectionTitle1_()
538     {
539         sink.sectionTitle1_();
540     }
541
542     /**
543      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle1()
544      */

545     public void sectionTitle1()
546     {
547         sink.sectionTitle1();
548     }
549
550     /**
551      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle2_()
552      */

553     public void sectionTitle2_()
554     {
555         sink.sectionTitle2_();
556     }
557
558     /**
559      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle2()
560      */

561     public void sectionTitle2()
562     {
563         sink.sectionTitle2();
564     }
565
566     /**
567      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle3_()
568      */

569     public void sectionTitle3_()
570     {
571         sink.sectionTitle3_();
572     }
573
574     /**
575      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle3()
576      */

577     public void sectionTitle3()
578     {
579         sink.sectionTitle3();
580     }
581
582     /**
583      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle4_()
584      */

585     public void sectionTitle4_()
586     {
587         sink.sectionTitle4_();
588     }
589
590     /**
591      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle4()
592      */

593     public void sectionTitle4()
594     {
595         sink.sectionTitle4();
596     }
597
598     /**
599      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle5_()
600      */

601     public void sectionTitle5_()
602     {
603         sink.sectionTitle5_();
604     }
605
606     /**
607      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#sectionTitle5()
608      */

609     public void sectionTitle5()
610     {
611         sink.sectionTitle5();
612     }
613
614     /**
615      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#table_()
616      */

617     public void table_()
618     {
619         sink.table_();
620     }
621
622     /**
623      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#table()
624      */

625     public void table()
626     {
627         sink.table();
628     }
629
630     /**
631      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableCaption_()
632      */

633     public void tableCaption_()
634     {
635         sink.tableCaption_();
636     }
637
638     /**
639      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableCaption()
640      */

641     public void tableCaption()
642     {
643         sink.tableCaption();
644     }
645
646     /**
647      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableCell_()
648      */

649     public void tableCell_()
650     {
651         sink.tableCell_();
652     }
653
654     /**
655      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableCell()
656      */

657     public void tableCell()
658     {
659         sink.tableCell();
660     }
661
662     /**
663      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableHeaderCell_()
664      */

665     public void tableHeaderCell_()
666     {
667         sink.tableHeaderCell_();
668     }
669
670     /**
671      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableHeaderCell()
672      */

673     public void tableHeaderCell()
674     {
675         sink.tableHeaderCell();
676     }
677
678     /**
679      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableRow_()
680      */

681     public void tableRow_()
682     {
683         sink.tableRow_();
684     }
685
686     /**
687      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableRow()
688      */

689     public void tableRow()
690     {
691         sink.tableRow();
692     }
693
694     /**
695      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableRows_()
696      */

697     public void tableRows_()
698     {
699         sink.tableRows_();
700     }
701
702     /**
703      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#tableRows(int[], boolean)
704      */

705     public void tableRows( int[] arg0, boolean arg1 )
706     {
707         sink.tableRows( arg0, arg1 );
708     }
709
710     /**
711      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#text(java.lang.String)
712      */

713     public void text( String JavaDoc arg0 )
714     {
715         sink.text( arg0 );
716     }
717
718     /**
719      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#title_()
720      */

721     public void title_()
722     {
723         sink.title_();
724     }
725
726     /**
727      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#title()
728      */

729     public void title()
730     {
731         sink.title();
732     }
733
734     /**
735      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#verbatim_()
736      */

737     public void verbatim_()
738     {
739         sink.verbatim_();
740     }
741
742     /**
743      * @see org.codehaus.doxia.module.xhtml.SinkAdapter#verbatim(boolean)
744      */

745     public void verbatim( boolean arg0 )
746     {
747         sink.verbatim( arg0 );
748     }
749 }
750
Popular Tags