com.jcoverage.reporting
Interface MultiViewCollator

All Superinterfaces:
Collator
All Known Implementing Classes:
StaticFileCollator

public interface MultiViewCollator
extends Collator


Method Summary
 java.lang.String getPathToPage(ViewFormattingContext ctx, Page page, Page from, View toView)
          Use this method to get a path for a page which will implicitly change the view.
 
Methods inherited from interface com.jcoverage.reporting.Collator
addOutputter, getPathToPage, getPathToPage, getPathToResource, pageClosed
 

Method Detail

getPathToPage

public java.lang.String getPathToPage(ViewFormattingContext ctx,
                                      Page page,
                                      Page from,
                                      View toView)
Use this method to get a path for a page which will implicitly change the view.

Parameters:
ctx - the formatting context.
page - the page that is being referenced.
from - the current page, which will contain the reference.
toView - the new view to set.
Returns:
the path of the page that is being referenced.