org.exolab.castor.xml
Interface TypeValidator

All Known Subinterfaces:
ClassValidator
All Known Implementing Classes:
BigIntegerValidator, BindXmlAutoNamingTypeDescriptor, BindXmlDescriptor, BindXmlNodeTypeDescriptor, BooleanValidator, ByteValidator, CacheTypeMappingDescriptor, ClassChoiceDescriptor, ClassMappingAccessTypeDescriptor, ClassMappingDescriptor, ContainerDescriptor, DateTimeValidator, DecimalValidator, DoubleValidator, DurationValidator, EnumerationDescriptor, FieldHandlerDefDescriptor, FieldMappingCollectionTypeDescriptor, FieldMappingDescriptor, FieldValidator, FloatValidator, IdRefsValidator, IdRefValidator, IdValidator, IncludeDescriptor, IntegerValidator, IntValidator, KeyGeneratorDefDescriptor, LdapDescriptor, LongValidator, MappingRootDescriptor, MapToDescriptor, NamedNativeQueryDescriptor, NamedQueryDescriptor, NameValidator, ParamDescriptor, PropertyDescriptor, PropertyTypeDescriptor, QueryHintDescriptor, ShortValidator, SimpleTypeValidator, SqlDescriptor, SqlDirtyTypeDescriptor, 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(Object object, ValidationContext context)
          Validates the given Object.
 

Method Detail

validate

void validate(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.