public interface Validator
| Modifier and Type | Method and Description |
|---|---|
ValidationEventHandler |
getEventHandler() |
Object |
getProperty(String name) |
void |
setEventHandler(ValidationEventHandler handler) |
void |
setProperty(String name,
Object value) |
boolean |
validate(Object subRoot) |
boolean |
validateRoot(Object rootObj) |
ValidationEventHandler getEventHandler() throws JAXBException
JAXBExceptionObject getProperty(String name) throws PropertyException
PropertyExceptionvoid setEventHandler(ValidationEventHandler handler) throws JAXBException
JAXBExceptionvoid setProperty(String name, Object value) throws PropertyException
PropertyExceptionboolean validate(Object subRoot) throws JAXBException
JAXBExceptionboolean validateRoot(Object rootObj) throws JAXBException
JAXBExceptionCopyright © 2013. All Rights Reserved.