|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValidationMetadataProvider
Provides a globally accessible source of validation metadata for properties and nested properties
of ActionBean classes.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface net.sourceforge.stripes.config.ConfigurableComponent |
|---|
init |
| Method Detail |
|---|
Map<String,ValidationMetadata> getValidationMetadata(Class<?> beanType)
ValidationMetadata for the given ActionBean
class.
beanType - any class
ValidationMetadata. 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 beanType
ValidationMetadata object, if there is one associated with the property. If
the property is not to be validated, then null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||