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

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • Constructor Summary

    Constructors 
    Constructor Description
    JAXBMarshalStage​(java.lang.Class<T> elementsClass)  
    JAXBMarshalStage​(java.lang.Class<T> elementsClass, java.lang.Boolean formattedOutput)  
  • Method Summary

    Modifier and Type Method Description
    protected void combine​(javax.xml.bind.JAXBElement<T> jaxbElement, java.io.OutputStream outputStream)  

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • JAXBMarshalStage

      public JAXBMarshalStage​(java.lang.Class<T> elementsClass)
    • JAXBMarshalStage

      public JAXBMarshalStage​(java.lang.Class<T> elementsClass, java.lang.Boolean formattedOutput)
  • Method Details

    • combine

      protected void combine​(javax.xml.bind.JAXBElement<T> jaxbElement, java.io.OutputStream outputStream)
      Specified by:
      combine in class AbstractBiCombinerStage<javax.xml.bind.JAXBElement<T>,​java.io.OutputStream>