Package | Description |
---|---|
com.sun.xml.bind.v2.runtime |
Code that implements JAXBContext, Unmarshaller, and Marshaller.
|
com.sun.xml.bind.v2.runtime.unmarshaller | |
javax.xml.bind |
Provides a runtime binding framework for client applications including
unmarshalling, marshalling, and validation capabilities.
|
javax.xml.bind.helpers |
JAXB Provider Use Only: Provides partial default implementations for
some of the
javax.xml.bind interfaces. |
javax.xml.bind.util |
Useful client utility classes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MarshallerImpl.handleEvent(ValidationEvent event)
Default error handling behavior fot
Marshaller . |
boolean |
XMLSerializer.handleEvent(ValidationEvent event) |
void |
XMLSerializer.reportError(ValidationEvent ve) |
Modifier and Type | Method and Description |
---|---|
boolean |
UnmarshallingContext.handleEvent(ValidationEvent event) |
boolean |
UnmarshallerImpl.handleEvent(ValidationEvent event)
Default error handling behavior for
Unmarshaller . |
void |
UnmarshallingContext.handleEvent(ValidationEvent event,
boolean canRecover)
Reports an error to the user, and asks if s/he wants
to recover.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NotIdentifiableEvent
This event indicates that a problem was encountered resolving an ID/IDREF.
|
interface |
ParseConversionEvent
This event indicates that a problem was encountered while converting a
string from the XML data into a value of the target Java data type.
|
interface |
PrintConversionEvent
This event indicates that a problem was encountered while converting data
from the Java content tree into its lexical representation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ValidationEventHandler.handleEvent(ValidationEvent event)
Receive notification of a validation warning or error.
|
Modifier and Type | Class and Description |
---|---|
class |
NotIdentifiableEventImpl
Default implementation of the NotIdentifiableEvent interface.
|
class |
ParseConversionEventImpl
Default implementation of the ParseConversionEvent interface.
|
class |
PrintConversionEventImpl
Default implementation of the PrintConversionEvent interface.
|
class |
ValidationEventImpl
Default implementation of the ValidationEvent interface.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultValidationEventHandler.handleEvent(ValidationEvent event) |
Modifier and Type | Method and Description |
---|---|
ValidationEvent[] |
ValidationEventCollector.getEvents()
Return an array of ValidationEvent objects containing a copy of each of
the collected errors and warnings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ValidationEventCollector.handleEvent(ValidationEvent event) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.