com.jcoverage.reporting
Class ViewFormattingContext

java.lang.Object
  extended bycom.jcoverage.reporting.FormattingContext
      extended bycom.jcoverage.reporting.ViewFormattingContext

public class ViewFormattingContext
extends FormattingContext

This class provides additional contextual information regarding views, and which of these views is currently being formatted.


Field Summary
(package private)  View currentView
           
(package private) static org.apache.log4j.Logger logger
           
(package private)  View[] views
           
 
Fields inherited from class com.jcoverage.reporting.FormattingContext
collator, serializer
 
Constructor Summary
ViewFormattingContext(FormattingContext ctx, View[] views, View currentView)
           
 
Method Summary
 View getCurrentView()
           
 View[] getViews()
           
 
Methods inherited from class com.jcoverage.reporting.FormattingContext
getCollator, getSerializer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger

views

View[] views

currentView

View currentView
Constructor Detail

ViewFormattingContext

public ViewFormattingContext(FormattingContext ctx,
                             View[] views,
                             View currentView)
Method Detail

getViews

public View[] getViews()

getCurrentView

public View getCurrentView()