org.exolab.castor.xml
Interface TypeValidator

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

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

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 © 2011. All Rights Reserved.