|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.bind.helpers.DefaultValidationEventHandler
public class DefaultValidationEventHandler
Default implementation of a ValidationEventHandler
.
Causes the validation to fail as soon as the first error or
fatal error is encountered.
This instance of ValidationEventHandler
is
suitable for use of the unmarshallers or validators default event handler.
Constructor Summary | |
---|---|
DefaultValidationEventHandler()
Creates a new instance of DefaultValidationEventHandler . |
Method Summary | |
---|---|
boolean |
handleEvent(ValidationEvent event)
The handleEvent method is invoked by the
JAXB provider, if a problem was found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultValidationEventHandler()
Creates a new instance of DefaultValidationEventHandler
.
Method Detail |
---|
public boolean handleEvent(ValidationEvent event)
ValidationEventHandler
The handleEvent
method is invoked by the
JAXB provider, if a problem was found. The events
ValidationEventLocator
may be
used to locate the source of the problem.
handleEvent
in interface ValidationEventHandler
event
- The event being reported to the JAXB user.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |