|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ParameterName | |
---|---|
net.sourceforge.stripes.controller | This package contains classes which form the core internals of 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 ParameterName in net.sourceforge.stripes.controller |
---|
Methods in net.sourceforge.stripes.controller that return types with arguments of type ParameterName | |
---|---|
protected SortedMap<ParameterName,String[]> |
DefaultActionBeanPropertyBinder.getParameters(ActionBean bean)
Converts the map of parameters in the request into a Map of ParameterName to String[]. |
Methods in net.sourceforge.stripes.controller with parameters of type ParameterName | |
---|---|
int |
ParameterName.compareTo(ParameterName that)
Orders ParameterNames so that those with shorter (unstripped) names come first. |
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 void |
DefaultActionBeanPropertyBinder.handlePropertyBindingError(ActionBean bean,
ParameterName name,
List<Object> values,
Exception e,
ValidationErrors errors)
Invoked whenever an exception is thrown when attempting to bind a property to an ActionBean. |
String[] |
DefaultActionBeanPropertyBinder.Row.put(ParameterName key,
String[] values)
Adds the value to the map, along the way checking to see if there are any non-null values for the row so far. |
Method parameters in net.sourceforge.stripes.controller with type arguments of type ParameterName | |
---|---|
protected void |
DefaultActionBeanPropertyBinder.doPostConversionValidations(ActionBean bean,
Map<ParameterName,List<Object>> convertedValues,
ValidationErrors errors)
Performs basic post-conversion validations on the properties of the ActionBean after they have been converted to their rich type by the type conversion system. |
protected void |
DefaultActionBeanPropertyBinder.validateRequiredFields(Map<ParameterName,String[]> parameters,
ActionBean bean,
ValidationErrors errors)
Validates that all required fields have been submitted. |
Uses of ParameterName in net.sourceforge.stripes.validation |
---|
Methods in net.sourceforge.stripes.validation with parameters of type ParameterName | |
---|---|
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)
|
Uses of ParameterName in net.sourceforge.stripes.validation.expression |
---|
Methods in net.sourceforge.stripes.validation.expression with parameters of type ParameterName | |
---|---|
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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |