com.ibm.cics.server
Class Transform
java.lang.Object
com.ibm.cics.server.Transform
public class Transform
- extends java.lang.Object
This class provides the Java interface to the CICS TRANSFORM command.
- Version:
- 1.0
- Author:
- Paul Cooper
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Transform
public Transform()
xmlToData
public static TransformOutput xmlToData(TransformInput input)
throws java.lang.IllegalArgumentException,
RecordNotFoundException,
ChannelErrorException,
ContainerErrorException,
LengthErrorException,
InvalidRequestException
- Transform XML to record based data.
- Parameters:
input - the input parameters for the XMLTODATA command
- Returns:
- information about the XML that was found
- Throws:
java.lang.IllegalArgumentException - Thrown if a required input parameter is missing
RecordNotFoundException - Thrown if the XMLTRANSFORM is not found
ChannelErrorException - Thrown if there is a problem with the CHANNEL
ContainerErrorException - Thrown if there is a problem with a CONTAINER
LengthErrorException - Thrown if a parameter is too long
InvalidRequestException - Thrown if an INVREQ condition occurs
dataToXML
public static TransformOutput dataToXML(TransformInput input)
throws java.lang.IllegalArgumentException,
RecordNotFoundException,
ChannelErrorException,
ContainerErrorException,
LengthErrorException,
InvalidRequestException
- Transform record based data to XML.
- Parameters:
input - the input parameters for the DATATOXML command
- Returns:
- a copy of the XML parameters
- Throws:
java.lang.IllegalArgumentException - Thrown if a required input parameter is missing
RecordNotFoundException - Thrown if the XMLTRANSFORM is not found
ChannelErrorException - Thrown if there is a problem with the CHANNEL
ContainerErrorException - Thrown if there is a problem with a CONTAINER
LengthErrorException - Thrown if a parameter is too long
InvalidRequestException - Thrown if an INVREQ condition occurs