Class ReportDocumentRenderer.MultiPageSinkFactory
java.lang.Object
org.apache.maven.plugins.site.render.ReportDocumentRenderer.MultiPageSinkFactory
- All Implemented Interfaces:
org.apache.maven.doxia.sink.SinkFactory
- Enclosing class:
ReportDocumentRenderer
private static class ReportDocumentRenderer.MultiPageSinkFactory
extends Object
implements org.apache.maven.doxia.sink.SinkFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.maven.doxia.siterenderer.RenderingContextThe main RenderingContext, which is the base for the RenderingContext of subpagesprivate org.apache.maven.reporting.MavenReportThe report that is (maybe) generating multiple pagesList of sinks (subpages) associated to this reportFields inherited from interface org.apache.maven.doxia.sink.SinkFactory
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionMultiPageSinkFactory(org.apache.maven.reporting.MavenReport report, org.apache.maven.doxia.siterenderer.RenderingContext context) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.doxia.sink.SinkcreateSink(File outputDir, String outputName) org.apache.maven.doxia.sink.SinkcreateSink(File arg0, String arg1, String arg2) org.apache.maven.doxia.sink.SinkcreateSink(OutputStream arg0) org.apache.maven.doxia.sink.SinkcreateSink(OutputStream arg0, String arg1) sinks()
-
Field Details
-
report
private org.apache.maven.reporting.MavenReport reportThe report that is (maybe) generating multiple pages -
context
private org.apache.maven.doxia.siterenderer.RenderingContext contextThe main RenderingContext, which is the base for the RenderingContext of subpages -
sinks
List of sinks (subpages) associated to this report
-
-
Constructor Details
-
MultiPageSinkFactory
MultiPageSinkFactory(org.apache.maven.reporting.MavenReport report, org.apache.maven.doxia.siterenderer.RenderingContext context)
-
-
Method Details
-
createSink
- Specified by:
createSinkin interfaceorg.apache.maven.doxia.sink.SinkFactory
-
createSink
public org.apache.maven.doxia.sink.Sink createSink(File arg0, String arg1, String arg2) throws IOException - Specified by:
createSinkin interfaceorg.apache.maven.doxia.sink.SinkFactory- Throws:
IOException
-
createSink
- Specified by:
createSinkin interfaceorg.apache.maven.doxia.sink.SinkFactory- Throws:
IOException
-
createSink
public org.apache.maven.doxia.sink.Sink createSink(OutputStream arg0, String arg1) throws IOException - Specified by:
createSinkin interfaceorg.apache.maven.doxia.sink.SinkFactory- Throws:
IOException
-
sinks
-