astronomy.data.spectra.impl.runtime
Class ValidatorImpl
java.lang.Object
astronomy.data.spectra.impl.runtime.ValidatorImpl
- All Implemented Interfaces:
- javax.xml.bind.Validator
public class ValidatorImpl
- extends Object
- implements javax.xml.bind.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()
validateRoot
public boolean validateRoot(Object o)
throws javax.xml.bind.ValidationException
- Specified by:
validateRoot
in interface javax.xml.bind.Validator
- Throws:
javax.xml.bind.ValidationException
validate
public boolean validate(Object o)
throws javax.xml.bind.ValidationException
- Specified by:
validate
in interface javax.xml.bind.Validator
- Throws:
javax.xml.bind.ValidationException
getEventHandler
public javax.xml.bind.ValidationEventHandler getEventHandler()
- Specified by:
getEventHandler
in interface javax.xml.bind.Validator
setEventHandler
public void setEventHandler(javax.xml.bind.ValidationEventHandler handler)
- Specified by:
setEventHandler
in interface javax.xml.bind.Validator
setProperty
public void setProperty(String name,
Object value)
throws javax.xml.bind.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 javax.xml.bind.Validator
- Throws:
javax.xml.bind.PropertyException
getProperty
public Object getProperty(String name)
throws javax.xml.bind.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 javax.xml.bind.Validator
- Throws:
javax.xml.bind.PropertyException