org.fcrepo.server.validation.ecm
Class SchemaValidator.ReportingErrorHandler
java.lang.Object
org.fcrepo.server.validation.ecm.SchemaValidator.ReportingErrorHandler
- All Implemented Interfaces:
- ErrorHandler
- Enclosing class:
- SchemaValidator
public static class SchemaValidator.ReportingErrorHandler
- extends Object
- implements ErrorHandler
Errorhandler used by ECM to get errors reported correctly.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaValidator.ReportingErrorHandler
public SchemaValidator.ReportingErrorHandler(List<String> problems,
String contentModel,
String datastreamID)
warning
public void warning(SAXParseException exception)
throws SAXException
- Specified by:
warning in interface ErrorHandler
- Throws:
SAXException
error
public void error(SAXParseException exception)
throws SAXException
- Specified by:
error in interface ErrorHandler
- Throws:
SAXException
fatalError
public void fatalError(SAXParseException exception)
throws SAXException
- Specified by:
fatalError in interface ErrorHandler
- Throws:
SAXException
Copyright © 2011 DuraSpace. All Rights Reserved.