A B C D E G I N R V

A

AnnotatedObjectValidator - Class in net.sourceforge.annovalidator.validation
Validates an object based on ValidatorDescriptors applied to its Fields.
AnnotatedObjectValidator() - Constructor for class net.sourceforge.annovalidator.validation.AnnotatedObjectValidator
 

B

BAD_PARAMETER_TEMPLATE - Static variable in exception net.sourceforge.annovalidator.validation.exception.ValidatorAnnotationException
 

C

constructFromComposite(DateUtil.CompositeDatePart[], Object, String) - Static method in class net.sourceforge.annovalidator.util.DateUtil
 
convertToDate(DateUtil.DateSource, Object, Object, String) - Static method in class net.sourceforge.annovalidator.util.DateUtil
 
convertToDate(Object, String[]) - Static method in class net.sourceforge.annovalidator.util.DateUtil
Attempts to convert object to a Date using one of the following conversion strategies: If object is a Date, then is it returned verbatim. If object is a Long then it is parsed as a time in milliseconds. If object is a String then the following strategies are attempted: If dateFormat contains a conversion pattern then object is parsed using that pattern. If no dateFormat is provided, then the system will attempt to determine the appropriate conversion pattern by itself.

D

DateUtil - Class in net.sourceforge.annovalidator.util
Utility for parsing and converting Dates.
DateUtil() - Constructor for class net.sourceforge.annovalidator.util.DateUtil
 
DateUtil.CompositeDatePart - Annotation Type in net.sourceforge.annovalidator.util
Identifies a part of a date, along with the field used to specify its value.
DateUtil.DatePartType - Enum in net.sourceforge.annovalidator.util
Identifies part of a date, and identifies the format pattern required to parse that portion of the date.
DateUtil.DatePartType.UnrecognisedDatePartException - Class in net.sourceforge.annovalidator.util
Exception indicating that a given value does not match any known date formatting pattern.
DateUtil.DatePartType.UnrecognisedDatePartException(String) - Constructor for class net.sourceforge.annovalidator.util.DateUtil.DatePartType.UnrecognisedDatePartException
Constructs a new UnrecognisedDatePartException with the value that could not be matched.
DateUtil.DateSource - Annotation Type in net.sourceforge.annovalidator.util
Specifies a date to be passed as an argument to a validator.
DateUtil.DateSource.SourceType - Enum in net.sourceforge.annovalidator.util
Defines the available sources for a date.
DEFAULT_DATE_FORMATS - Static variable in class net.sourceforge.annovalidator.util.DateUtil
 
determineAnnotationParameterMethod(Annotation, String) - Static method in class net.sourceforge.annovalidator.util.ReflectionUtil
Determines the Method on annotation that matches parameterName.
determineAnnotationParameterType(Annotation, String) - Static method in class net.sourceforge.annovalidator.util.ReflectionUtil
Determines the type of a parameter (implemented as a Method) on an Annotation.
determineAnnotationParameterValue(Annotation, String) - Static method in class net.sourceforge.annovalidator.util.ReflectionUtil
Determines the value of a particular parameter in an Annotation.
determineFieldValue(Object, Field) - Static method in class net.sourceforge.annovalidator.util.ReflectionUtil
Determines the value of field in object.
determineFieldValue(Object, String) - Static method in class net.sourceforge.annovalidator.util.ReflectionUtil
Returns the value of the Field named fieldName on object.
determineFormatPatternForDatePart(String) - Method in enum net.sourceforge.annovalidator.util.DateUtil.DatePartType
Returns the date formatting pattern that matches value for the current DatePartType.

E

ERROR_CODE_TEMPLATE - Static variable in exception net.sourceforge.annovalidator.validation.exception.ValidatorAnnotationException
 

G

getAnnotation(Field, Class) - Static method in class net.sourceforge.annovalidator.util.ReflectionUtil
 
getArguments() - Method in exception net.sourceforge.annovalidator.validation.exception.ReportedValidationException
 
getErrorCode() - Method in exception net.sourceforge.annovalidator.validation.exception.ReportedValidationException
 
getField(Object, String) - Static method in class net.sourceforge.annovalidator.util.ReflectionUtil
Returns the Field on object that matches fieldName.
getField() - Method in exception net.sourceforge.annovalidator.validation.exception.ReportedValidationException
 
