Package loci.common.xml
Class ValidationErrorHandler
- java.lang.Object
-
- loci.common.xml.ValidationErrorHandler
-
- All Implemented Interfaces:
ErrorHandler
public class ValidationErrorHandler extends Object implements ErrorHandler
Used by validateXML to handle XML validation errors.- Author:
- Curtis Rueden ctrueden at wisc.edu, Chris Allan callan at blackcat.ca, Melissa Linkert melissa at glencoesoftware.com
-
-
Constructor Summary
Constructors Constructor Description ValidationErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(SAXParseException e)
void
fatalError(SAXParseException e)
int
getErrorCount()
boolean
ok()
void
warning(SAXParseException e)
-
-
-
Method Detail
-
ok
public boolean ok()
-
getErrorCount
public int getErrorCount()
-
error
public void error(SAXParseException e)
- Specified by:
error
in interfaceErrorHandler
-
fatalError
public void fatalError(SAXParseException e)
- Specified by:
fatalError
in interfaceErrorHandler
-
warning
public void warning(SAXParseException e)
- Specified by:
warning
in interfaceErrorHandler
-
-