public interface DataXformExt extends DataXform
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright_notice |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes(java.lang.String serviceName,
java.lang.String payload)
Transforms the input JSON string to byte array.
|
java.lang.String |
getEncoding(java.lang.String ServiceName)
Gets the Encoding Information of the given service name.
|
java.lang.String |
getJSONString(java.lang.String serviceName,
byte[] bytes)
Transforms a byte array to a JSON string.
|
java.lang.String |
getRequestSchemaString(java.lang.String serviceName)
Returns the request schema in string form.
|
java.lang.String |
getResponseSchemaString(java.lang.String serviceName)
Returns the response schema in string form.
|
void |
setPreserveJSONObjectPayloadOrder(boolean preserveJSONObjectOder)
Sets the indicator that tells the data transformer if the order of entries in JSON object payloads should be
preserved.
|
void |
setPreserveJsonPayloadCharFormat(boolean preserveJsonPayloadCharFormat)
Sets the indicator that tells the data transformer if the JSON payload's characters should flow unchanged through
z/OS Connect during a service invocation and schema retrievals.
|
getBytes, getJSON, getProviderName, getRequestPayloadDataSize, getRequestSchema, getResponsePayloadDataSize, getResponseSchema
static final java.lang.String copyright_notice
java.lang.String getEncoding(java.lang.String ServiceName)
ServiceName
- ServiceName - the service name of the DataXform Servicevoid setPreserveJSONObjectPayloadOrder(boolean preserveJSONObjectOder)
preserveJSONObjectOder
- Indicates if the order of entries in JSON object payloads should be preserved.void setPreserveJsonPayloadCharFormat(boolean preserveJsonPayloadCharFormat)
preserveJsonPayloadCharFormat
- True to set the indicator that tells the data transformer if the JSON
payload's characters should flow unchanged through z/OS Connect during a service invocation. False
otherwisebyte[] getBytes(java.lang.String serviceName, java.lang.String payload) throws DataXformException
serviceName
- The service name associated to the request requesting the payload to be transformed to bytes.payload
- The JSON string to be transformed.DataXformException
- If an error occurred during the data transformation.java.lang.String getRequestSchemaString(java.lang.String serviceName) throws DataXformException
serviceName
- The name of the service.DataXformException
- If an error occurred during the data transformation.java.lang.String getResponseSchemaString(java.lang.String serviceName) throws DataXformException
serviceName
- The name of the service.DataXformException
- If an error occurred during the data transformation.java.lang.String getJSONString(java.lang.String serviceName, byte[] bytes) throws DataXformException
serviceName
- The name of the servicebytes
- The bytes to be transformed.DataXformException
- If an error occurred during the data transformation.