corpus-services  1.0
de.uni_hamburg.corpora.validation.ExbErrorReportGenerator Class Reference
+ Inheritance diagram for de.uni_hamburg.corpora.validation.ExbErrorReportGenerator:
+ Collaboration diagram for de.uni_hamburg.corpora.validation.ExbErrorReportGenerator:

Public Member Functions

 ExbErrorReportGenerator (String fileName)
 
Report getErrors ()
 
void fatalError (SAXParseException saxpe) throws SAXException
 
void error (SAXParseException saxpe) throws SAXException
 
void warning (SAXParseException saxpe) throws SAXException
 

Detailed Description

XML schema validation error handler for coma file errors. This is specific to HZSK use of coma file data, the class tries to turn XML Schema errors into readable descriptions of what effect a validation error may have to the deposited corpus and how to fix it.

Definition at line 23 of file ExbErrorReportGenerator.java.

Constructor & Destructor Documentation

de.uni_hamburg.corpora.validation.ExbErrorReportGenerator.ExbErrorReportGenerator ( String  fileName)

Create an error report generator.

Definition at line 33 of file ExbErrorReportGenerator.java.

Member Function Documentation

void de.uni_hamburg.corpora.validation.ExbErrorReportGenerator.error ( SAXParseException  saxpe) throws SAXException

Handle XML schema validation error. This handler ignores the severity of validation errors.

Definition at line 66 of file ExbErrorReportGenerator.java.

void de.uni_hamburg.corpora.validation.ExbErrorReportGenerator.fatalError ( SAXParseException  saxpe) throws SAXException

Handle fatal XML schema validation error. This handler ignores the severity of validation errors.

Definition at line 58 of file ExbErrorReportGenerator.java.

Report de.uni_hamburg.corpora.validation.ExbErrorReportGenerator.getErrors ( )

Definition at line 39 of file ExbErrorReportGenerator.java.

void de.uni_hamburg.corpora.validation.ExbErrorReportGenerator.warning ( SAXParseException  saxpe) throws SAXException

Handle XML schema validation warning This handler ignores the severity of validation errors.

Definition at line 74 of file ExbErrorReportGenerator.java.


The documentation for this class was generated from the following file: