A B C D E F G H I K L M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractNuitonValidatorContext<O,V,E> - Class in org.nuiton.validator.bean
-
Defines a context of validation used for a single bean.
- AbstractNuitonValidatorContext() - Constructor for class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- AbstractNuitonValidatorProvider - Class in org.nuiton.validator
-
Abstract provider of validator.
- AbstractNuitonValidatorProvider(String) - Constructor for class org.nuiton.validator.AbstractNuitonValidatorProvider
- AbstractNuitonValidatorProvider.ModelEntry<O> - Class in org.nuiton.validator
- AbstractValidator<O> - Class in org.nuiton.validator.bean
-
TODO
- AbstractValidator(NuitonValidatorProvider, Class<O>) - Constructor for class org.nuiton.validator.bean.AbstractValidator
- AbstractValidatorEvent<V> - Class in org.nuiton.validator.bean
-
TODO
- AbstractValidatorEvent(V, String, NuitonValidatorScope, String[], String[]) - Constructor for class org.nuiton.validator.bean.AbstractValidatorEvent
- accept(File, String) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider.ValidatorFilenameFilter
- addAllBeans(Collection<O>) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- addBean(O) - Method in class org.nuiton.validator.bean.list.BeanListValidator
-
Add a bean to validate.
- addBeanListValidatorListener(BeanListValidatorListener) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- addCurrent(Object) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- addMessagesForScope(NuitonValidatorScope, Map<String, List<String>>) - Method in class org.nuiton.validator.NuitonValidatorResult
- addPropertyChangeListener(PropertyChangeListener) - Method in class org.nuiton.validator.bean.AbstractValidator
- addPropertyChangeListener(String, PropertyChangeListener) - Method in class org.nuiton.validator.bean.AbstractValidator
- addSimpleBeanValidatorListener(SimpleBeanValidatorListener) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- againstIndexExpression - Variable in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
-
Lors de l'utilisation de la againstProperty et qu'un ne peut pas utiliser le equals sur l'objet, on peut spécifier une expression pour exclure des tests lors de la recherche de la violation de clef unique.
- againstMe - Variable in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
-
Une propriété optionnelle pour utiliser l'objet en cours de validation pour valider que l'objet reflétée par cette propriété ne viole pas l'intégrité de la clef unique.
- againstProperty - Variable in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
-
Une propriété optionnelle pour valider que l'objet reflétée par cette propriété ne viole pas l'intégrité de la clef unique.
- ALL - org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.Mode
-
toutes les valeurs de la collection doivent etre valides
- AT_LEAST_ONE - org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.Mode
-
au moins une entrée de la collection doit etre valide
B
- bean - Variable in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
-
Bean to validate.
- bean - Variable in class org.nuiton.validator.bean.list.BeanListValidatorEvent
-
the bean on which event occurs.
- bean - Variable in class org.nuiton.validator.bean.list.BeanListValidatorMessage
-
the bean on which event occurs.
- BEAN_PROPERTY - Static variable in class org.nuiton.validator.bean.simple.SimpleBeanValidator
-
Name of the bounded property
bean
. - BeanListValidator<O> - Class in org.nuiton.validator.bean.list
-
To validate a list of beans.
- BeanListValidator(NuitonValidatorProvider, Class<O>, String) - Constructor for class org.nuiton.validator.bean.list.BeanListValidator
- BeanListValidator(NuitonValidatorProvider, Class<O>, String, NuitonValidatorScope...) - Constructor for class org.nuiton.validator.bean.list.BeanListValidator
- BeanListValidator.NuitonValidatorContext<O> - Class in org.nuiton.validator.bean.list
- BeanListValidatorEvent - Class in org.nuiton.validator.bean.list
-
Event to be fired when some messages changed on a given field / scope of a bean.
- BeanListValidatorEvent(BeanListValidator<?>, Object, String, NuitonValidatorScope, String[], String[]) - Constructor for class org.nuiton.validator.bean.list.BeanListValidatorEvent
- BeanListValidatorListener - Interface in org.nuiton.validator.bean.list
-
The definition of an event on
BeanListValidatorEvent
to be fired by aBeanListValidator
. - BeanListValidatorMessage<E extends BeanListValidatorMessage<?>> - Class in org.nuiton.validator.bean.list
-
TODO
- BeanListValidatorMessage(BeanListValidator<?>, Object, String, String, NuitonValidatorScope) - Constructor for class org.nuiton.validator.bean.list.BeanListValidatorMessage
- booleanParams - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- booleans - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
C
- c - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
-
le context de parcours
- canValidate - Variable in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
-
State to know if the validator can be used (we keep this state for performance reasons : do not want to compute this value each time a validation is asked...).
- canValidate - Variable in class org.nuiton.validator.bean.AbstractValidator
-
State to know if the validator can be used (we keep this state for performance reasons : do not want to compute this value each time a validation is asked...).
- changed - Variable in class org.nuiton.validator.bean.AbstractValidator
-
State to indicate that validator has changed since the last time bean was setted.
- CHANGED_PROPERTY - Static variable in class org.nuiton.validator.bean.AbstractValidator
-
Name of the bounded property
AbstractValidator.changed
. - CITY_NAME_REGEXP - Static variable in class org.nuiton.validator.xwork2.field.FrenchCityNameFieldValidator
- clazz - Variable in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider.ValidatorFilenameFilter
- clear() - Method in class org.nuiton.validator.NuitonValidatorResult
- clearMessagesForScope(NuitonValidatorScope) - Method in class org.nuiton.validator.NuitonValidatorResult
- CollectionFieldExpressionValidator - Class in org.nuiton.validator.xwork2.field
-
Un validateur basé sur
FieldExpressionValidator
qui valide sur une collection de propriéte. - CollectionFieldExpressionValidator() - Constructor for class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- CollectionFieldExpressionValidator.Mode - Enum in org.nuiton.validator.xwork2.field
- CollectionFieldExpressionValidator.WalkerContext - Class in org.nuiton.validator.xwork2.field
- collectionFieldName - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
-
pour indiquer la propriété qui contient la liste à valider.
- collectionFieldName - Variable in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
-
pour indiquer la propriété qui contient la liste à valider.
- CollectionUniqueKeyValidator - Class in org.nuiton.validator.xwork2.field
-
Un validateur basé sur
FieldExpressionValidator
qui valide une clef unique sur une collection. - CollectionUniqueKeyValidator() - Constructor for class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- compare(NuitonValidator<?>, NuitonValidator<?>) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider.ValidatorComparator
- compareTo(E) - Method in class org.nuiton.validator.bean.list.BeanListValidatorMessage
- compareTo(E) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
- configuration - Variable in class org.nuiton.validator.xwork2.XWork2ValidatorUtil.NuitonDefaultUnknownHandler
- containsField(String) - Method in class org.nuiton.validator.bean.AbstractValidator
-
Test a the validator contains the field given his name
- containsField(String) - Method in class org.nuiton.validator.xwork2.XWork2ScopeValidator
-
Test if the validator contains the field given his name
- containsField(String, NuitonValidatorScope) - Method in class org.nuiton.validator.NuitonValidatorResult
- context - Variable in class org.nuiton.validator.AbstractNuitonValidatorProvider.ModelEntry
- context - Variable in class org.nuiton.validator.bean.simple.SimpleBeanValidator
-
Context of the registred bean to validate.
- context - Variable in class org.nuiton.validator.NuitonValidatorModel
-
Context of validation (can be
null
, for no context). - context - Variable in class org.nuiton.validator.xwork2.XWork2ScopeValidator
-
the validation named context (can be null)
- CONTEXT_PROPERTY - Static variable in class org.nuiton.validator.bean.AbstractValidator
-
Name of the bounded property
context
. - contexts - Variable in class org.nuiton.validator.bean.list.BeanListValidator
-
Context for each bean registred.
- conversionErrors - Variable in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
-
map of conversion errors detected by this validator
- convert(String, String, Class<T>) - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
-
Convert a value.
- convert(String, String, Class<T>) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
-
Convert a value.
- convert(O, String, String, Class<T>) - Method in class org.nuiton.validator.bean.AbstractValidator
- convert(O, String, String, Class<T>) - Method in class org.nuiton.validator.bean.list.BeanListValidator
-
Convert a value.
- convert(O, String, String, Class<T>) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- createEvent(BeanListValidator<O>, O, String, NuitonValidatorScope, String[], String[]) - Method in class org.nuiton.validator.bean.list.BeanListValidator.NuitonValidatorContext
- createEvent(SimpleBeanValidator<O>, O, String, NuitonValidatorScope, String[], String[]) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator.NuitonValidatorContext
- createEvent(V, O, String, NuitonValidatorScope, String[], String[]) - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- createModelEntry(Class<O>, String, NuitonValidatorScope...) - Static method in class org.nuiton.validator.AbstractNuitonValidatorProvider.ModelEntry
- createValuestack() - Static method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil
- current - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
D
- defaultProviderName - Static variable in class org.nuiton.validator.NuitonValidatorFactory
- delegate - Variable in class org.nuiton.validator.bean.list.BeanListValidator
-
The delegate validator used to validate the bean.
- detectFields(Class<O>, String, NuitonValidatorScope[]) - Static method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil
- detectFieldsForScope(ActionValidatorManager, Class<?>, NuitonValidatorScope, String, Set<String>, boolean) - Static method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil
- detectValidators(File, Pattern, NuitonValidatorScope[], Class<?>...) - Method in interface org.nuiton.validator.NuitonValidatorProvider
-
Detects in the given directory validators.
- detectValidators(File, Pattern, NuitonValidatorScope[], Class<?>...) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider
- doubleParams - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- doubles - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- doValidate() - Method in class org.nuiton.validator.bean.AbstractValidator
- doValidate() - Method in class org.nuiton.validator.bean.list.BeanListValidator
- doValidate() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- doValidate(O) - Method in class org.nuiton.validator.bean.AbstractValidator
- doValidate(O) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- doValidate(O) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
E
- EmailFieldValidator - Class in org.nuiton.validator.xwork2.field
-
Validator for email addresses : - Deal with + in addresses
- EmailFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.EmailFieldValidator
- EMPTY_RESULT - Static variable in class org.nuiton.validator.xwork2.XWork2ScopeValidator
- equals(Object) - Method in class org.nuiton.validator.AbstractNuitonValidatorProvider.ModelEntry
- equals(Object) - Method in class org.nuiton.validator.bean.list.BeanListValidatorMessage
- equals(Object) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
- ERROR - org.nuiton.validator.NuitonValidatorScope
-
the error scope level.
- evaluateExpression(String, Object) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- evaluateSkipParameter(Object) - Method in class org.nuiton.validator.xwork2.field.NuitonFieldExpressionValidator
-
Evaluate the skip parameter value against the object to validate.
- evaluateSkipParameter(Object) - Method in class org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport
-
Evaluate the skip parameter value against the object to validate.
- EXACTLY_ONE - org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.Mode
-
exactement une entrée dela collection doit être valide
- ExistingDirectoryFieldValidator - Class in org.nuiton.validator.xwork2.field
-
ExistingDirectoryFieldValidator checks that a File field exists and is a directory.
- ExistingDirectoryFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.ExistingDirectoryFieldValidator
- ExistingFileFieldValidator - Class in org.nuiton.validator.xwork2.field
-
ExistingFileFieldValidator checks that a File field exists. * fieldName - The field name this validator is validating.
- ExistingFileFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.ExistingFileFieldValidator
- expressionForFirst - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
-
expression a valider sur la premiètre entrée de la collection.
- expressionForLast - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
-
expression a valider sur la dernière entrée de la collection.
- EXTRA_BOOLEAN_PARAM_ENTRY_PATTERN - Static variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- EXTRA_DOUBLE_PARAM_ENTRY_PATTERN - Static variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- EXTRA_INT_PARAM_ENTRY_PATTERN - Static variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- EXTRA_LONG_PARAM_ENTRY_PATTERN - Static variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- EXTRA_SHORT_PARAM_ENTRY_PATTERN - Static variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- EXTRA_STRING_PARAM_ENTRY_PATTERN - Static variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
F
- FATAL - org.nuiton.validator.NuitonValidatorScope
-
the fatal error scope level.
- field - Variable in class org.nuiton.validator.bean.AbstractValidatorEvent
-
the field impacted by the validator
- field - Variable in class org.nuiton.validator.bean.list.BeanListValidatorMessage
-
the field that produce the message
- field - Variable in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
-
the field that produce the message
- FieldExpressionWithParamsValidator - Class in org.nuiton.validator.xwork2.field
-
Extends
FieldExpressionValidator
to add some extra parameters available in theFieldExpressionValidator.getExpression()
- FieldExpressionWithParamsValidator() - Constructor for class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- FieldMap() - Constructor for class org.nuiton.validator.NuitonValidatorResult.FieldMap
- fieldNames - Variable in class org.nuiton.validator.xwork2.XWork2ScopeValidator
-
the list of field names detected for this validator
- fields - Variable in class org.nuiton.validator.NuitonValidatorModel
-
Set of fields that can be validated for the type and context
- FieldValidatorUtil - Class in org.nuiton.validator.xwork2.field
-
Util tool for Field validator.
- FieldValidatorUtil() - Constructor for class org.nuiton.validator.xwork2.field.FieldValidatorUtil
- FINESS_REGEXP - Static variable in class org.nuiton.validator.xwork2.field.FrenchFinessFieldValidator
- fireFieldChanged(BeanListValidatorEvent) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- fireFieldChanged(SimpleBeanValidatorEvent) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- firePropertyChange(String, Object, Object) - Method in class org.nuiton.validator.bean.AbstractValidator
- FrenchCityNameFieldValidator - Class in org.nuiton.validator.xwork2.field
-
Validator for French cities names : - No number accepted - Accept spaces, - and '
- FrenchCityNameFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.FrenchCityNameFieldValidator
- FrenchFinessFieldValidator - Class in org.nuiton.validator.xwork2.field
- FrenchFinessFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.FrenchFinessFieldValidator
- FrenchLastNameFieldValidator - Class in org.nuiton.validator.xwork2.field
-
Validator for French last names : - No number accepted - Accept spaces, - and '
- FrenchLastNameFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.FrenchLastNameFieldValidator
- FrenchPhoneNumberFieldValidator - Class in org.nuiton.validator.xwork2.field
-
Validator used to validate French phone numbers like : - 0000000000 - 00.00.00.00.00 - 00-00-00-00-00 - 00 00 00 00 00
- FrenchPhoneNumberFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.FrenchPhoneNumberFieldValidator
- FrenchPostCodeFieldValidator - Class in org.nuiton.validator.xwork2.field
-
Validate post codes for French cities - Take into account 2A and 2B - Take into account DOMs and TOMs - Postcodes starting with 99 are not valid
- FrenchPostCodeFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.FrenchPostCodeFieldValidator
- FrenchSirenFieldValidator - Class in org.nuiton.validator.xwork2.field
-
Validator for French SIREN numbers Siret can be in: String format: "442116703" long, int: 442116703 Array or Collection of something: [4,4,2,1,1,6,7,0,,3] or ["442","116","70", "3"]
- FrenchSirenFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.FrenchSirenFieldValidator
- FrenchSiretFieldValidator - Class in org.nuiton.validator.xwork2.field
-
Validator for French SIRET numbers Siret can be in: String format: "44211670300038" long, int: 44211670300038 Array or Collection of something: [4,4,2,1,1,6,7,0,,3,0,0,0,3,8] or ["442","116","703", "0003", "8"]
- FrenchSiretFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.FrenchSiretFieldValidator
G
- getAgainstIndexExpression() - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- getAgainstMe() - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- getAgainstProperty() - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- getBean() - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- getBean() - Method in class org.nuiton.validator.bean.AbstractValidatorEvent
- getBean() - Method in class org.nuiton.validator.bean.list.BeanListValidatorEvent
- getBean() - Method in class org.nuiton.validator.bean.list.BeanListValidatorMessage
- getBean() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
-
Obtain the actual bean attached to the validator.
- getBean() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidatorEvent
- getBeanListValidatorListeners() - Method in class org.nuiton.validator.bean.list.BeanListValidator
- getBeans() - Method in class org.nuiton.validator.bean.list.BeanListValidator
- getBooleanParams() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getBooleans() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getClassDir(File, Class<?>) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider
- getCollection(Object) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- getCollection(Object) - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- getCollectionFieldName() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- getCollectionFieldName() - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- getContext() - Method in class org.nuiton.validator.bean.AbstractValidator
- getContext() - Method in class org.nuiton.validator.NuitonValidatorModel
- getContext() - Method in class org.nuiton.validator.xwork2.XWork2ScopeValidator
- getContext(O) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- getContextForScope(String, NuitonValidatorScope) - Static method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil
- getContexts(Class<?>, File) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider
- getContextsWithoutScopes(String[]) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider
- getCurrent() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- getDefaultProvider() - Static method in class org.nuiton.validator.NuitonValidatorFactory
- getDefaultProviderName() - Static method in class org.nuiton.validator.NuitonValidatorFactory
- getDelegate() - Method in class org.nuiton.validator.bean.AbstractValidator
- getDelegate() - Method in class org.nuiton.validator.bean.list.BeanListValidator
- getDelegate() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- getDigit(char) - Static method in class org.nuiton.validator.xwork2.field.FieldValidatorUtil
-
Converti un char en un entier '0' => 0 et '9' => 9, et 'A' => 1 a 'Z' => 36, les autres caractere sont aussi convertis pour que A|B|C|D|E|F|G|H|I|J K|L|M|N|O|P|Q|R|S|T U|V|W|X|Y|Z| | | | -+-+-+-+-+-+-+-+-+ 1|2|3|4|5|6|7|8|9|0.
- getDoubleParams() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getDoubles() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getEffectiveFields() - Method in class org.nuiton.validator.bean.AbstractValidator
- getEffectiveFields() - Method in interface org.nuiton.validator.NuitonValidator
-
Obtains the set of effective fields for the validator : means the very fields validated by the validator.
- getEffectiveFields() - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidator
- getEffectiveFields(NuitonValidatorScope) - Method in class org.nuiton.validator.bean.AbstractValidator
- getEffectiveFields(NuitonValidatorScope) - Method in interface org.nuiton.validator.NuitonValidator
-
Obtains the set of effective fields for the validator for the given scope : means the very fields validated by the validator.
- getEffectiveFields(NuitonValidatorScope) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidator
- getEffectiveScopes() - Method in class org.nuiton.validator.bean.AbstractValidator
- getEffectiveScopes() - Method in interface org.nuiton.validator.NuitonValidator
-
Obtains the set of effective scopes for the validator : means the very scopes that the validator is dealing with.
- getEffectiveScopes() - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidator
- getErrorMessages(String) - Method in class org.nuiton.validator.NuitonValidatorResult
- getExpressionForFirst() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- getExpressionForLast() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- getFatalMessages(String) - Method in class org.nuiton.validator.NuitonValidatorResult
- getField() - Method in class org.nuiton.validator.bean.AbstractValidatorEvent
- getField() - Method in class org.nuiton.validator.bean.list.BeanListValidatorMessage
- getField() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
- getFieldHighestScope(String) - Method in class org.nuiton.validator.NuitonValidatorResult
- getFieldNames() - Method in class org.nuiton.validator.xwork2.XWork2ScopeValidator
- getFields() - Method in class org.nuiton.validator.NuitonValidatorModel
- getFieldScopes(String) - Method in class org.nuiton.validator.NuitonValidatorResult
- getFieldsForError() - Method in class org.nuiton.validator.NuitonValidatorResult
- getFieldsForFatal() - Method in class org.nuiton.validator.NuitonValidatorResult
- getFieldsForInfo() - Method in class org.nuiton.validator.NuitonValidatorResult
- getFieldsForScope(NuitonValidatorScope) - Method in class org.nuiton.validator.NuitonValidatorResult
- getFieldsForWarning() - Method in class org.nuiton.validator.NuitonValidatorResult
- getFieldValue(String, Object) - Method in class org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport
- getFilterContexts(Pattern, String[]) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider
- getHighestScope(String) - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- getHighestScope(String) - Method in class org.nuiton.validator.bean.AbstractValidator
- getHighestScope(String) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- getHighestScope(String) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- getI18nError(String) - Method in class org.nuiton.validator.bean.list.BeanListValidatorMessage
- getI18nError(String) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
- getIndex() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- getInfoMessages(String) - Method in class org.nuiton.validator.NuitonValidatorResult
- getIntParams() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getInts() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getKeys() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- getKeys() - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- getLabel() - Method in enum org.nuiton.validator.NuitonValidatorScope
- getLongParams() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getLongs() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getMessage() - Method in class org.nuiton.validator.bean.list.BeanListValidatorMessage
- getMessage() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
- getMessage(Object) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- getMessages() - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- getMessages() - Method in class org.nuiton.validator.NuitonValidatorResult
- getMessagesForScope(String, NuitonValidatorScope) - Method in class org.nuiton.validator.NuitonValidatorResult
- getMessagesForScope(NuitonValidatorScope) - Method in class org.nuiton.validator.NuitonValidatorResult
- getMessagesToAdd() - Method in class org.nuiton.validator.bean.AbstractValidatorEvent
- getMessagesToDelete() - Method in class org.nuiton.validator.bean.AbstractValidatorEvent
- getMode() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- getModel() - Method in class org.nuiton.validator.bean.AbstractValidator
- getModel() - Method in interface org.nuiton.validator.NuitonValidator
-
Obtains the model of the validator.
- getModel() - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidator
- getModel(Class<O>, String, NuitonValidatorScope...) - Method in class org.nuiton.validator.AbstractNuitonValidatorProvider
- getModel(Class<O>, String, NuitonValidatorScope...) - Method in interface org.nuiton.validator.NuitonValidatorProvider
-
Obtain a validator model, the model should be cached and not be reinstanciated at each time a validator model is asked.
- getModels() - Method in class org.nuiton.validator.AbstractNuitonValidatorProvider
- getName() - Method in class org.nuiton.validator.AbstractNuitonValidatorProvider
- getName() - Method in interface org.nuiton.validator.NuitonValidatorProvider
-
Obtains the name of the provider.
- getParentValidator() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- getPrevious() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- getPropertyValue(String, Object) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- getProvider(String) - Static method in class org.nuiton.validator.NuitonValidatorFactory
- getProviders() - Static method in class org.nuiton.validator.NuitonValidatorFactory
- getScope() - Method in class org.nuiton.validator.bean.AbstractValidatorEvent
- getScope() - Method in class org.nuiton.validator.bean.list.BeanListValidatorMessage
- getScope() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
- getScopes() - Method in class org.nuiton.validator.bean.AbstractValidator
- getScopes() - Method in class org.nuiton.validator.NuitonValidatorModel
- getScopes(List<SimpleBeanValidatorMessage<?>>) - Static method in class org.nuiton.validator.bean.simple.SimpleBeanValidators
- getScopesCount(List<SimpleBeanValidatorMessage<?>>) - Static method in class org.nuiton.validator.bean.simple.SimpleBeanValidators
- getSharedValueStack() - Static method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil
- getShortParams() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getShorts() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getSimpleBeanValidatorListeners() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- getSize() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- getSource() - Method in class org.nuiton.validator.bean.AbstractValidatorEvent
- getStringParams() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getStrings() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getTagValues() - Method in class org.nuiton.validator.NuitonValidatorResult
- getTagValues(String) - Method in class org.nuiton.validator.NuitonValidatorResult
- getType() - Method in class org.nuiton.validator.bean.AbstractValidator
- getType() - Method in class org.nuiton.validator.NuitonValidatorModel
- getType() - Method in class org.nuiton.validator.xwork2.XWork2ScopeValidator
- getUniqueKeyHashCode(Object) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
-
Calcule pour une entrée donné, le hash de la clef unique
- getUniqueKeyHashCode(Object) - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
-
Calcule pour une entrée donné, le hash de la clef unique
- getValidator() - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- getValidator() - Method in class org.nuiton.validator.bean.list.BeanListValidatorMessage
- getValidator() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
- getValidator() - Method in class org.nuiton.validator.xwork2.XWork2ScopeValidator
- getValidator(Class<O>, String, NuitonValidatorScope...) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider
-
Pour un context et un type d'entité donné, instancie un validateur et test si ce validateur est utilisable (i.e qu'il admet des champs à valider).
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.EmailFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.ExistingDirectoryFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.ExistingFileFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.FrenchCityNameFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.FrenchFinessFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.FrenchLastNameFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.FrenchPhoneNumberFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.FrenchPostCodeFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.FrenchSirenFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.FrenchSiretFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.NotExistingDirectoryFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.NotExistingFileFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.RequiredFileFieldValidator
- getValidatorType() - Method in class org.nuiton.validator.xwork2.field.VATIdentificationNumberFieldValidator
- getWarningMessages(String) - Method in class org.nuiton.validator.NuitonValidatorResult
H
- handleUnknownAction(String, String) - Method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil.NuitonDefaultUnknownHandler
- handleUnknownActionMethod(Object, String) - Method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil.NuitonDefaultUnknownHandler
- handleUnknownResult(ActionContext, String, ActionConfig, String) - Method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil.NuitonDefaultUnknownHandler
- hasErrorMessagess() - Method in class org.nuiton.validator.NuitonValidatorResult
- hasErrors() - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- hasErrors() - Method in class org.nuiton.validator.bean.AbstractValidator
- hasErrors() - Method in class org.nuiton.validator.bean.list.BeanListValidator
- hasErrors() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- hasFatalErrors() - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- hasFatalErrors() - Method in class org.nuiton.validator.bean.AbstractValidator
- hasFatalErrors() - Method in class org.nuiton.validator.bean.list.BeanListValidator
- hasFatalErrors() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- hasFatalMessages() - Method in class org.nuiton.validator.NuitonValidatorResult
- hashCode() - Method in class org.nuiton.validator.AbstractNuitonValidatorProvider.ModelEntry
- hashCode() - Method in class org.nuiton.validator.bean.list.BeanListValidatorMessage
- hashCode() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
- hasInfoMessages() - Method in class org.nuiton.validator.NuitonValidatorResult
- hasInfos() - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- hasInfos() - Method in class org.nuiton.validator.bean.AbstractValidator
- hasInfos() - Method in class org.nuiton.validator.bean.list.BeanListValidator
- hasInfos() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- hasMessagesForScope(String, NuitonValidatorScope) - Method in class org.nuiton.validator.NuitonValidatorResult
- hasMessagesForScope(NuitonValidatorScope) - Method in class org.nuiton.validator.NuitonValidatorResult
- hasWarningMessages() - Method in class org.nuiton.validator.NuitonValidatorResult
- hasWarnings() - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- hasWarnings() - Method in class org.nuiton.validator.bean.AbstractValidator
- hasWarnings() - Method in class org.nuiton.validator.bean.list.BeanListValidator
- hasWarnings() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
I
- index - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- INFO - org.nuiton.validator.NuitonValidatorScope
-
the information scope level.
- initParams(Class<T>, String, Pattern) - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- intParams - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- ints - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- isCanValidate() - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- isCanValidate() - Method in class org.nuiton.validator.bean.AbstractValidator
- isChanged() - Method in class org.nuiton.validator.bean.AbstractValidator
-
Obtain the
AbstractValidator.changed
property value. - isEmpty() - Method in class org.nuiton.validator.NuitonValidatorResult
- isEmpty() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- isFirst() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- isLast() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- isNullValueSkipped() - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- isUseSensitiveContext() - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- isValid() - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- isValid() - Method in class org.nuiton.validator.bean.AbstractValidator
-
Obtain the
AbstractValidator.valid
property value. - isValid() - Method in class org.nuiton.validator.NuitonValidatorResult
- isValid(String) - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- isValid(String) - Method in class org.nuiton.validator.bean.AbstractValidator
- isValid(String) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- isValid(String) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- isValid0() - Method in class org.nuiton.validator.bean.list.BeanListValidator
K
- keys - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
-
la liste des propriétés d'une entrée de la collection qui définit la clef unique (en mode UNIQUE_KEY).
- keys - Variable in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
-
la liste des propriétés d'une entrée de la collection qui définit la clef unique.
L
- l - Variable in class org.nuiton.validator.bean.AbstractValidator
-
Listener that listens on bean modification.
- LAST_NAME_REGEXP - Static variable in class org.nuiton.validator.xwork2.field.FrenchLastNameFieldValidator
- listenerList - Variable in class org.nuiton.validator.bean.AbstractValidator
-
A list of event listeners for this validators
- longParams - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- longs - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- luhnChecksum(String) - Static method in class org.nuiton.validator.xwork2.field.FieldValidatorUtil
-
Verifie la validite d'un numero en suivant l'algorithme Luhn tel que d'ecrit dans wikipedia Algo: en fonction de la position du numero dans la sequence, on multiplie pas 1 (pour les impaires) ou par 2 pour les paires (1 etant le numero le plus a droite) On fait la somme de tous les chiffres qui resulte de ces multiplications (si un resultat etait 14, on ne fait pas +14 mais +1+4) Si le résultat de cette somme donne un reste de 0 une fois divisé par 10 le numero est valide.
M
- mergeMessages(BeanListValidator.NuitonValidatorContext<O>, NuitonValidatorResult) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- mergeMessages(NuitonValidatorResult) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- mergeMessages(V, NuitonValidatorResult) - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- mergeMessages(V, NuitonValidatorScope, NuitonValidatorResult, List<E>) - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- message - Variable in class org.nuiton.validator.bean.list.BeanListValidatorMessage
-
the label of the message (to be displayed somewhere)
- message - Variable in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
-
the label of the message (to be displayed somewhere)
- messages - Variable in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
-
State of validation (keep all messages of validation for the filled bean).
- messages - Variable in class org.nuiton.validator.NuitonValidatorResult
- messagestoAdd - Variable in class org.nuiton.validator.bean.AbstractValidatorEvent
- messagestoDelete - Variable in class org.nuiton.validator.bean.AbstractValidatorEvent
- mode - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
-
le mode de validation sur la liste
- model - Variable in class org.nuiton.validator.xwork2.XWork2NuitonValidator
- ModelEntry(Class<O>, String, NuitonValidatorScope...) - Constructor for class org.nuiton.validator.AbstractNuitonValidatorProvider.ModelEntry
- models - Variable in class org.nuiton.validator.AbstractNuitonValidatorProvider
N
- name - Variable in class org.nuiton.validator.AbstractNuitonValidatorProvider
- newModel(Class<O>, String, NuitonValidatorScope...) - Method in interface org.nuiton.validator.NuitonValidatorProvider
-
Instanciate a new validator model for the given parameters.
- newModel(Class<O>, String, NuitonValidatorScope...) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider
- newValidationManager(ValueStack) - Static method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil
- newValidator(Class<O>, String, NuitonValidatorScope...) - Static method in class org.nuiton.validator.bean.list.BeanListValidator
-
Obtain a new
BeanListValidator
for the given parameters. - newValidator(Class<O>, String, NuitonValidatorScope...) - Static method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
-
Obtain a new
SimpleBeanValidator
for the given parameters. - newValidator(Class<O>, String, NuitonValidatorScope...) - Static method in class org.nuiton.validator.NuitonValidatorFactory
- newValidator(Class<O>, NuitonValidatorScope...) - Static method in class org.nuiton.validator.NuitonValidatorFactory
- newValidator(String, Class<O>, String, NuitonValidatorScope...) - Static method in class org.nuiton.validator.bean.list.BeanListValidator
-
Obtain a new
BeanListValidator
for the given parameters. - newValidator(String, Class<O>, String, NuitonValidatorScope...) - Static method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
-
Obtain a new
SimpleBeanValidator
for the given parameters. - newValidator(String, Class<O>, String, NuitonValidatorScope...) - Static method in class org.nuiton.validator.NuitonValidatorFactory
- newValidator(NuitonValidatorModel<O>) - Method in interface org.nuiton.validator.NuitonValidatorProvider
-
Obtains a new validator for the given
model
. - newValidator(NuitonValidatorModel<O>) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider
- newValidator(NuitonValidatorProvider, Class<O>, String, NuitonValidatorScope...) - Method in interface org.nuiton.validator.bean.ValidatorCreator
-
Given the parameters, instanciate a new
ValidatorCreator
. - newXWorkScopeValidator(Class<O>, String, Set<String>) - Static method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil
- newXWorkScopeValidator(Class<O>, String, Set<String>, ValueStack) - Static method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil
- NONE - org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.Mode
-
aucune valeur de la collection doivent etre valides
- NotExistingDirectoryFieldValidator - Class in org.nuiton.validator.xwork2.field
-
NotExistingDirectoryFieldValidator checks that a File field as a directory does not exist. * fieldName - The field name this validator is validating.
- NotExistingDirectoryFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.NotExistingDirectoryFieldValidator
- NotExistingFileFieldValidator - Class in org.nuiton.validator.xwork2.field
-
NotExistingFileFieldValidator checks that a File field as a file does not exist. * fieldName - The field name this validator is validating.
- NotExistingFileFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.NotExistingFileFieldValidator
- NuitonDefaultUnknownHandler() - Constructor for class org.nuiton.validator.xwork2.XWork2ValidatorUtil.NuitonDefaultUnknownHandler
- NuitonFieldExpressionValidator - Class in org.nuiton.validator.xwork2.field
-
Nuiton default field validator.
- NuitonFieldExpressionValidator() - Constructor for class org.nuiton.validator.xwork2.field.NuitonFieldExpressionValidator
- NuitonFieldValidatorSupport - Class in org.nuiton.validator.xwork2.field
-
Nuiton default field validator.
- NuitonFieldValidatorSupport() - Constructor for class org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport
- NuitonValidator<O> - Interface in org.nuiton.validator
-
Contract of a validator.
- NuitonValidatorContext() - Constructor for class org.nuiton.validator.bean.simple.SimpleBeanValidator.NuitonValidatorContext
- NuitonValidatorContext(O, NuitonValidator<O>) - Constructor for class org.nuiton.validator.bean.list.BeanListValidator.NuitonValidatorContext
- NuitonValidatorFactory - Class in org.nuiton.validator
-
Factory to obtain new validators.
- NuitonValidatorFactory() - Constructor for class org.nuiton.validator.NuitonValidatorFactory
- NuitonValidatorModel<O> - Class in org.nuiton.validator
-
Represents the model of a
NuitonValidator
. - NuitonValidatorModel(Class<O>, String, Set<NuitonValidatorScope>, Map<NuitonValidatorScope, String[]>) - Constructor for class org.nuiton.validator.NuitonValidatorModel
- NuitonValidatorProvider - Interface in org.nuiton.validator
-
Provider of
NuitonValidator
. - NuitonValidatorResult - Class in org.nuiton.validator
-
Contains validation messages coming from the method
NuitonValidator.validate(Object)
. - NuitonValidatorResult() - Constructor for class org.nuiton.validator.NuitonValidatorResult
- NuitonValidatorResult.FieldMap<V> - Class in org.nuiton.validator
- NuitonValidatorScope - Enum in org.nuiton.validator
-
The differents levels of messages in validation process.
- nullValueSkipped - Variable in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
-
Pour ne pas traiter les valeurs nulles (si positionné à
true
les valeurs nulles ne sont pas considérée comme unique).
O
- objectFactory - Variable in class org.nuiton.validator.xwork2.XWork2ValidatorUtil.NuitonDefaultUnknownHandler
- onFieldChanged(E) - Method in interface org.nuiton.validator.bean.ValidatorListener
-
Invoked when the
ValidatorListener
detects some changes for a given bean / field / scope. - org.nuiton.validator - package org.nuiton.validator
-
Package of Nuiton-validator api.
- org.nuiton.validator.bean - package org.nuiton.validator.bean
-
To be continued...
- org.nuiton.validator.bean.list - package org.nuiton.validator.bean.list
-
Package of Nuiton - BeanListValidator api.
- org.nuiton.validator.bean.simple - package org.nuiton.validator.bean.simple
-
Package of Nuiton - Simple Bean Validator api.
- org.nuiton.validator.xwork2 - package org.nuiton.validator.xwork2
-
Package of xworks2 implementation of the Nuiton-validator api.
- org.nuiton.validator.xwork2.field - package org.nuiton.validator.xwork2.field
-
Package of extra xworks2 field validators.
P
- p - Static variable in class org.nuiton.validator.xwork2.field.FrenchCityNameFieldValidator
- p - Static variable in class org.nuiton.validator.xwork2.field.FrenchFinessFieldValidator
- p - Static variable in class org.nuiton.validator.xwork2.field.FrenchLastNameFieldValidator
- p - Static variable in class org.nuiton.validator.xwork2.field.FrenchPhoneNumberFieldValidator
- p - Static variable in class org.nuiton.validator.xwork2.field.FrenchPostCodeFieldValidator
- p - Static variable in class org.nuiton.validator.xwork2.field.FrenchSirenFieldValidator
- p - Static variable in class org.nuiton.validator.xwork2.field.FrenchSiretFieldValidator
- p - Static variable in class org.nuiton.validator.xwork2.field.VATIdentificationNumberFieldValidator
- parentValidator - Variable in class org.nuiton.validator.bean.simple.SimpleBeanValidator
-
To chain to another validator (acting as parent of this one).
- pcs - Variable in class org.nuiton.validator.bean.AbstractValidator
-
delegate property change support
- PHONE_NUMBER_REGEXP - Static variable in class org.nuiton.validator.xwork2.field.FrenchPhoneNumberFieldValidator
- POST_CODE_REGEXP - Static variable in class org.nuiton.validator.xwork2.field.FrenchPostCodeFieldValidator
- prefix - Variable in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider.ValidatorFilenameFilter
- previous - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- PROVIDER_NAME - Static variable in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider
- providers - Static variable in class org.nuiton.validator.NuitonValidatorFactory
R
- rebuildDelegateValidator(Class<O>, String, NuitonValidatorScope...) - Method in class org.nuiton.validator.bean.AbstractValidator
- rebuildDelegateValidator(Class<O>, String, NuitonValidatorScope...) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- rebuildDelegateValidator(Class<O>, String, NuitonValidatorScope...) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- removeAllBeans() - Method in class org.nuiton.validator.bean.list.BeanListValidator
-
Shortcut method to unregister all previously registred beans from this validator.
- removeAllBeans(Collection<O>) - Method in class org.nuiton.validator.bean.list.BeanListValidator
-
Remove all the given beans fro this validator.
- removeBean(O) - Method in class org.nuiton.validator.bean.list.BeanListValidator
-
Remove the given bean from the validaotr.
- removeBeanListValidatorListener(BeanListValidatorListener) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- removePropertyChangeListener(PropertyChangeListener) - Method in class org.nuiton.validator.bean.AbstractValidator
- removePropertyChangeListener(String, PropertyChangeListener) - Method in class org.nuiton.validator.bean.AbstractValidator
- removeSimpleBeanValidatorListener(SimpleBeanValidatorListener) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- RequiredFileFieldValidator - Class in org.nuiton.validator.xwork2.field
-
RequiredFileFieldValidator checks that a File field is not null nor have an empty filename.
- RequiredFileFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.RequiredFileFieldValidator
S
- scope - Variable in class org.nuiton.validator.bean.AbstractValidatorEvent
-
the scope impacted by the event
- scope - Variable in class org.nuiton.validator.bean.list.BeanListValidatorMessage
-
the scope of the message
- scope - Variable in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
-
the scope of the message
- scopes - Variable in class org.nuiton.validator.AbstractNuitonValidatorProvider.ModelEntry
- scopes - Variable in class org.nuiton.validator.NuitonValidatorModel
-
Set of scopes that can be validated for the type and context
- SCOPES_PROPERTY - Static variable in class org.nuiton.validator.bean.AbstractValidator
-
Name of the bounded property
scopes
. - setAgainstIndexExpression(String) - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- setAgainstMe(boolean) - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- setAgainstProperty(String) - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- setBean(O) - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- setBean(O) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
-
Change the attached bean.
- setBooleanParams(String) - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- setCanValidate(boolean) - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- setCanValidate(boolean) - Method in class org.nuiton.validator.bean.AbstractValidator
- setChanged(boolean) - Method in class org.nuiton.validator.bean.AbstractValidator
-
To force the value of the property
AbstractValidator.changed
. - setCollectionFieldName(String) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- setCollectionFieldName(String) - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- setConfiguration(Configuration) - Method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil.NuitonDefaultUnknownHandler
- setContext(String) - Method in class org.nuiton.validator.bean.AbstractValidator
- setDefaultProviderName(String) - Static method in class org.nuiton.validator.NuitonValidatorFactory
- setDoubleParams(String) - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- setExpressionForFirst(String) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- setExpressionForLast(String) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- setIntParams(String) - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- setKeys(String[]) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- setKeys(String[]) - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- setLongParams(String) - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- setMessagesForScope(NuitonValidatorScope, String, List<String>) - Method in class org.nuiton.validator.NuitonValidatorResult
- setMode(CollectionFieldExpressionValidator.Mode) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- setNullValueSkipped(boolean) - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- setObjectFactory(ObjectFactory) - Method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil.NuitonDefaultUnknownHandler
- setParentValidator(SimpleBeanValidator<?>) - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
- setScopes(NuitonValidatorScope...) - Method in class org.nuiton.validator.bean.AbstractValidator
- setSharedValueStack(ValueStack) - Static method in class org.nuiton.validator.xwork2.XWork2ValidatorUtil
-
Sets the given value stack as shared (can be null).
- setShortParams(String) - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- setSkip(String) - Method in class org.nuiton.validator.xwork2.field.NuitonFieldExpressionValidator
-
Sets the value of the
NuitonFieldExpressionValidator.skip
parameter. - setSkip(String) - Method in class org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport
-
Sets the value of the
NuitonFieldValidatorSupport.skip
parameter. - setStringParams(String) - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- setUseSensitiveContext(boolean) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- setValid(boolean) - Method in class org.nuiton.validator.bean.AbstractValidator
-
Change the value of the
AbstractValidator.valid
property. - setValidator(NuitonValidator<O>) - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- setValueStack(ValueStack) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- setValueStack(ValueStack) - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- shortParams - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- shorts - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- SimpleBeanValidator<O> - Class in org.nuiton.validator.bean.simple
-
Validator for a javaBean object.
- SimpleBeanValidator(NuitonValidatorProvider, Class<O>, String) - Constructor for class org.nuiton.validator.bean.simple.SimpleBeanValidator
- SimpleBeanValidator(NuitonValidatorProvider, Class<O>, String, NuitonValidatorScope...) - Constructor for class org.nuiton.validator.bean.simple.SimpleBeanValidator
- SimpleBeanValidator.NuitonValidatorContext<O> - Class in org.nuiton.validator.bean.simple
- SimpleBeanValidatorEvent - Class in org.nuiton.validator.bean.simple
-
Event to be fired when some messages changed on a given field / scope of a bean.
- SimpleBeanValidatorEvent(SimpleBeanValidator<?>, String, NuitonValidatorScope, String[], String[]) - Constructor for class org.nuiton.validator.bean.simple.SimpleBeanValidatorEvent
- SimpleBeanValidatorListener - Interface in org.nuiton.validator.bean.simple
-
The definition of an event on
SimpleBeanValidatorEvent
to be fired by aBeanListValidator
. - SimpleBeanValidatorMessage<E extends SimpleBeanValidatorMessage<?>> - Class in org.nuiton.validator.bean.simple
-
The object to box a validation message.
- SimpleBeanValidatorMessage(SimpleBeanValidator<?>, String, String, NuitonValidatorScope) - Constructor for class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
- SimpleBeanValidators - Class in org.nuiton.validator.bean.simple
-
Useful methods arond
SimpleBeanValidator
. - SimpleBeanValidators() - Constructor for class org.nuiton.validator.bean.simple.SimpleBeanValidators
- SIREN_REGEXP - Static variable in class org.nuiton.validator.xwork2.field.FrenchSirenFieldValidator
- SIRET_REGEXP - Static variable in class org.nuiton.validator.xwork2.field.FrenchSiretFieldValidator
- size - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- skip - Variable in class org.nuiton.validator.xwork2.field.NuitonFieldExpressionValidator
-
extra parameter at the very beginning of the
NuitonFieldExpressionValidator.validate(Object)
method to be able to skip (or not) the validator execution. - skip - Variable in class org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport
-
extra parameter at the very beginning of the
NuitonFieldValidatorSupport.validate(Object)
method to be able to skip (or not) the validator execution. - SkipableRequiredFieldValidator - Class in org.nuiton.validator.xwork2.field
- SkipableRequiredFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.SkipableRequiredFieldValidator
- SkipableRequiredStringFieldValidator - Class in org.nuiton.validator.xwork2.field
- SkipableRequiredStringFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.SkipableRequiredStringFieldValidator
- stack - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- stack - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- stringParams - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- strings - Variable in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- SUFFIX - Static variable in class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider.ValidatorFilenameFilter
T
- tagValues - Variable in class org.nuiton.validator.NuitonValidatorResult
- toString() - Method in class org.nuiton.validator.bean.list.BeanListValidatorMessage
- toString() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
- toString() - Method in class org.nuiton.validator.xwork2.XWork2ScopeValidator
- type - Variable in class org.nuiton.validator.AbstractNuitonValidatorProvider.ModelEntry
- type - Variable in class org.nuiton.validator.NuitonValidatorModel
-
Type of object to validate
- type - Variable in class org.nuiton.validator.xwork2.XWork2ScopeValidator
-
the type of bean to validate
U
- UNIQUE_KEY - org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.Mode
-
detection de clef unique
- useSensitiveContext - Variable in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
-
drapeau pour utiliser le contexte de parcours pour valider l'expression, on dispose donc alors des variables previous, current, index, size et empty dans l'expression.
V
- valid - Variable in class org.nuiton.validator.bean.AbstractValidator
-
State of the validator (is true if no errors of error scope is found).
- VALID_PROPERTY - Static variable in class org.nuiton.validator.bean.AbstractValidator
-
Name of the bounded property
AbstractValidator.valid
. - validate() - Method in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
- validate() - Method in class org.nuiton.validator.bean.list.BeanListValidator
-
il faut eviter le code re-intrant (durant une validation, une autre est demandee).
- validate() - Method in class org.nuiton.validator.bean.simple.SimpleBeanValidator
-
il faut eviter le code re-intrant (durant une validation, une autre est demandee).
- validate(Object) - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- validate(Object) - Method in class org.nuiton.validator.xwork2.field.NuitonFieldExpressionValidator
- validate(Object) - Method in class org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport
- validate(O) - Method in class org.nuiton.validator.bean.list.BeanListValidator
- validate(O) - Method in interface org.nuiton.validator.NuitonValidator
-
Validates the given object and returns the result of validation.
- validate(O) - Method in class org.nuiton.validator.xwork2.XWork2NuitonValidator
- validate(O) - Method in class org.nuiton.validator.xwork2.XWork2ScopeValidator
-
Valide le bean donné et retourne les messages produits.
- validateAllEntries(Collection<?>) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- validateAtLeastOneEntry(Collection<?>) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- validateExtacltyOneEntry(Collection<?>) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- validateNoneEntry(Collection<?>) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- validateOneEntry(Object) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- validateUniqueKey(Collection<?>) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.CollectionUniqueKeyValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.EmailFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.ExistingDirectoryFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.ExistingFileFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.FieldExpressionWithParamsValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.FrenchCityNameFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.FrenchFinessFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.FrenchLastNameFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.FrenchPhoneNumberFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.FrenchPostCodeFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.FrenchSirenFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.FrenchSiretFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.NotExistingDirectoryFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.NotExistingFileFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.NuitonFieldExpressionValidator
-
Method to be invoked when skip parameter was not evaludated to
true
. - validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport
-
Method to be invoked when skip parameter was not evaludated to
true
. - validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.RequiredFileFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.SkipableRequiredFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.SkipableRequiredStringFieldValidator
- validateWhenNotSkip(Object) - Method in class org.nuiton.validator.xwork2.field.VATIdentificationNumberFieldValidator
- validationContext - Variable in class org.nuiton.validator.xwork2.XWork2ScopeValidator
- validationSupport - Variable in class org.nuiton.validator.xwork2.XWork2ScopeValidator
- validator - Variable in class org.nuiton.validator.bean.AbstractNuitonValidatorContext
-
Validator.
- validator - Variable in class org.nuiton.validator.bean.list.BeanListValidatorMessage
-
the validator that produce the message
- validator - Variable in class org.nuiton.validator.bean.simple.SimpleBeanValidatorMessage
-
the validator that produce the message
- validator - Variable in class org.nuiton.validator.xwork2.XWork2ScopeValidator
- ValidatorComparator() - Constructor for class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider.ValidatorComparator
- ValidatorCreator<V> - Interface in org.nuiton.validator.bean
-
TODO
- ValidatorFilenameFilter(Class<?>) - Constructor for class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider.ValidatorFilenameFilter
- ValidatorListener<E extends AbstractValidatorEvent<?>> - Interface in org.nuiton.validator.bean
-
The definition of an event on
BeanListValidatorEvent
to be fired by aBeanListValidator
. - validatorProvider - Variable in class org.nuiton.validator.bean.AbstractValidator
-
The provider of delegate validators.
- validators - Variable in class org.nuiton.validator.xwork2.XWork2NuitonValidator
-
xworks scope validators *
- valueOf(String) - Static method in enum org.nuiton.validator.NuitonValidatorScope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.Mode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.nuiton.validator.NuitonValidatorScope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VAT_INTRA_REGEXP - Static variable in class org.nuiton.validator.xwork2.field.VATIdentificationNumberFieldValidator
- VATIdentificationNumberFieldValidator - Class in org.nuiton.validator.xwork2.field
-
Validator for EU VAT number.
- VATIdentificationNumberFieldValidator() - Constructor for class org.nuiton.validator.xwork2.field.VATIdentificationNumberFieldValidator
- vs - Variable in class org.nuiton.validator.xwork2.XWork2ScopeValidator
W
- WalkerContext(int) - Constructor for class org.nuiton.validator.xwork2.field.CollectionFieldExpressionValidator.WalkerContext
- WARNING - org.nuiton.validator.NuitonValidatorScope
-
the warning scope level.
X
- XWork2NuitonValidator<O> - Class in org.nuiton.validator.xwork2
-
Implementation of
NuitonValidator
usingXWork2
validators. - XWork2NuitonValidator(NuitonValidatorModel<O>) - Constructor for class org.nuiton.validator.xwork2.XWork2NuitonValidator
- XWork2NuitonValidatorProvider - Class in org.nuiton.validator.xwork2
-
Provider of validator for the xworks nuiton validator.
- XWork2NuitonValidatorProvider() - Constructor for class org.nuiton.validator.xwork2.XWork2NuitonValidatorProvider
- XWork2NuitonValidatorProvider.ValidatorComparator - Class in org.nuiton.validator.xwork2
- XWork2NuitonValidatorProvider.ValidatorFilenameFilter - Class in org.nuiton.validator.xwork2
- XWork2ScopeValidator<O> - Class in org.nuiton.validator.xwork2
-
A customized validator for a given bean.
- XWork2ScopeValidator(Class<O>, String, Set<String>, ValueStack) - Constructor for class org.nuiton.validator.xwork2.XWork2ScopeValidator
- XWork2ValidatorUtil - Class in org.nuiton.validator.xwork2
-
Usefull methods to works with work2 validator api.
- XWork2ValidatorUtil() - Constructor for class org.nuiton.validator.xwork2.XWork2ValidatorUtil
- XWork2ValidatorUtil.NuitonDefaultUnknownHandler - Class in org.nuiton.validator.xwork2
-
A dummy unknown handler when we want to use for example visitor validators which need a invocation handler.
All Classes All Packages