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.DocumentRenderingContext
The main DocumentRenderingContext, which is the base for the DocumentRenderingContext of subpagesprivate org.apache.maven.reporting.MavenReport
The report that is (maybe) generating multiple pagesList of sinks (subpages) associated to this report -
Constructor Summary
ConstructorsConstructorDescriptionMultiPageSinkFactory
(org.apache.maven.reporting.MavenReport report, org.apache.maven.doxia.siterenderer.DocumentRenderingContext docRenderingContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.doxia.sink.Sink
createSink
(File outputDirectory, String outputName) org.apache.maven.doxia.sink.Sink
createSink
(File arg0, String arg1, String arg2) org.apache.maven.doxia.sink.Sink
createSink
(OutputStream arg0) org.apache.maven.doxia.sink.Sink
createSink
(OutputStream arg0, String arg1) sinks()
-
Field Details
-
report
private org.apache.maven.reporting.MavenReport reportThe report that is (maybe) generating multiple pages -
docRenderingContext
private org.apache.maven.doxia.siterenderer.DocumentRenderingContext docRenderingContextThe main DocumentRenderingContext, which is the base for the DocumentRenderingContext 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.DocumentRenderingContext docRenderingContext)
-
-
Method Details
-
createSink
- Specified by:
createSink
in 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:
createSink
in interfaceorg.apache.maven.doxia.sink.SinkFactory
- Throws:
IOException
-
createSink
- Specified by:
createSink
in 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:
createSink
in interfaceorg.apache.maven.doxia.sink.SinkFactory
- Throws:
IOException
-
sinks
-