|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Validator
The Validator class is responsible for controlling the validation of content trees during runtime.
Method Summary | |
---|---|
ValidationEventHandler |
getEventHandler()
Return the current event handler or the default event handler if one hasn't been set. |
Object |
getProperty(String name)
Get the particular property in the underlying implementation of Validator. |
void |
setEventHandler(ValidationEventHandler handler)
Allow an application to register a validation event handler. |
void |
setProperty(String name,
Object value)
Set the particular property in the underlying implementation of Validator. |
boolean |
validate(Object subrootObj)
Validate the Java content tree starting at subrootObj. |
boolean |
validateRoot(Object rootObj)
Validate the Java content tree rooted at rootObj. |
Method Detail |
---|
ValidationEventHandler getEventHandler() throws JAXBException
JAXBException
Object getProperty(String name) throws PropertyException
PropertyException
void setEventHandler(ValidationEventHandler handler) throws JAXBException
JAXBException
void setProperty(String name, Object value) throws PropertyException
PropertyException
boolean validate(Object subrootObj) throws JAXBException
JAXBException
boolean validateRoot(Object rootObj) throws JAXBException
JAXBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |