Package com.helger.jaxb.validation
Class DoNothingValidationEventHandler
java.lang.Object
com.helger.jaxb.validation.AbstractValidationEventHandler
com.helger.jaxb.validation.DoNothingValidationEventHandler
- All Implemented Interfaces:
IValidationEventHandler,jakarta.xml.bind.ValidationEventHandler
An implementation of the JAXB
ValidationEventHandler
interface that does nothing an swallows all errors.- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonEvent(com.helger.commons.error.IError aEvent) Callback method invoked when an error occurs.Methods inherited from class com.helger.jaxb.validation.AbstractValidationEventHandler
continueProcessing, getErrorFieldName, getErrorLevel, getLocationResourceID, handleEvent, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.jaxb.validation.IValidationEventHandler
andThen
-
Constructor Details
-
DoNothingValidationEventHandler
public DoNothingValidationEventHandler()
-
-
Method Details
-
onEvent
Description copied from class:AbstractValidationEventHandlerCallback method invoked when an error occurs.- Specified by:
onEventin classAbstractValidationEventHandler- Parameters:
aEvent- The occurred error.
-