org.jcoderz.phoenix.report.jaxb.impl.runtime
Class ValidatorImpl
java.lang.Object
org.jcoderz.phoenix.report.jaxb.impl.runtime.ValidatorImpl
- All Implemented Interfaces:
- Validator
public class ValidatorImpl
- extends Object
- implements Validator
Validator implementation of JAXB RI.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatorImpl
public ValidatorImpl(DefaultJAXBContextImpl c)
validateRoot
public boolean validateRoot(Object o)
throws ValidationException
- Specified by:
validateRoot in interface Validator
- Throws:
ValidationException
validate
public boolean validate(Object o)
throws ValidationException
- Specified by:
validate in interface Validator
- Throws:
ValidationException
getEventHandler
public ValidationEventHandler getEventHandler()
- Specified by:
getEventHandler in interface Validator
setEventHandler
public void setEventHandler(ValidationEventHandler handler)
- Specified by:
setEventHandler in interface Validator
setProperty
public void setProperty(String name,
Object value)
throws PropertyException
- There are no required properties, so simply throw an exception. Other
providers may have support for properties on Validator, but the RI doesn't
- Specified by:
setProperty in interface Validator
- Throws:
PropertyException
getProperty
public Object getProperty(String name)
throws PropertyException
- There are no required properties, so simply throw an exception. Other
providers may have support for properties on Validator, but the RI doesn't
- Specified by:
getProperty in interface Validator
- Throws:
PropertyException
Copyright 2007 The jCoderZ Project.