Package org.codehaus.mojo.xml.validation
Class ValidationErrorHandler
java.lang.Object
org.codehaus.mojo.xml.validation.ValidationErrorHandler
- All Implemented Interfaces:
ErrorHandler
- Author:
- rlamont
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
error
(SAXParseException exception) void
fatalError
(SAXParseException exception) int
int
int
void
setContext
(File context) void
warning
(SAXParseException exception)
-
Constructor Details
-
ValidationErrorHandler
public ValidationErrorHandler()
-
-
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
-
getWarningCount
public int getWarningCount() -
getErrorCount
public int getErrorCount() -
getFatalCount
public int getFatalCount() -
setContext
-