@Component(role=ModelValidator.class) public class DefaultModelValidator extends Object implements ModelValidator
| Constructor and Description |
|---|
DefaultModelValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validateEffectiveModel(Model model,
ModelBuildingRequest request,
ModelProblemCollector problems)
Checks the specified (effective) model for missing or invalid values.
|
void |
validateRawModel(Model model,
ModelBuildingRequest request,
ModelProblemCollector problems)
Checks the specified (raw) model for missing or invalid values.
|
public DefaultModelValidator()
public void validateRawModel(Model model, ModelBuildingRequest request, ModelProblemCollector problems)
ModelValidatorvalidateRawModel in interface ModelValidatormodel - The model to validate, must not be null.request - The model building request that holds further settings, must not be null.problems - The container used to collect problems that were encountered, must not be null.public void validateEffectiveModel(Model model, ModelBuildingRequest request, ModelProblemCollector problems)
ModelValidatorvalidateEffectiveModel in interface ModelValidatormodel - The model to validate, must not be null.request - The model building request that holds further settings, must not be null.problems - The container used to collect problems that were encountered, must not be null.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.