org.tagnetic.core.jaxb.tagneticconfig.impl.runtime
Class ValidatorImpl

java.lang.Object
  extended byorg.tagnetic.core.jaxb.tagneticconfig.impl.runtime.ValidatorImpl

public class ValidatorImpl
extends java.lang.Object

Validator implementation of JAXB RI.


Constructor Summary
ValidatorImpl(DefaultJAXBContextImpl c)
           
 
Method Summary
 ValidationEventHandler getEventHandler()
           
 java.lang.Object getProperty(java.lang.String name)
          There are no required properties, so simply throw an exception.
 void setEventHandler(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
 

Constructor Detail

ValidatorImpl

public ValidatorImpl(DefaultJAXBContextImpl c)
Method Detail

validateRoot

public boolean validateRoot(java.lang.Object o)
                     throws ValidationException
Throws:
ValidationException

validate

public boolean validate(java.lang.Object o)
                 throws ValidationException
Throws:
ValidationException

getEventHandler

public ValidationEventHandler getEventHandler()

setEventHandler

public void setEventHandler(ValidationEventHandler handler)

setProperty

public void setProperty(java.lang.String name,
                        java.lang.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

Throws:
PropertyException

getProperty

public java.lang.Object getProperty(java.lang.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

Throws:
PropertyException


Copyright © 2005 tagnetic.org. All Rights Reserved.