public class Transform
extends java.lang.Object
This class provides the Java interface to the CICS TRANSFORM command.
| Constructor and Description |
|---|
Transform() |
| Modifier and Type | Method and Description |
|---|---|
static TransformOutput |
dataToXML(TransformInput input)
Transform record based data to XML.
|
static TransformOutput |
xmlToData(TransformInput input)
Transform XML to record based data.
|
public static TransformOutput xmlToData(TransformInput input) throws java.lang.IllegalArgumentException, RecordNotFoundException, ChannelErrorException, ContainerErrorException, LengthErrorException, InvalidRequestException
input - the input parameters for the XMLTODATA commandjava.lang.IllegalArgumentException - Thrown if a required input parameter is missingRecordNotFoundException - Thrown if the XMLTRANSFORM is not foundChannelErrorException - Thrown if there is a problem with the CHANNELContainerErrorException - Thrown if there is a problem with a CONTAINERLengthErrorException - Thrown if a parameter is too longInvalidRequestException - Thrown if an INVREQ condition occurspublic static TransformOutput dataToXML(TransformInput input) throws java.lang.IllegalArgumentException, RecordNotFoundException, ChannelErrorException, ContainerErrorException, LengthErrorException, InvalidRequestException
input - the input parameters for the DATATOXML commandjava.lang.IllegalArgumentException - Thrown if a required input parameter is missingRecordNotFoundException - Thrown if the XMLTRANSFORM is not foundChannelErrorException - Thrown if there is a problem with the CHANNELContainerErrorException - Thrown if there is a problem with a CONTAINERLengthErrorException - Thrown if a parameter is too longInvalidRequestException - Thrown if an INVREQ condition occurs