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

Public Member Functions

 ComaErrorReportGenerator ()
 
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 26 of file ComaErrorReportGenerator.java.

Constructor & Destructor Documentation

de.uni_hamburg.corpora.validation.ComaErrorReportGenerator.ComaErrorReportGenerator ( )

Create an error report generator.

Definition at line 36 of file ComaErrorReportGenerator.java.

Member Function Documentation

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

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

Definition at line 359 of file ComaErrorReportGenerator.java.

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

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

Definition at line 351 of file ComaErrorReportGenerator.java.

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

Definition at line 41 of file ComaErrorReportGenerator.java.

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

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

Definition at line 367 of file ComaErrorReportGenerator.java.


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