org.exolab.castor.xml
Interface ClassValidator

All Known Implementing Classes:
Validator

public interface ClassValidator
extends TypeValidator

The validation interface used for validating class instances

Version:
$Revision: 1.1 $ $Date: 2001/02/12 22:49:47 $
Author:
Keith Visco

Method Summary
 void validate(java.lang.Object object)
          Validates the given Object
 void validate(java.lang.Object object, ClassDescriptorResolver resolver)
          Validates the given Object
 

Method Detail

validate

public void validate(java.lang.Object object)
              throws ValidationException
Validates the given Object
Specified by:
validate in interface TypeValidator
Parameters:
object - the Object to validate

validate

public void validate(java.lang.Object object,
                     ClassDescriptorResolver resolver)
              throws ValidationException
Validates the given Object
Parameters:
object - the Object to validate
resolver - the ClassDescriptorResolver to use for obtaining ClassDescriptors.


Intalio Inc. (C) 1999-2001. All rights reserved http://www.intalio.com