public final class SchematronReport
extends java.lang.Object
| Constructor and Description |
|---|
SchematronReport()
Constructor of Schematron Report
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(SchematronResult result)
Add a new SchematronResult object to the collection
|
SchematronResult |
get(java.lang.String systemID)
Returns the Schematron result instance corresponding to the given system ID.
|
void |
printLog(java.io.PrintStream out)
Print the SVRL result onto the console log.
|
void |
saveAs(java.io.File file)
Saves this report as XML in the format:
|
public void add(SchematronResult result)
result - object to be added.public SchematronResult get(java.lang.String systemID)
systemID - The system ID of the requested schematron result.public void saveAs(java.io.File file)
throws java.io.IOException
<fileset date="[yyyy-mm-dd]">
<file name="xxxxx"> SRVL embedded here </file>
<file name="xxxxx"> SRVL embedded here </file>
</fileset>
file - The file where the Schematron results should be saved.java.io.IOException - Should any I/O error occur.public void printLog(java.io.PrintStream out)
task - The task which provides the Log to use.