net.sf.jour.rt.view.config.impl.runtime
Class ValidatorImpl
java.lang.Object
net.sf.jour.rt.view.config.impl.runtime.ValidatorImpl
- All Implemented Interfaces:
- javax.xml.bind.Validator
- public class ValidatorImpl
- extends java.lang.Object
- implements javax.xml.bind.Validator
Validator implementation of JAXB RI.
Method Summary |
javax.xml.bind.ValidationEventHandler |
getEventHandler()
|
java.lang.Object |
getProperty(java.lang.String name)
There are no required properties, so simply throw an exception. |
void |
setEventHandler(javax.xml.bind.ValidationEventHandler handler)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
There are no required properties, so simply throw an exception. |
boolean |
validate(java.lang.Object o)
|
boolean |
validateRoot(java.lang.Object o)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jaxbContext
final DefaultJAXBContextImpl jaxbContext
ValidatorImpl
public ValidatorImpl(DefaultJAXBContextImpl c)
validateRoot
public boolean validateRoot(java.lang.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(java.lang.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(java.lang.String name,
java.lang.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 java.lang.Object getProperty(java.lang.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
Copyright © 2004 sourceforge. All Rights Reserved.