Uses of Class
net.sourceforge.stripes.validation.ValidationMetadata

Packages that use ValidationMetadata
net.sourceforge.stripes.controller This package contains classes which form the core internals of Stripes. 
net.sourceforge.stripes.tag Contains implementation classes for all the Stripes custom tags and interfaces for overriding the strategy used to (re-)populate tag values and rendering tags in case of validation errors. 
net.sourceforge.stripes.util This package contains various utility classes that are used to implement Stripes. 
net.sourceforge.stripes.validation This package contains interfaces and implementations of error message classes and of classes that convert Strings to rich objects, providing validation during the conversion. 
net.sourceforge.stripes.validation.expression This package provides several classes that give Stripes the ability to execute EL expressions for validation using various implementations. 
 

Uses of ValidationMetadata in net.sourceforge.stripes.controller
 

Methods in net.sourceforge.stripes.controller with parameters of type ValidationMetadata
protected  List<Object> DefaultActionBeanPropertyBinder.convert(ActionBean bean, ParameterName propertyName, String[] values, Class<?> declaredType, Class<?> scalarType, ValidationMetadata validationInfo, List<ValidationError> errors)
           Converts the String[] of values for a given parameter in the HttpServletRequest into the desired type of Object.
protected  void DefaultActionBeanPropertyBinder.doExpressionValidation(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
          Performs validation of attribute values using a JSP EL expression if one is defined in the @Validate annotation.
protected  void DefaultActionBeanPropertyBinder.doPreConversionValidations(ParameterName propertyName, String[] values, ValidationMetadata validationInfo, List<ValidationError> errors)
          Performs several basic validations on the String value supplied in the HttpServletRequest, based on information provided in annotations on the ActionBean.
protected  String[] DefaultActionBeanPropertyBinder.trim(String[] values, ValidationMetadata meta)
          Inspects the given ValidationMetadata object to determine if the given values should be trimmed.
 

Uses of ValidationMetadata in net.sourceforge.stripes.tag
 

Methods in net.sourceforge.stripes.tag that return ValidationMetadata
protected  ValidationMetadata InputTagSupport.getValidationMetadata()
           
 

Uses of ValidationMetadata in net.sourceforge.stripes.util
 

Methods in net.sourceforge.stripes.util that return types with arguments of type ValidationMetadata
protected  Map<String,ValidationMetadata> UrlBuilder.getValidationMetadata()
          Get a map of property names to ValidationMetadata for the ActionBean class bound to the URL being built.
 

Uses of ValidationMetadata in net.sourceforge.stripes.validation
 

Methods in net.sourceforge.stripes.validation that return ValidationMetadata
 ValidationMetadata ValidationMetadata.converter(Class<? extends TypeConverter> converter)
          Sets the overridden TypeConveter to use to convert values.
 ValidationMetadata ValidationMetadata.encrypted(boolean encrypted)
          Sets the encrypted flag for this field.
 ValidationMetadata ValidationMetadata.expression(String expression)
          Sets the expression that should be used to validate values.
 ValidationMetadata ValidationMetadataProvider.getValidationMetadata(Class<?> beanType, ParameterName property)
          Get the validation metadata associated with the named property of the given ActionBean class.
 ValidationMetadata DefaultValidationMetadataProvider.getValidationMetadata(Class<?> beanType, ParameterName field)
           
 ValidationMetadata ValidationMetadata.ignore(boolean ignore)
          Sets whether or not this field should be ignored during binding and validation.
 ValidationMetadata ValidationMetadata.mask(String mask)
          Sets the mask which the String form of the property must match.
 ValidationMetadata ValidationMetadata.maxlength(Integer maxlength)
          Sets the maximum acceptable length for property values.
 ValidationMetadata ValidationMetadata.maxvalue(Double maxvalue)
          Sets the maximum acceptable value for numeric property values.
 ValidationMetadata ValidationMetadata.minlength(Integer minlength)
          Sets the minimum acceptable length for property values.
 ValidationMetadata ValidationMetadata.minvalue(Double minvalue)
          Sets the minimum acceptable value for numeric property values.
 ValidationMetadata ValidationMetadata.on(String... on)
          Sets the set of events for which the field in question is required, if it is at all.
 ValidationMetadata ValidationMetadata.required(boolean required)
          Sets the required-ness of this field.
 ValidationMetadata ValidationMetadata.trim(boolean trim)
          Sets the trim flag of this field.
 

Methods in net.sourceforge.stripes.validation that return types with arguments of type ValidationMetadata
 Map<String,ValidationMetadata> ValidationMetadataProvider.getValidationMetadata(Class<?> beanType)
          Get a map of property names to ValidationMetadata for the given ActionBean class.
 Map<String,ValidationMetadata> DefaultValidationMetadataProvider.getValidationMetadata(Class<?> beanType)
           
protected  Map<String,ValidationMetadata> DefaultValidationMetadataProvider.loadForClass(Class<?> beanType)
          Get validation information for all the properties and nested properties of the given class.
 

Uses of ValidationMetadata in net.sourceforge.stripes.validation.expression
 

Methods in net.sourceforge.stripes.validation.expression with parameters of type ValidationMetadata
 void ExpressionExecutorSupport.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
           
 void ExpressionExecutor.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
          Performs validation of an ActionBean property using the expression contained within the validation metadata.
static void ExpressionValidator.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
          Run expression validation on the bean property provided with the values provided.
 void Jsp21ExpressionExecutor.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
           
 



? Copyright 2005-2006, Stripes Development Team.