getMessage() - Method in exception net.sourceforge.annovalidator.validation.exception.ValidatorAnnotationException
 
getMessage() - Method in exception net.sourceforge.annovalidator.validation.exception.ValidatorClassException
 
getMessage() - Method in exception net.sourceforge.annovalidator.validation.exception.ValidatorFieldException
 
getMessage() - Method in exception net.sourceforge.annovalidator.validation.exception.ValidatorMethodException
 
getValidSeperators() - Method in enum net.sourceforge.annovalidator.util.DateUtil.DatePartType
 

I

isAnnotationParameterPresent(Annotation, String) - Static method in class net.sourceforge.annovalidator.util.ReflectionUtil
Determines whether annotation has a parameter named parameterName.
isAnnotationPresent(Class<?>, Class<ValidationStep>) - Static method in class net.sourceforge.annovalidator.util.ReflectionUtil
Determines whether objectClass is annotated with annotationType.

N

net.sourceforge.annovalidator.builtin.validators - package net.sourceforge.annovalidator.builtin.validators
 
net.sourceforge.annovalidator.util - package net.sourceforge.annovalidator.util
 
net.sourceforge.annovalidator.validation - package net.sourceforge.annovalidator.validation
 
net.sourceforge.annovalidator.validation.annotations - package net.sourceforge.annovalidator.validation.annotations
 
net.sourceforge.annovalidator.validation.exception - package net.sourceforge.annovalidator.validation.exception
 

R

recordValidationViolation(String, String, Object) - Method in interface net.sourceforge.annovalidator.validation.ValidationResult
Records a violation of a validation rule for field.
ReflectionUtil - Class in net.sourceforge.annovalidator.util
Utility class for performing common reflection operations with more sensible error handling.
ReflectionUtil() - Constructor for class net.sourceforge.annovalidator.util.ReflectionUtil
 
ReportedValidationException - Exception in net.sourceforge.annovalidator.validation.exception
 
ReportedValidationException(String, String, Object) - Constructor for exception net.sourceforge.annovalidator.validation.exception.ReportedValidationException
 

V

validate(Object, DateUtil.CompositeDatePart[], String) - Method in class net.sourceforge.annovalidator.builtin.validators.ValidateCompositeDate.CompositeDateValidator
Validates a composite date, with each of its parts specified by a different field in target.
validate(DateUtil.DateSource, DateUtil.DateSource, Field, Object, ValidateDateCompare.ComparisonType, String, String[], String, boolean) - Method in class net.sourceforge.annovalidator.builtin.validators.ValidateDateCompare.DateComparisonValidator
 
validate(Object, Object) - Method in class net.sourceforge.annovalidator.builtin.validators.ValidateMatchingField.MatchingFieldValidator
Tests that target matches the value of the matchingFieldName field on object.
validate(Object) - Method in class net.sourceforge.annovalidator.builtin.validators.ValidateRequired.RequiredFieldValidator
Validator method for ValidateRequired.
validate(Object, ValidationResult) - Static method in class net.sourceforge.annovalidator.validation.AnnotatedObjectValidator
Validates an object based on annotations on its fields.
validate(Object, ValidationResult, Integer) - Static method in class net.sourceforge.annovalidator.validation.AnnotatedObjectValidator
Validates an object based on annotations on its fields.
ValidateCompositeDate - Annotation Type in net.sourceforge.annovalidator.builtin.validators
Validator for dates that are specified using multiple fields on a form, such as having seperate text fields for day, month and year.
ValidateCompositeDate.CompositeDateValidator - Class in net.sourceforge.annovalidator.builtin.validators
Class for validating objects annotated with the ValidateCompositeDate annotation.
ValidateCompositeDate.CompositeDateValidator() - Constructor for class net.sourceforge.annovalidator.builtin.validators.ValidateCompositeDate.CompositeDateValidator
 
ValidateDateCompare - Annotation Type in net.sourceforge.annovalidator.builtin.validators
 
ValidateDateCompare.ComparisonType - Enum in net.sourceforge.annovalidator.builtin.validators
 
ValidateDateCompare.DateComparisonValidator - Class in net.sourceforge.annovalidator.builtin.validators
 
ValidateDateCompare.DateComparisonValidator() - Constructor for class net.sourceforge.annovalidator.builtin.validators.ValidateDateCompare.DateComparisonValidator
 
