public class ValidationEventHandlerImpl
extends java.lang.Object
implements javax.xml.bind.ValidationEventHandler
| Constructor and Description | 
|---|
ValidationEventHandlerImpl(boolean continueOnError)
A constructor for the ValidationEventHandlerImpl object 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
handleEvent(javax.xml.bind.ValidationEvent event)
An event handler callback for the XML serializing operation 
 | 
boolean | 
hasErrors()
Checks if any errors occurred while serializing an XML document 
 | 
java.lang.String | 
toString()
A method that returns a string representation of a ValidationEventHandlerImpl object 
 | 
public ValidationEventHandlerImpl(boolean continueOnError)
continueOnError - - boolean that determines if XML serializing operation should be persisted in the event of an errorpublic boolean handleEvent(javax.xml.bind.ValidationEvent event)
handleEvent in interface javax.xml.bind.ValidationEventHandlerevent - the XML validation event that needs to be handledpublic boolean hasErrors()
public java.lang.String toString()
toString in class java.lang.Object