V - type of the object to be validatedpublic abstract class AbstractDOMValidationStage<V> extends AbstractDOMTraversalStage
AbstractDOMTraversalStage.TraversalContext| Modifier and Type | Field and Description |
|---|---|
private List<Validator<V>> |
validators
The list of validators to apply.
|
| Constructor and Description |
|---|
AbstractDOMValidationStage() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyValidators(V obj,
AbstractDOMTraversalStage.TraversalContext context)
Apply each of the configured validators in turn to the provided object.
|
protected void |
doDestroy() |
protected void |
doInitialize() |
List<Validator<V>> |
getValidators()
Gets the list of validators being applied to each item.
|
void |
setValidators(List<Validator<V>> newValidators)
Set the list of validators to apply to each item.
|
addError, ancestorEntity, applicable, doExecute, visitexecute, getCollectionPredicate, setCollectionPredicatesetIdgetIddestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedpublic void setValidators(@Nonnull List<Validator<V>> newValidators)
newValidators - the list of validators to set@Nonnull public List<Validator<V>> getValidators()
protected void applyValidators(@Nonnull V obj, @Nonnull AbstractDOMTraversalStage.TraversalContext context) throws StageProcessingException
obj - object to be validatedcontext - context for the validationStageProcessingException - if errors occur during processingprotected void doDestroy()
doDestroy in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionCopyright © 1999–2016. All rights reserved.