net.shibboleth.metadata.dom
Class MultiOutputXSLTransformationStage
java.lang.Object
net.shibboleth.metadata.pipeline.AbstractComponent
net.shibboleth.metadata.pipeline.BaseStage<DomElementItem>
net.shibboleth.metadata.dom.AbstractXSLProcessingStage
net.shibboleth.metadata.dom.MultiOutputXSLTransformationStage
- All Implemented Interfaces:
- Component, Stage<DomElementItem>
@ThreadSafe
public class MultiOutputXSLTransformationStage
- extends AbstractXSLProcessingStage
A pipeline stage which transforms each item in the DomElementItem collection via an XSL transform. Each of
the input items may result in zero, one or more XML elements, each of which results in a DomElementItem in
the resulting collection. The resulting DomElementItems receive InfoStatus,
WarningStatus, and ErrorStatus metadata via the
AbstractXSLProcessingStage.StatusInfoAppendingErrorListener.
MultiOutputXSLTransformationStage
public MultiOutputXSLTransformationStage()
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.