Uses of Interface
jakarta.xml.bind.ValidationEventHandler
Package
Description
Provides a runtime binding framework for client applications including
unmarshalling, marshalling, and validation capabilities.
Defines annotations for customizing Java program elements to XML Schema mapping.
Jakarta XML Binding Provider Use Only: Provides partial default implementations for
some of the
jakarta.xml.bind
interfaces.Useful client utility classes.
-
Uses of ValidationEventHandler in jakarta.xml.bind
Modifier and TypeMethodDescriptionabstract ValidationEventHandler
Binder.getEventHandler()
Return the current event handler or the default event handler if one hasn't been set.Marshaller.getEventHandler()
Return the current event handler or the default event handler if one hasn't been set.Unmarshaller.getEventHandler()
Return the current event handler or the default event handler if one hasn't been set.Modifier and TypeMethodDescriptionabstract void
Binder.setEventHandler
(ValidationEventHandler handler) Allow an application to register aValidationEventHandler
.void
Marshaller.setEventHandler
(ValidationEventHandler handler) Allow an application to register a validation event handler.void
Unmarshaller.setEventHandler
(ValidationEventHandler handler) Allow an application to register aValidationEventHandler
. -
Uses of ValidationEventHandler in jakarta.xml.bind.annotation
Modifier and TypeMethodDescriptionDomHandler.createUnmarshaller
(ValidationEventHandler errorHandler) When a Jakarta XML Binding provider needs to unmarshal a part of a document into an infoset representation, it first calls this method to create aResult
object.W3CDomHandler.createUnmarshaller
(ValidationEventHandler errorHandler) DomHandler.marshal
(ElementT n, ValidationEventHandler errorHandler) This method is called when a Jakarta XML Binding provider needs to marshal an element to XML.W3CDomHandler.marshal
(Element element, ValidationEventHandler errorHandler) -
Uses of ValidationEventHandler in jakarta.xml.bind.helpers
Modifier and TypeClassDescriptionclass
JAXB 1.0 only default validation event handler.Modifier and TypeMethodDescriptionAbstractMarshallerImpl.getEventHandler()
AbstractUnmarshallerImpl.getEventHandler()
Return the current event handler or the default event handler if one hasn't been set.Modifier and TypeMethodDescriptionvoid
AbstractMarshallerImpl.setEventHandler
(ValidationEventHandler handler) void
AbstractUnmarshallerImpl.setEventHandler
(ValidationEventHandler handler) Allow an application to register a validation event handler. -
Uses of ValidationEventHandler in jakarta.xml.bind.util
Modifier and TypeClassDescriptionclass
ValidationEventHandler
implementation that collects all events.