public interface ValidationMetadataProvider extends ConfigurableComponent
ActionBean
classes.Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ValidationMetadata> |
getValidationMetadata(java.lang.Class<?> beanType)
Get a map of property names to
ValidationMetadata for the given ActionBean
class. |
ValidationMetadata |
getValidationMetadata(java.lang.Class<?> beanType,
ParameterName property)
Get the validation metadata associated with the named
property of the given
ActionBean class. |
init
java.util.Map<java.lang.String,ValidationMetadata> getValidationMetadata(java.lang.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(java.lang.Class<?> beanType, ParameterName property)
property
of the given
ActionBean
class.beanType
- any classproperty
- a (possibly nested) property of beanType
ValidationMetadata
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.