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 TypeClassDescriptionclassstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiderror(SAXParseException exception) voidfatalError(SAXParseException exception) intintintvoidsetContext(File context) voidwarning(SAXParseException exception)
-
Constructor Details
-
ValidationErrorHandler
public ValidationErrorHandler()
-
-
Method Details
-
warning
- Specified by:
warningin interfaceErrorHandler- Throws:
SAXException
-
error
- Specified by:
errorin interfaceErrorHandler- Throws:
SAXException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Throws:
SAXException
-
getErrors
-
getWarningCount
public int getWarningCount() -
getErrorCount
public int getErrorCount() -
getFatalCount
public int getFatalCount() -
setContext
-