V - type of the object to be validatedpublic interface Validator<V>
extends net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.IdentifiableComponent, net.shibboleth.utilities.java.support.component.InitializableComponent
Item.| Modifier and Type | Interface and Description |
|---|---|
static class |
Validator.Action
Validator instances are normally applied in sequence in a
chain of responsibility pattern orchestrated by the caller. |
| Modifier and Type | Method and Description |
|---|---|
Validator.Action |
validate(V e,
Item<?> item,
String stageId)
Apply the validator to the object in the given
Item context. |
destroy, isDestroyedsetIdValidator.Action validate(@Nonnull V e, @Nonnull Item<?> item, @Nonnull String stageId) throws StageProcessingException
Item context.
The validator influences future processing by adding item metadata to the Item.e - the object to be validateditem - the Item context for the validationstageId - the identifier for the stage that is requesting the validation, for
inclusion in status metadataStageProcessingException - if an error occurs during validationCopyright © 1999–2016. All rights reserved.