com.jcoverage.reporting
Class FormattingContext

java.lang.Object
  extended bycom.jcoverage.reporting.FormattingContext
Direct Known Subclasses:
ViewFormattingContext

public class FormattingContext
extends java.lang.Object

This class gives formats access to contextual information, such as the collator responsible for handling reports and the serializer to send the report output to.


Field Summary
(package private)  Collator collator
           
(package private) static org.apache.log4j.Logger logger
           
(package private)  Serializer serializer
           
 
Constructor Summary
FormattingContext(Collator collator, Serializer serializer)
           
 
Method Summary
 Collator getCollator()
           
 Serializer 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

collator

Collator collator

serializer

Serializer serializer
Constructor Detail

FormattingContext

public FormattingContext(Collator collator,
                         Serializer serializer)
Method Detail

getCollator

public Collator getCollator()

getSerializer

public Serializer getSerializer()