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

Public Member Functions

 CmdiXsdErrorReportGenerator ()
 
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 24 of file CmdiXsdErrorReportGenerator.java.

Constructor & Destructor Documentation

de.uni_hamburg.corpora.validation.CmdiXsdErrorReportGenerator.CmdiXsdErrorReportGenerator ( )

Create an error report generator.

Definition at line 34 of file CmdiXsdErrorReportGenerator.java.

Member Function Documentation

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

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

Definition at line 75 of file CmdiXsdErrorReportGenerator.java.

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

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

Definition at line 67 of file CmdiXsdErrorReportGenerator.java.

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

Definition at line 39 of file CmdiXsdErrorReportGenerator.java.

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

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

Definition at line 83 of file CmdiXsdErrorReportGenerator.java.


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