Uses of Interface
jakarta.xml.bind.ValidationEventHandler
-
Packages that use ValidationEventHandler Package Description jakarta.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.jakarta.xml.bind.annotation Defines annotations for customizing Java program elements to XML Schema mapping.jakarta.xml.bind.helpers Jakarta XML Binding Provider Use Only: Provides partial default implementations for some of thejakarta.xml.bind
interfaces.jakarta.xml.bind.util Useful client utility classes. -
-
Uses of ValidationEventHandler in jakarta.xml.bind
Methods in jakarta.xml.bind that return ValidationEventHandler Modifier and Type Method Description abstract ValidationEventHandler
Binder. getEventHandler()
Return the current event handler or the default event handler if one hasn't been set.ValidationEventHandler
Marshaller. getEventHandler()
Return the current event handler or the default event handler if one hasn't been set.ValidationEventHandler
Unmarshaller. getEventHandler()
Return the current event handler or the default event handler if one hasn't been set.Methods in jakarta.xml.bind with parameters of type ValidationEventHandler Modifier and Type Method Description abstract 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
Methods in jakarta.xml.bind.annotation with parameters of type ValidationEventHandler Modifier and Type Method Description ResultT
DomHandler. 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.DOMResult
W3CDomHandler. createUnmarshaller(ValidationEventHandler errorHandler)
Source
DomHandler. marshal(ElementT n, ValidationEventHandler errorHandler)
This method is called when a Jakarta XML Binding provider needs to marshal an element to XML.Source
W3CDomHandler. marshal(Element element, ValidationEventHandler errorHandler)
-
Uses of ValidationEventHandler in jakarta.xml.bind.helpers
Classes in jakarta.xml.bind.helpers that implement ValidationEventHandler Modifier and Type Class Description class
DefaultValidationEventHandler
JAXB 1.0 only default validation event handler.Methods in jakarta.xml.bind.helpers that return ValidationEventHandler Modifier and Type Method Description ValidationEventHandler
AbstractMarshallerImpl. getEventHandler()
ValidationEventHandler
AbstractUnmarshallerImpl. getEventHandler()
Return the current event handler or the default event handler if one hasn't been set.Methods in jakarta.xml.bind.helpers with parameters of type ValidationEventHandler Modifier and Type Method Description void
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
Classes in jakarta.xml.bind.util that implement ValidationEventHandler Modifier and Type Class Description class
ValidationEventCollector
ValidationEventHandler
implementation that collects all events.
-