net.shibboleth.metadata.dom
Class XSLValidationStage
java.lang.Object
net.shibboleth.metadata.pipeline.AbstractComponent
net.shibboleth.metadata.pipeline.BaseStage<DomElementItem>
net.shibboleth.metadata.dom.AbstractXSLProcessingStage
net.shibboleth.metadata.dom.XSLValidationStage
- All Implemented Interfaces:
- Component, Stage<DomElementItem>
@ThreadSafe
public class XSLValidationStage
- extends AbstractXSLProcessingStage
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.
XSLValidationStage
public XSLValidationStage()
executeTransformer
protected void executeTransformer(Transformer transformer,
Collection<DomElementItem> itemCollection)
throws StageProcessingException,
TransformerConfigurationException
- Executes the XSLT transform on the given collection of Items.
- Specified by:
executeTransformer in class AbstractXSLProcessingStage
- Parameters:
transformer - The transform to be applied to each Item. Already has all AbstractXSLProcessingStage.transformParameters set.itemCollection - the Items to which the transform should be applied
- Throws:
StageProcessingException - thrown if there is a problem applying the transform to Items
TransformerConfigurationException - thrown if there is a problem with the Transform itself
Copyright © 2009-2011. All Rights Reserved.