Class ValidationEventCollector

java.lang.Object
jakarta.xml.bind.util.ValidationEventCollector
All Implemented Interfaces:
ValidationEventHandler

public class ValidationEventCollector extends Object implements ValidationEventHandler
ValidationEventHandler implementation that collects all events.

To use this class, create a new instance and pass it to the setEventHandler method of the Unmarshaller, Marshaller class. After the call to validate or unmarshal completes, call the getEvents method to retrieve all the reported errors and warnings.

Since:
1.6, JAXB 1.0
See Also: