Package org.apache.maven.reporting.sink

Examples of org.apache.maven.reporting.sink.MultiPageSink


    }

    public MultiPageSink startPage( String outputName )
        throws RendererException, IOException
    {
        return new MultiPageSink( outputName, getSink( outputName ) );
    }
View Full Code Here


    {
        if ( !sinks.isEmpty() )
        {
            for ( Iterator i = sinks.iterator(); i.hasNext(); )
            {
                MultiPageSink currentSink = (MultiPageSink) i.next();

                currentSink.paragraph();

                for ( int counter = 1; counter <= sinks.size(); counter++ )
                {
                    if ( counter > 1 )
                    {
                        currentSink.text( "&nbsp;" );
                    }
                    MultiPageSink sink = (MultiPageSink) sinks.get( counter - 1 );
                    sink.link( sink.getOutputName() + ".html" );
                    sink.text( String.valueOf( counter ) );
                    sink.link_();
                }
                currentSink.paragraph_();
                currentSink.closeSink();
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.maven.reporting.sink.MultiPageSink

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.