ValidateMatchingField - Annotation Type in net.sourceforge.annovalidator.builtin.validators
Validates that the annotated field matches the field specified in matchingFieldName.
ValidateMatchingField.MatchingFieldValidator - Class in net.sourceforge.annovalidator.builtin.validators
Validator class for ValidateMatchingField.
ValidateMatchingField.MatchingFieldValidator() - Constructor for class net.sourceforge.annovalidator.builtin.validators.ValidateMatchingField.MatchingFieldValidator
 
ValidateRequired - Annotation Type in net.sourceforge.annovalidator.builtin.validators
Validator for Fields that require a value.
ValidateRequired.RequiredFieldValidator - Class in net.sourceforge.annovalidator.builtin.validators
Validator class for ValidateRequired.
ValidateRequired.RequiredFieldValidator() - Constructor for class net.sourceforge.annovalidator.builtin.validators.ValidateRequired.RequiredFieldValidator
 
ValidationResult - Interface in net.sourceforge.annovalidator.validation
Interface for classes that deal with validation errors for specific frameworks, allowing for multiple ways of handling validation results.
ValidationStep - Annotation Type in net.sourceforge.annovalidator.validation.annotations
Annotation for denoting that the annotated field should only be validated when the step argument in AnnotatedObjectValidator.validate(Object, BindingResult, int) matches one of the numbers in value.
ValidatorAnnotationException - Exception in net.sourceforge.annovalidator.validation.exception
 
ValidatorAnnotationException(ValidatorAnnotationException.Cause, Annotation, String, Exception) - Constructor for exception net.sourceforge.annovalidator.validation.exception.ValidatorAnnotationException
 
ValidatorAnnotationException.Cause - Enum in net.sourceforge.annovalidator.validation.exception
 
ValidatorClassException - Exception in net.sourceforge.annovalidator.validation.exception
 
ValidatorClassException(Class<?>, Exception) - Constructor for exception net.sourceforge.annovalidator.validation.exception.ValidatorClassException
 
ValidatorDescriptor - Annotation Type in net.sourceforge.annovalidator.validation.annotations
Annotation to identify a validator annotation.
ValidatorDescriptor.ArgumentMapping - Annotation Type in net.sourceforge.annovalidator.validation.annotations
Annotation for mapping a value in the validator to an argument in the validator method.
ValidatorDescriptor.ArgumentMapping.ArgumentType - Enum in net.sourceforge.annovalidator.validation.annotations
Specifies the type of value that should be mapped to the argument at index.
ValidatorFieldException - Exception in net.sourceforge.annovalidator.validation.exception
 
ValidatorFieldException(String, Exception) - Constructor for exception net.sourceforge.annovalidator.validation.exception.ValidatorFieldException
 
ValidatorMethodException - Exception in net.sourceforge.annovalidator.validation.exception
 
ValidatorMethodException(String, Class<?>[], Exception) - Constructor for exception net.sourceforge.annovalidator.validation.exception.ValidatorMethodException
Constructs a new ValidatorMethodException for a Method that cannot be identified with the specified validatorMethodArguments.
ValidatorMethodException(String, Object, Object[], Exception) - Constructor for exception net.sourceforge.annovalidator.validation.exception.ValidatorMethodException
Constructs a new ValidatorMethodException for a Method that has failed to invoke.
valueOf(String) - Static method in enum net.sourceforge.annovalidator.builtin.validators.ValidateDateCompare.ComparisonType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sourceforge.annovalidator.util.DateUtil.DatePartType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sourceforge.annovalidator.util.DateUtil.DateSource.SourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sourceforge.annovalidator.validation.annotations.ValidatorDescriptor.ArgumentMapping.ArgumentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sourceforge.annovalidator.validation.exception.ValidatorAnnotationException.Cause
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sourceforge.annovalidator.builtin.validators.ValidateDateCompare.ComparisonType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum net.sourceforge.annovalidator.util.DateUtil.DatePartType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum net.sourceforge.annovalidator.util.DateUtil.DateSource.SourceType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum net.sourceforge.annovalidator.validation.annotations.ValidatorDescriptor.ArgumentMapping.ArgumentType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum net.sourceforge.annovalidator.validation.exception.ValidatorAnnotationException.Cause
Returns an array containing the constants of this enum type, in the order they're declared.

A B C D E G I N R V

Copyright © 2008. All Rights Reserved.