Package br.ufsc.labsec.utils
Class XMLSchemaErrorHandler
java.lang.Object
br.ufsc.labsec.utils.XMLSchemaErrorHandler
- All Implemented Interfaces:
ErrorHandler
public class XMLSchemaErrorHandler extends Object implements ErrorHandler
-
Constructor Summary
Constructors Constructor Description XMLSchemaErrorHandler()
-
Method Summary
Modifier and Type Method Description void
error(SAXParseException exception)
void
fatalError(SAXParseException exception)
List<String>
getErrors()
boolean
hasErrors()
void
warning(SAXParseException exception)
-
Constructor Details
-
XMLSchemaErrorHandler
public XMLSchemaErrorHandler()
-
-
Method Details
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Throws:
SAXException
-
error
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXException
-
getErrors
-
hasErrors
public boolean hasErrors()
-