com.thalesgroup.dtkit.util.validator
Class ValidationHandler
java.lang.Object
com.thalesgroup.dtkit.util.validator.ValidationHandler
- All Implemented Interfaces:
- Serializable, ErrorHandler
public class ValidationHandler
- extends Object
- implements ErrorHandler, Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationHandler
public ValidationHandler()
error
public void error(SAXParseException ex)
- Report a non-fatal error
- Specified by:
error in interface ErrorHandler
- Parameters:
ex - the error condition
fatalError
public void fatalError(SAXParseException ex)
- Report a fatal error
- Specified by:
fatalError in interface ErrorHandler
- Parameters:
ex - the error condition
warning
public void warning(SAXParseException ex)
- Report a warning
- Specified by:
warning in interface ErrorHandler
- Parameters:
ex - the warning condition
getErrors
public List<ValidationError> getErrors()
Copyright © 2004-2012. All Rights Reserved.