public class DataMapperMediator
extends org.apache.synapse.mediators.AbstractMediator
implements org.apache.synapse.ManagedLifecycle
Constructor and Description |
---|
DataMapperMediator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
destroy the generated unique ID for the DataMapperMediator instance
|
org.apache.synapse.mediators.Value |
getInputSchemaKey()
Gets the key which is used to pick the input schema from the
registry
|
String |
getInputType()
Gets the input data type
|
org.apache.synapse.mediators.Value |
getMappingConfigurationKey()
Gets the key which is used to pick the mapping configuration from the
registry
|
org.apache.synapse.mediators.Value |
getOutputSchemaKey()
Gets the key which is used to pick the output schema from the
registry
|
String |
getOutputType()
Gets the output data type
|
org.apache.synapse.mediators.Value |
getXsltStyleSheetKey() |
void |
init(org.apache.synapse.core.SynapseEnvironment se) |
boolean |
isContentAltering() |
boolean |
isContentAware()
State that DataMapperMediator interacts with the message context
|
boolean |
mediate(org.apache.synapse.MessageContext synCtx)
Get the values from the message context to do the data mapping
|
void |
setInputSchemaKey(org.apache.synapse.mediators.Value dataMapperInSchemaKey)
Sets the registry key in order to pick the input schema
|
void |
setInputType(String type)
Sets the input data type
|
void |
setMappingConfigurationKey(org.apache.synapse.mediators.Value dataMapperconfigKey)
Sets the registry key in order to pick the mapping configuration
|
void |
setOutputSchemaKey(org.apache.synapse.mediators.Value dataMapperOutSchemaKey)
Sets the registry key in order to pick the output schema
|
void |
setOutputType(String type)
Sets the output data type
|
void |
setXsltStyleSheetKey(org.apache.synapse.mediators.Value dataMapperXsltStyleSheetKey)
Sets the registry key in order to pick the input schema
|
auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getLastSequenceFaultHandler, getLog, getMediatorName, getMediatorPosition, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, getType, handleException, handleException, isBreakPoint, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
public org.apache.synapse.mediators.Value getMappingConfigurationKey()
public void setMappingConfigurationKey(org.apache.synapse.mediators.Value dataMapperconfigKey)
dataMapperconfigKey
- registry key for the mapping configurationpublic org.apache.synapse.mediators.Value getInputSchemaKey()
public void setInputSchemaKey(org.apache.synapse.mediators.Value dataMapperInSchemaKey)
dataMapperInSchemaKey
- registry key for the input schemapublic void setXsltStyleSheetKey(org.apache.synapse.mediators.Value dataMapperXsltStyleSheetKey)
dataMapperXsltStyleSheetKey
- registry key for the input schemapublic org.apache.synapse.mediators.Value getXsltStyleSheetKey()
public org.apache.synapse.mediators.Value getOutputSchemaKey()
public void setOutputSchemaKey(org.apache.synapse.mediators.Value dataMapperOutSchemaKey)
dataMapperOutSchemaKey
- registry key for the output schemapublic String getInputType()
getInputType
in class org.apache.synapse.mediators.AbstractMediator
public void setInputType(String type)
type
- the input data typepublic String getOutputType()
getOutputType
in class org.apache.synapse.mediators.AbstractMediator
public void setOutputType(String type)
type
- the output data typepublic boolean mediate(org.apache.synapse.MessageContext synCtx)
mediate
in interface org.apache.synapse.Mediator
synCtx
- current message for the mediationpublic boolean isContentAware()
isContentAware
in interface org.apache.synapse.Mediator
isContentAware
in class org.apache.synapse.mediators.AbstractMediator
public boolean isContentAltering()
isContentAltering
in interface org.apache.synapse.Mediator
isContentAltering
in class org.apache.synapse.mediators.AbstractMediator
public void init(org.apache.synapse.core.SynapseEnvironment se)
init
in interface org.apache.synapse.ManagedLifecycle
public void destroy()
destroy
in interface org.apache.synapse.ManagedLifecycle
Copyright © 2019 WSO2. All rights reserved.