Package net.shibboleth.metadata.dom
Class XSLValidationStage
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.metadata.pipeline.AbstractStage<Element>
net.shibboleth.metadata.dom.AbstractXSLProcessingStage
net.shibboleth.metadata.dom.XSLValidationStage
- 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
A pipeline which "validates" each element in the
DOMElementItem collection via an XSL stylesheet. The results
of the transform are discarded but the source element receives InfoStatus,
WarningStatus, and ErrorStatus metadata via the
AbstractXSLProcessingStage.StatusInfoAppendingErrorListener.-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.metadata.dom.AbstractXSLProcessingStage
AbstractXSLProcessingStage.StatusInfoAppendingErrorListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteTransformer(Transformer transformer, Collection<Item<Element>> items) Executes the XSLT transform on the given collection of Items.Methods inherited from class net.shibboleth.metadata.dom.AbstractXSLProcessingStage
doExecute, doInitialize, getTransformAttributes, getTransformFeatures, getTransformParameters, getURIResolver, getXSLResource, setTransformAttributes, setTransformFeatures, setTransformParameters, setURIResolver, setXSLResourceMethods 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, doDestroy, 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
-
XSLValidationStage
public XSLValidationStage()
-
-
Method Details
-
executeTransformer
protected void executeTransformer(@Nonnull Transformer transformer, @Nonnull @NonnullElements Collection<Item<Element>> items) throws StageProcessingException, TransformerConfigurationException Description copied from class:AbstractXSLProcessingStageExecutes the XSLT transform on the given collection of Items.- Specified by:
executeTransformerin classAbstractXSLProcessingStage- Parameters:
transformer- The transform to be applied to each Item. Already has allAbstractXSLProcessingStage.transformParametersset.items- the Items to which the transform should be applied- Throws:
StageProcessingException- thrown if there is a problem applying the transform to ItemsTransformerConfigurationException- thrown if there is a problem with the Transform itself
-