de.smartics.properties.reports
Class PropertiesPropertyReport

Package class diagram package PropertiesPropertyReport
java.lang.Object
  extended by de.smartics.properties.reports.AbstractPropertyReport
      extended by de.smartics.properties.reports.PropertiesPropertyReport
All Implemented Interfaces:
PropertyReport

public final class PropertiesPropertyReport
     
     
extends AbstractPropertyReport

Stores every report item in a property set.


Constructor Summary
PropertiesPropertyReport(OutputStream output)
          Constructor.
 
Method Summary
 void flush()
          Flushes the latest report set and items.
 void handle(PropertyReportItem item)
          Passes a report item to the report.
 void handle(PropertyReportSet reportSet)
          Passes a report set document information to the report.
 
Methods inherited from class de.smartics.properties.reports.AbstractPropertyReport
addProblem, getProblems, hasProblems, register, traverseAliases
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesPropertyReport

public PropertiesPropertyReport(OutputStream output)
Constructor.

Parameters:
output - the stream to write to.
See Also:
AbstractPropertyReport.AbstractPropertyReport()
Method Detail

handle

public void handle(PropertyReportSet reportSet)
            throws ReportException
Description copied from interface: PropertyReport
Passes a report set document information to the report.

Parameters:
reportSet - the report set to handle.
Throws:
ReportException - on any problem that prevents the report to digest the given set.

handle

public void handle(PropertyReportItem item)
            throws ReportException
Description copied from class: AbstractPropertyReport
Passes a report item to the report.

Registers a report item to manage the alias mapping and check for uniqueness constraint violations.

Specified by:
handle in interface PropertyReport
Overrides:
handle in class AbstractPropertyReport
Parameters:
item - the report item to handle.
Throws:
ReportException - on any problem that prevents the report to digest the given item.
See Also:
PropertyReport.handle(de.smartics.properties.report.data.PropertyReportItem)

flush

public void flush()
Flushes the latest report set and items.



Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.