Uses of Interface
javax.xml.bind.ValidationEventHandler
Packages that use 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.
JAXB Provider Use Only: Provides partial default implementations for
some of the
javax.xml.bind
interfaces.Useful client utility classes.
-
Uses of ValidationEventHandler in javax.xml.bind
Methods in javax.xml.bind that return ValidationEventHandlerModifier 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.Validator.getEventHandler()
Deprecated.since JAXB2.0Methods in javax.xml.bind with parameters of type ValidationEventHandlerModifier 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
.void
Validator.setEventHandler
(ValidationEventHandler handler) Deprecated.since JAXB2.0 -
Uses of ValidationEventHandler in javax.xml.bind.annotation
Methods in javax.xml.bind.annotation with parameters of type ValidationEventHandlerModifier and TypeMethodDescriptionDomHandler.createUnmarshaller
(ValidationEventHandler errorHandler) When a JAXB 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 JAXB provider needs to marshal an element to XML.W3CDomHandler.marshal
(Element element, ValidationEventHandler errorHandler) -
Uses of ValidationEventHandler in javax.xml.bind.helpers
Classes in javax.xml.bind.helpers that implement ValidationEventHandlerModifier and TypeClassDescriptionclass
JAXB 1.0 only default validation event handler.Methods in javax.xml.bind.helpers that return ValidationEventHandlerModifier and TypeMethodDescriptionAbstractMarshallerImpl.getEventHandler()
AbstractUnmarshallerImpl.getEventHandler()
Return the current event handler or the default event handler if one hasn't been set.Methods in javax.xml.bind.helpers with parameters of type ValidationEventHandlerModifier and TypeMethodDescriptionvoid
AbstractMarshallerImpl.setEventHandler
(ValidationEventHandler handler) void
AbstractUnmarshallerImpl.setEventHandler
(ValidationEventHandler handler) Allow an application to register a validation event handler. -
Uses of ValidationEventHandler in javax.xml.bind.util
Classes in javax.xml.bind.util that implement ValidationEventHandlerModifier and TypeClassDescriptionclass
ValidationEventHandler
implementation that collects all events.