com.sun.xml.bind.validator
Class ValidatorImpl

java.lang.Object
  extended by com.sun.xml.bind.validator.ValidatorImpl
All Implemented Interfaces:
Validator

Deprecated. in JAXB1.0.1

public class ValidatorImpl
extends java.lang.Object
implements Validator

Validator implementation of JAXB RI.

Since:
JAXB1.0

Constructor Summary
ValidatorImpl()
          Deprecated.  
 
Method Summary
 ValidationEventHandler getEventHandler()
          Deprecated.  
 java.lang.Object getProperty(java.lang.String name)
          Deprecated. There are no required properties, so simply throw an exception.
 void setEventHandler(ValidationEventHandler handler)
          Deprecated.  
 void setProperty(java.lang.String name, java.lang.Object value)
          Deprecated. There are no required properties, so simply throw an exception.
 boolean validate(java.lang.Object o)
          Deprecated.  
 boolean validateRoot(java.lang.Object o)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorImpl

public ValidatorImpl()
Deprecated. 
Method Detail

validateRoot

public boolean validateRoot(java.lang.Object o)
                     throws ValidationException
Deprecated. 
Specified by:
validateRoot in interface Validator
Throws:
ValidationException

validate

public boolean validate(java.lang.Object o)
                 throws ValidationException
Deprecated. 
Specified by:
validate in interface Validator
Throws:
ValidationException

getEventHandler

public ValidationEventHandler getEventHandler()
Deprecated. 
Specified by:
getEventHandler in interface Validator

setEventHandler

public void setEventHandler(ValidationEventHandler handler)
Deprecated. 
Specified by:
setEventHandler in interface Validator

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
                 throws PropertyException
Deprecated. 
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 java.lang.Object getProperty(java.lang.String name)
                             throws PropertyException
Deprecated. 
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 © 2005-2011 Oracle Corporation. All Rights Reserved.