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 the
jakarta.xml.bind interfaces. |
jakarta.xml.bind.util |
Useful client utility classes.
|
Modifier and Type | Method and Description |
---|---|
ValidationEventHandler |
Validator.getEventHandler()
Deprecated.
since JAXB2.0
|
ValidationEventHandler |
Unmarshaller.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.
|
abstract ValidationEventHandler |
Binder.getEventHandler()
Return the current event handler or the default event handler if one
hasn't been set.
|
Modifier and Type | Method and Description |
---|---|
void |
Validator.setEventHandler(ValidationEventHandler handler)
Deprecated.
since JAXB2.0
|
void |
Unmarshaller.setEventHandler(ValidationEventHandler handler)
Allow an application to register a
ValidationEventHandler . |
void |
Marshaller.setEventHandler(ValidationEventHandler handler)
Allow an application to register a validation event handler.
|
abstract void |
Binder.setEventHandler(ValidationEventHandler handler)
Allow an application to register a
ValidationEventHandler . |
Modifier and Type | Method and Description |
---|---|
DOMResult |
W3CDomHandler.createUnmarshaller(ValidationEventHandler errorHandler) |
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 a
Result object. |
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) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultValidationEventHandler
JAXB 1.0 only default validation event handler.
|
Modifier and Type | Method and Description |
---|---|
ValidationEventHandler |
AbstractUnmarshallerImpl.getEventHandler()
Return the current event handler or the default event handler if one
hasn't been set.
|
ValidationEventHandler |
AbstractMarshallerImpl.getEventHandler() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractUnmarshallerImpl.setEventHandler(ValidationEventHandler handler)
Allow an application to register a validation event handler.
|
void |
AbstractMarshallerImpl.setEventHandler(ValidationEventHandler handler) |
Modifier and Type | Class and Description |
---|---|
class |
ValidationEventCollector
ValidationEventHandler
implementation that collects all events. |
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.