org.exolab.castor.xml
Interface TypeValidator

All Known Subinterfaces:
ClassValidator
All Known Implementing Classes:
AutomaticNamingTypeDescriptor, BigIntegerValidator, BindingDescriptor, BindingTypeDescriptor, BindXmlAutoNamingTypeDescriptor, BindXmlDescriptor, BindXmlNodeTypeDescriptor, BooleanValidator, BugFixDescriptor, ByteValidator, CacheTypeMappingDescriptor, CallMethodDescriptor, CategoryTypeDescriptor, ClassChoiceDescriptor, ClassMappingAccessTypeDescriptor, ClassMappingDescriptor, ClassTypeDescriptor, CollectionTypeDescriptor, ComponentBindingTypeChoiceDescriptor, ComponentBindingTypeDescriptor, ConfigurationDescriptor, ConfigurationTypeDescriptor, ContainerDescriptor, ContentMemberTypeDescriptor, CustomTestDescriptor, CustomTestTypeDescriptor, DateTimeValidator, DecimalValidator, DoubleValidator, DurationValidator, EnumBindingTypeDescriptor, EnumClassNameDescriptor, EnumerationDescriptor, EnumMemberDescriptor, ExcludeDescriptor, ExcludesDescriptor, ExpectedSourcesDescriptor, FailureDescriptor, FailureStepTypeDescriptor, FailureTypeDescriptor, FieldMappingCollectionTypeDescriptor, FieldMappingDescriptor, FieldTypeCollectionTypeDescriptor, FieldTypeDescriptor, FieldTypeVisibilityTypeDescriptor, FieldValidator, FloatValidator, ForceDescriptor, ForcesDescriptor, IdRefsValidator, IdRefValidator, IdValidator, IncludeDescriptor, IncludeTypeDescriptor, IntegerValidator, InterfaceDescriptor, IntrospectedXMLClassDescriptor, IntValidator, KeyGeneratorDefDescriptor, LdapDescriptor, ListenerDescriptor, ListenerTypeDescriptor, LongValidator, MappingRootDescriptor, MapToDescriptor, MarshalDescriptor, MarshallingTestDescriptor, MethodsDescriptor, NamedQueryDescriptor, NameValidator, NamingTypeDescriptor, NamingXMLTypeDescriptor, OnlySourceGenerationTestDescriptor, PackageTypeChoiceDescriptor, PackageTypeDescriptor, ParamDescriptor, PropertyDescriptor, PropertyTypeDescriptor, QueryHintDescriptor, Root_ObjectDescriptor, RootTypeDescriptor, SchemaDifferencesDescriptor, SchemaDifferencesTypeDescriptor, SchemaTestDescriptor, ShortValidator, SimpleTypeValidator, SourceGeneratorTestDescriptor, SqlDescriptor, SqlDirtyTypeDescriptor, StringTypeDescriptor, StringValidator, TestDescriptorChoiceDescriptor, TestDescriptorDescriptor, TypeTypeDescriptor, UnitTestCaseChoiceDescriptor, UnitTestCaseDescriptor, UnmarshalDescriptor, Validator, ValueDescriptor, VisibilityTypeDescriptor, 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.


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