Package kieker.analysis.util.stage
Class JAXBMarshalStage<T>
java.lang.Object
teetime.framework.AbstractStage
kieker.analysis.util.stage.AbstractBiCombinerStage<javax.xml.bind.JAXBElement<T>,java.io.OutputStream>
kieker.analysis.util.stage.JAXBMarshalStage<T>
- Type Parameters:
T
- Type of elements
public class JAXBMarshalStage<T> extends AbstractBiCombinerStage<javax.xml.bind.JAXBElement<T>,java.io.OutputStream>
This stage marshals the content tree rooted at an incoming element at the
first input port into an output stream at the second input port.
A class object has to be passed at creation. Only elements of this type
wrapped in a
JAXBElement
could be marshaled.- Since:
- 1.14
- Author:
- Sören Henning
-
Field Summary
Fields inherited from class kieker.analysis.util.stage.AbstractBiCombinerStage
inputPort1, inputPort2
-
Constructor Summary
Constructors Constructor Description JAXBMarshalStage(java.lang.Class<T> elementsClass)
JAXBMarshalStage(java.lang.Class<T> elementsClass, java.lang.Boolean formattedOutput)
-
Method Summary
Methods inherited from class kieker.analysis.util.stage.AbstractBiCombinerStage
execute, getInputPort1, getInputPort2
Methods inherited from class teetime.framework.AbstractStage
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, 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, workCompleted
-
Constructor Details
-
Method Details
-
combine
protected void combine(javax.xml.bind.JAXBElement<T> jaxbElement, java.io.OutputStream outputStream)- Specified by:
combine
in classAbstractBiCombinerStage<javax.xml.bind.JAXBElement<T>,java.io.OutputStream>
-