public class MappingResource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NAMESPACE_DELIMETER |
static String |
NEW_LINE |
Constructor and Description |
---|
MappingResource(InputStream inputSchema,
InputStream outputSchema,
InputStream mappingConfig,
String outputType) |
Modifier and Type | Method and Description |
---|---|
JSFunction |
getFunction() |
Schema |
getInputSchema() |
Schema |
getOutputSchema() |
List |
getPropertiesList()
propertiesList contains a list of WSO2 ESB Properties used in the Data Mapper Mapping configuration.
|
public static final String NAMESPACE_DELIMETER
public static final String NEW_LINE
public MappingResource(InputStream inputSchema, InputStream outputSchema, InputStream mappingConfig, String outputType) throws SchemaException, JSException
inputSchema
- respective output json schema as a a stream of bytesoutputSchema
- respective output json schema as a a stream of bytesmappingConfig
- mapping configuration file as a stream of bytesIOException
- when input errors, If there any parser exception occur while passing
above schemas method
will this exceptionSchemaException
JSException
public Schema getInputSchema()
public Schema getOutputSchema()
public JSFunction getFunction()
public List getPropertiesList()
Copyright © 2017 WSO2. All rights reserved.