public interface ValidationMetadataProvider extends ConfigurableComponent
ActionBean classes.| Modifier and Type | Method and Description |
|---|---|
Map<String,ValidationMetadata> |
getValidationMetadata(Class<?> beanType)
Get a map of property names to
ValidationMetadata for the given ActionBean
class. |
ValidationMetadata |
getValidationMetadata(Class<?> beanType,
ParameterName property)
Get the validation metadata associated with the named
property of the given
ActionBean class. |
initMap<String,ValidationMetadata> getValidationMetadata(Class<?> beanType)
ValidationMetadata for the given ActionBean
class.beanType - any classValidationMetadata. If no validation information
is present for the given class, then an empty map will be returned.ValidationMetadata getValidationMetadata(Class<?> beanType, ParameterName property)
property of the given
ActionBean class.beanType - any classproperty - a (possibly nested) property of beanTypeValidationMetadata object, if there is one associated with the property. If
the property is not to be validated, then null.© Copyright 2005-2006, Stripes Development Team.