|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.util.JaxbUtil.ValidationEventCollector
public static class JaxbUtil.ValidationEventCollector
Validation handler for JAXB.
| Constructor Summary | |
|---|---|
JaxbUtil.ValidationEventCollector()
|
|
| Method Summary | |
|---|---|
List |
getEvents()
Returns all the collected errors and warnings or an empty list if there weren't any. |
boolean |
handleEvent(ValidationEvent event)
|
boolean |
hasEvents()
Returns true if this event collector contains at least one ValidationEvent. |
void |
reset()
Clear all collected errors and warnings. |
String |
toString()
Returns a summary of the validation events as String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JaxbUtil.ValidationEventCollector()
| Method Detail |
|---|
public List getEvents()
public void reset()
public boolean hasEvents()
public boolean handleEvent(ValidationEvent event)
handleEvent in interface ValidationEventHandlerpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||