org.exolab.castor.xml
Class Validator
java.lang.Object
org.exolab.castor.xml.Validator
- ClassValidator, TypeValidator
public class Validator
extends java.lang.Object
A class which can perform Validation on an Object model.
This class uses the ClassDescriptors and FieldDescriptors
to perform the validation.
Version:
- Keith Visco
Validator
public Validator()
Creates a new Validator
validate
public void validate(Object object)
throws ValidationException
Validates the given Object
object
- the Object to validate
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com