Package | Description |
---|---|
org.apache.sling.validation.spi | |
org.apache.sling.validation.spi.support |
Modifier and Type | Method and Description |
---|---|
ValidationResult |
Validator.validate(T data,
ValidatorContext context,
ValueMap arguments)
Validates the
data and/or the valueMap according to the internal constraints of this validator. |
Constructor and Description |
---|
DefaultValidationFailure(ValidatorContext validationContext,
java.lang.String messageKey,
java.lang.Object... messageArguments)
Constructor of a validation failure.
|
DefaultValidationResult(ValidatorContext validationContext,
java.lang.String messageKey,
java.lang.Object... messageArguments)
Constructs a result with one failure message.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.