Class ReportDocumentRenderer.MultiPageSinkFactory

  • All Implemented Interfaces:
    org.apache.maven.doxia.sink.SinkFactory
    Enclosing class:
    ReportDocumentRenderer

    private static class ReportDocumentRenderer.MultiPageSinkFactory
    extends java.lang.Object
    implements org.apache.maven.doxia.sink.SinkFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.maven.doxia.siterenderer.DocumentRenderingContext docRenderingContext
      The main DocumentRenderingContext, which is the base for the DocumentRenderingContext of subpages
      private org.apache.maven.reporting.MavenReport report
      The report that is (maybe) generating multiple pages
      private java.util.List<ReportDocumentRenderer.MultiPageSubSink> sinks
      List of sinks (subpages) associated to this report
    • Constructor Summary

      Constructors 
      Constructor Description
      MultiPageSinkFactory​(org.apache.maven.reporting.MavenReport report, org.apache.maven.doxia.siterenderer.DocumentRenderingContext docRenderingContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.maven.doxia.sink.Sink createSink​(java.io.File outputDirectory, java.lang.String outputName)  
      org.apache.maven.doxia.sink.Sink createSink​(java.io.File arg0, java.lang.String arg1, java.lang.String arg2)  
      org.apache.maven.doxia.sink.Sink createSink​(java.io.OutputStream arg0)  
      org.apache.maven.doxia.sink.Sink createSink​(java.io.OutputStream arg0, java.lang.String arg1)  
      java.util.List<ReportDocumentRenderer.MultiPageSubSink> sinks()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • report

        private org.apache.maven.reporting.MavenReport report
        The report that is (maybe) generating multiple pages
      • docRenderingContext

        private org.apache.maven.doxia.siterenderer.DocumentRenderingContext docRenderingContext
        The main DocumentRenderingContext, which is the base for the DocumentRenderingContext of subpages
    • Constructor Detail

      • MultiPageSinkFactory

        MultiPageSinkFactory​(org.apache.maven.reporting.MavenReport report,
                             org.apache.maven.doxia.siterenderer.DocumentRenderingContext docRenderingContext)
    • Method Detail

      • createSink

        public org.apache.maven.doxia.sink.Sink createSink​(java.io.File outputDirectory,
                                                           java.lang.String outputName)
        Specified by:
        createSink in interface org.apache.maven.doxia.sink.SinkFactory
      • createSink

        public org.apache.maven.doxia.sink.Sink createSink​(java.io.File arg0,
                                                           java.lang.String arg1,
                                                           java.lang.String arg2)
                                                    throws java.io.IOException
        Specified by:
        createSink in interface org.apache.maven.doxia.sink.SinkFactory
        Throws:
        java.io.IOException
      • createSink

        public org.apache.maven.doxia.sink.Sink createSink​(java.io.OutputStream arg0)
                                                    throws java.io.IOException
        Specified by:
        createSink in interface org.apache.maven.doxia.sink.SinkFactory
        Throws:
        java.io.IOException
      • createSink

        public org.apache.maven.doxia.sink.Sink createSink​(java.io.OutputStream arg0,
                                                           java.lang.String arg1)
                                                    throws java.io.IOException
        Specified by:
        createSink in interface org.apache.maven.doxia.sink.SinkFactory
        Throws:
        java.io.IOException