|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.reports.AbstractPropertyReport de.smartics.properties.reports.XmlPropertyReport
public final class XmlPropertyReport
Writes each report to a file.
Constructor Summary | |
---|---|
XmlPropertyReport(de.smartics.util.io.StreamHandler propertySetReportsRootDir, de.smartics.util.io.StreamHandler propertyReportsRootDir) Constructor using UTF-8 as encoding. |
|
XmlPropertyReport(String encoding, de.smartics.util.io.StreamHandler propertySetReportsRootDir, de.smartics.util.io.StreamHandler propertyReportsRootDir) Default constructor. |
Method Summary | |
---|---|
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 |
---|
public XmlPropertyReport(de.smartics.util.io.StreamHandler propertySetReportsRootDir, de.smartics.util.io.StreamHandler propertyReportsRootDir) throws NullPointerException
propertySetReportsRootDir
- the location for property set reports being written to.
propertyReportsRootDir
- the location for property reports being written to.
NullPointerException
- if
propertySetReportsRootDir
or
propertyReportsRootDir
is
null
.
public XmlPropertyReport(String encoding, de.smartics.util.io.StreamHandler propertySetReportsRootDir, de.smartics.util.io.StreamHandler propertyReportsRootDir) throws NullPointerException, IllegalArgumentException
encoding
- the encoding used to write to the stream.
propertySetReportsRootDir
- the location for property set reports being written to.
propertyReportsRootDir
- the location for property reports being written to.
NullPointerException
- if
encoding
,
propertySetReportsRootDir
or
propertyReportsRootDir
is
null
.
IllegalArgumentException
- if
encoding
is blank.
Method Detail |
---|
public void handle(PropertyReportSet reportSet) throws ReportException
PropertyReport
reportSet
- the report set to handle.
ReportException
- on any problem that prevents the report to digest the given set.
public void handle(PropertyReportItem item) throws ReportException
AbstractPropertyReport
Registers a report item to manage the alias mapping and check for uniqueness constraint violations.
handle
in interface
PropertyReport
handle
in class
AbstractPropertyReport
item
- the report item to handle.
ReportException
- on any problem that prevents the report to digest the given item.
PropertyReport.handle(de.smartics.properties.report.data.PropertyReportItem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |