org.exolab.castor.xml

Class Validator

public class Validator extends Object implements ClassValidator

A class which can perform Validation on an Object model. This class uses the ClassDescriptors and FieldDescriptors to perform the validation.

Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:16 $

Author: Keith Visco

Constructor Summary
Validator()
Creates a new Validator
Method Summary
voidvalidate(Object object)
Validates the given Object
voidvalidate(Object object, ValidationContext context)
Validates the given Object

Constructor Detail

Validator

public Validator()
Creates a new Validator

Method Detail

validate

public void validate(Object object)
Validates the given Object

Parameters: object the Object to validate

validate

public void validate(Object object, ValidationContext context)
Validates the given Object

Parameters: object the Object to validate context the ValidationContext to use during validation.

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