org.apache.rat.report.claim.impl
Class ClaimAggregator

java.lang.Object
  extended by org.apache.rat.report.AbstractReport
      extended by org.apache.rat.report.claim.impl.AbstractClaimReporter
          extended by org.apache.rat.report.claim.impl.ClaimAggregator
All Implemented Interfaces:
RatReport

public class ClaimAggregator
extends AbstractClaimReporter

The aggregator is used to create a numerical statistic of claims.


Constructor Summary
ClaimAggregator(ClaimStatistic pStatistic)
           
 
Method Summary
 void endReport()
           
 void fillClaimStatistic(ClaimStatistic pStatistic)
           
protected  void handleApprovedLicenseClaim(java.lang.String licenseApproved)
           
protected  void handleDocumentCategoryClaim(java.lang.String documentCategoryName)
           
protected  void handleHeaderCategoryClaim(java.lang.String headerCategory)
           
protected  void handleLicenseFamilyNameClaim(java.lang.String licenseFamilyName)
           
 
Methods inherited from class org.apache.rat.report.claim.impl.AbstractClaimReporter
report
 
Methods inherited from class org.apache.rat.report.AbstractReport
startReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClaimAggregator

public ClaimAggregator(ClaimStatistic pStatistic)
Method Detail

handleDocumentCategoryClaim

protected void handleDocumentCategoryClaim(java.lang.String documentCategoryName)
Overrides:
handleDocumentCategoryClaim in class AbstractClaimReporter

handleApprovedLicenseClaim

protected void handleApprovedLicenseClaim(java.lang.String licenseApproved)
Overrides:
handleApprovedLicenseClaim in class AbstractClaimReporter

handleLicenseFamilyNameClaim

protected void handleLicenseFamilyNameClaim(java.lang.String licenseFamilyName)
Overrides:
handleLicenseFamilyNameClaim in class AbstractClaimReporter

handleHeaderCategoryClaim

protected void handleHeaderCategoryClaim(java.lang.String headerCategory)
Overrides:
handleHeaderCategoryClaim in class AbstractClaimReporter

fillClaimStatistic

public void fillClaimStatistic(ClaimStatistic pStatistic)

endReport

public void endReport()
               throws RatException
Specified by:
endReport in interface RatReport
Overrides:
endReport in class AbstractReport
Throws:
RatException


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.