net.shibboleth.metadata.dom
Class XSLTransformationStage
java.lang.Object
net.shibboleth.metadata.pipeline.AbstractComponent
net.shibboleth.metadata.pipeline.BaseStage<DomElementItem>
net.shibboleth.metadata.dom.AbstractXSLProcessingStage
net.shibboleth.metadata.dom.XSLTransformationStage
- All Implemented Interfaces:
- Component, Stage<DomElementItem>
@ThreadSafe
public class XSLTransformationStage
- extends AbstractXSLProcessingStage
A pipeline stage which transforms each item in the DomElementItem collection via an XSL transform. Each item
is replaced by an item constructed from the result of the transform. The result DomElementItem receives
InfoStatus, WarningStatus, and
ErrorStatus metadata via the
AbstractXSLProcessingStage.StatusInfoAppendingErrorListener.
XSLTransformationStage
public XSLTransformationStage()
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.