public class ApplyXSLTToDocumentStage extends AbstractTransformation<Document,String>
Document and applies an XSL transformation. It then, if successful, sends the output as a
String to the output port.outputPortinputPortlogger| Constructor and Description |
|---|
ApplyXSLTToDocumentStage(File xsltFile)
Constructor.
|
ApplyXSLTToDocumentStage(String xsltFile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(Document inputDocument)
Contains the logic of this stage and is invoked (possibly multiple times) by the framework.
|
getOutputPortcreateInputPort, execute, getInputPortabort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompletedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInputPortpublic ApplyXSLTToDocumentStage(String xsltFile)
xsltFile - XSL transformation file path used for the transformationsprotected void execute(Document inputDocument)
AbstractConsumerStageexecute in class AbstractConsumerStage<Document>inputDocument - the next non-null element from the (only) input port of this stageCopyright © 2015–2020. All rights reserved.