Modifier and Type | Method and Description |
---|---|
Model |
Executor.execute(MappingResource mappingResource,
String inputVariable,
String properties)
Method to execute the mapping config in the
MappingResource on
input variable and returns the output model |
Model |
ScriptExecutor.execute(MappingResource mappingResource,
String inputVariable,
String properties) |
Modifier and Type | Method and Description |
---|---|
String |
MappingHandler.doMap(InputStream inputMsg,
Map<String,Map<String,Object>> propertiesMap)
This method performs the mapping from input message to the specified output schema.
|
void |
MappingHandler.notifyInputVariable(Object variable) |
Constructor and Description |
---|
MappingHandler(MappingResource mappingResource,
String inputType,
String outputType,
String dmExecutorPoolSize) |
MappingResource(InputStream inputSchema,
InputStream outputSchema,
InputStream mappingConfig,
String outputType) |
Modifier and Type | Method and Description |
---|---|
void |
InputVariableNotifier.notifyInputVariable(Object variable) |
Modifier and Type | Method and Description |
---|---|
String |
Schema.getElementTypeByName(List<SchemaElement> elementStack)
Method to get the element type specified in the schema by giving the element hierarchy
|
String |
JacksonJSONSchema.getElementTypeByName(List<SchemaElement> elementStack) |
String |
Schema.getElementTypeByName(String elementStack) |
String |
JacksonJSONSchema.getElementTypeByName(String elementName) |
String |
Schema.getName()
Method for get defined name of the schema
|
String |
JacksonJSONSchema.getName() |
boolean |
Schema.isChildElement(List<SchemaElement> elementStack,
String childElementName) |
boolean |
JacksonJSONSchema.isChildElement(List<SchemaElement> elementStack,
String childElementName) |
Constructor and Description |
---|
JacksonJSONSchema(InputStream inputSchema) |
Modifier and Type | Method and Description |
---|---|
void |
InputBuilder.notifyWithResult(String builtMessage)
This method will be called by the XMLInputReader instance to notify with the output
|
Modifier and Type | Method and Description |
---|---|
String |
XMLInputReader.getAttributeQName(org.apache.axiom.om.OMNamespace omNamespace,
String localName,
Map jsonSchemaMap)
This function will resolve prefix for given URI depending on the provided traversal level given by jsonSchemaMap
|
String |
XMLInputReader.xmlTraverse(org.apache.axiom.om.OMElement omElement,
String prevElementName,
Map jsonSchemaMap)
This method will perform a Depth First Search on the XML message and build the json message
|
Modifier and Type | Method and Description |
---|---|
void |
OutputMessageBuilder.buildOutputMessage(Model outputModel,
OutputVariableNotifier mappingHandler) |
void |
OutputMessageBuilder.notifyEvent(ReaderEvent readerEvent) |
Constructor and Description |
---|
OutputMessageBuilder(InputOutputDataType dataType,
ModelType modelType,
Schema outputSchema) |
Modifier and Type | Method and Description |
---|---|
void |
Formatter.format(Model model,
OutputMessageBuilder outputMessageBuilder,
Schema outputSchema) |
void |
MapOutputFormatter.format(Model model,
OutputMessageBuilder outputMessageBuilder,
Schema outputSchema) |
Modifier and Type | Method and Description |
---|---|
static Writer |
WriterFactory.getWriter(InputOutputDataType outputType,
Schema outputSchema) |
Constructor and Description |
---|
CSVWriter(Schema outputSchema) |
JSONWriter(Schema outputSchema) |
XMLWriter(Schema outputSchema) |
Copyright © 2018 WSO2. All rights reserved.