Class RendererAdapter
java.lang.Object
org.openehealth.ipf.platform.camel.core.adapter.AdapterSupport
org.openehealth.ipf.platform.camel.core.adapter.ProcessorAdapter
org.openehealth.ipf.platform.camel.core.adapter.RendererAdapter
Adapts a
Renderer
.- Author:
- Martin Krasser
-
Constructor Summary
ConstructorDescriptionRendererAdapter
(Renderer renderer) Creates a newRendererAdapter
and sets the delegateRenderer
. -
Method Summary
Methods inherited from class org.openehealth.ipf.platform.camel.core.adapter.ProcessorAdapter
input, params, process, staticParams
Methods inherited from class org.openehealth.ipf.platform.camel.core.adapter.AdapterSupport
adaptInput, adaptParams, input, params
-
Constructor Details
-
RendererAdapter
Creates a newRendererAdapter
and sets the delegateRenderer
.- Parameters:
renderer
- a renderer.
-
-
Method Details
-
doProcess
Delegates processing of input data and input parameters to aRenderer
object. The rendering result is written to body of the message returned byExchanges.prepareResult(Exchange)
.- Specified by:
doProcess
in classProcessorAdapter
- Parameters:
exchange
- message exchange where to write processing results.inputData
- input data.inputParams
- input parameters.
-