|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.weborganic.schematron.SchematronReport
public final class SchematronReport
A report aggregating a collection of Schematron validation results.
Constructor Summary | |
---|---|
SchematronReport()
Constructor of Schematron Report |
Method Summary | |
---|---|
void |
add(SchematronResult result)
Add a new SchematronResult object to the collection |
SchematronResult |
get(String systemID)
Returns the Schematron result instance corresponding to the given system ID. |
void |
printLog(PrintStream out)
Print the SVRL result onto the console log. |
void |
saveAs(File file)
Saves this report as XML in the format: |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchematronReport()
Method Detail |
---|
public void add(SchematronResult result)
result
- object to be added.public SchematronResult get(String systemID)
systemID
- The system ID of the requested schematron result.
public void saveAs(File file) throws 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.
IOException
- Should any I/O error occur.public void printLog(PrintStream out)
task
- The task which provides the Log to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |