Package net.shibboleth.metadata.dom
Class AbstractElementValidationStage<T>
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.metadata.pipeline.AbstractStage<T>
net.shibboleth.metadata.pipeline.AbstractIteratingStage<Element>
net.shibboleth.metadata.dom.AbstractDOMTraversalStage<C>
net.shibboleth.metadata.dom.AbstractDOMValidationStage<V,DOMTraversalContext>
net.shibboleth.metadata.dom.AbstractElementVisitingValidationStage<T,Element>
net.shibboleth.metadata.dom.AbstractElementValidationStage<T>
- Type Parameters:
T- type to convert eachElementto for validation
- All Implemented Interfaces:
Stage<Element>,net.shibboleth.shared.component.Component,net.shibboleth.shared.component.DestructableComponent,net.shibboleth.shared.component.IdentifiableComponent,net.shibboleth.shared.component.IdentifiedComponent,net.shibboleth.shared.component.InitializableComponent
- Direct Known Subclasses:
StringElementValidationStage
@ThreadSafe
public abstract class AbstractElementValidationStage<T>
extends AbstractElementVisitingValidationStage<T,Element>
Abstract base class allowing a selected subset of
Elements in a DOM document
to be validated as a given type.- Since:
- 0.10.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvisit(Element element, DOMTraversalContext context) Visit a particularElement.Methods inherited from class net.shibboleth.metadata.dom.AbstractElementVisitingValidationStage
applicable, buildContext, convert, doInitialize, getElementNames, setElementName, setElementNamesMethods inherited from class net.shibboleth.metadata.dom.AbstractDOMValidationStage
applyValidators, doDestroy, getValidators, setValidatorsMethods inherited from class net.shibboleth.metadata.dom.AbstractDOMTraversalStage
addError, doExecute, errorPrefixMethods inherited from class net.shibboleth.metadata.pipeline.AbstractIteratingStage
doExecuteMethods inherited from class net.shibboleth.metadata.pipeline.AbstractStage
execute, getCollectionPredicate, setCollectionPredicateMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.DestructableComponent
destroy, isDestroyedMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Constructor Details
-
AbstractElementValidationStage
public AbstractElementValidationStage()
-
-
Method Details
-
visit
protected void visit(@Nonnull Element element, @Nonnull DOMTraversalContext context) throws StageProcessingException Description copied from class:AbstractDOMTraversalStageVisit a particularElement.- Specified by:
visitin classAbstractDOMTraversalStage<DOMTraversalContext>- Parameters:
element- theElementto visitcontext- the traversal context- Throws:
StageProcessingException- if errors occur during processing
-