org.exolab.castor.xml
Interface TypeValidator

All Known Subinterfaces:
ClassValidator
All Known Implementing Classes:
BigIntegerValidator, BooleanValidator, ByteValidator, DateTimeValidator, DecimalValidator, DoubleValidator, DurationValidator, FloatValidator, IdRefsValidator, IdRefValidator, IdValidator, IntegerValidator, IntValidator, LongValidator, ShortValidator, SimpleTypeValidator, StringValidator, Validator

public interface TypeValidator

The basic type validation interface class.

Version:
$Revision: 6761 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Author:
Keith Visco

Method Summary
 void validate(java.lang.Object object, ValidationContext context)
          Validates the given Object.
 

Method Detail

validate

public void validate(java.lang.Object object,
                     ValidationContext context)
              throws ValidationException
Validates the given Object.

Parameters:
object - the Object to validate
context - the ValidationContext
Throws:
ValidationException - if the object fails validation.


Copyright 2008 null. All Rights Reserved.