net.sf.jour.config.impl.runtime
Class ValidatorImpl

java.lang.Object
  extended bynet.sf.jour.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.


Field Summary
(package private)  DefaultJAXBContextImpl jaxbContext
           
 
Constructor Summary
ValidatorImpl(DefaultJAXBContextImpl c)
           
 
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
 

Field Detail

jaxbContext

final DefaultJAXBContextImpl jaxbContext
Constructor Detail

ValidatorImpl

public ValidatorImpl(DefaultJAXBContextImpl c)
Method Detail

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.