@ThreadSafe public class XSLValidationStage extends AbstractXSLProcessingStage
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
.AbstractXSLProcessingStage.StatusInfoAppendingErrorListener
Constructor and Description |
---|
XSLValidationStage() |
Modifier and Type | Method and Description |
---|---|
protected void |
executeTransformer(Transformer transformer,
Collection<Item<Element>> itemCollection)
Executes the XSLT transform on the given collection of Items.
|
doDestroy, doExecute, doInitialize, getTransformAttributes, getTransformFeatures, getTransformParameters, getURIResolver, getXSLResource, setTransformAttributes, setTransformFeatures, setTransformParameters, setURIResolver, setXSLResource
execute, getCollectionPredicate, setCollectionPredicate
setId
getId
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed
protected void executeTransformer(@Nonnull Transformer transformer, @Nonnull@NonnullElements Collection<Item<Element>> itemCollection) throws StageProcessingException, TransformerConfigurationException
executeTransformer
in class AbstractXSLProcessingStage
transformer
- The transform to be applied to each Item. Already has all AbstractXSLProcessingStage.transformParameters
set.itemCollection
- the Items to which the transform should be appliedStageProcessingException
- thrown if there is a problem applying the transform to ItemsTransformerConfigurationException
- thrown if there is a problem with the Transform itselfCopyright © 1999–2016. All rights reserved.