public class DocumentLocation
extends java.lang.Object
This Class provides a wrapper for the AT and TO keywords for CICS DOCUMENT API command DOCUMENT INSERT.
The AT keyword gives the name of the bookmark which identifies the position of the insertion point in the document at which data can be inserted.
The TO keyword gives the name of the bookmark identifying the end position of an overlay operation. Data can be overlayed between the AT and TO bookmarks.
The constructors accept the AT bookmark or both the AT and TO bookmarks. Protected getters are provided to retrieve the AT and TO bookmarks.
Constructor and Description |
---|
DocumentLocation(java.lang.String Iat)
Usage:
Public constructor which accepts an AT string. |
DocumentLocation(java.lang.String Iat,
java.lang.String Ito)
Usage:
Public constructor which accepts an AT string and TO string. |
public DocumentLocation(java.lang.String Iat)
Iat
- contains the name of the AT bookmarkpublic DocumentLocation(java.lang.String Iat, java.lang.String Ito)
Iat
- contains the name of the AT bookmarkIto
- contains the name of the TO bookmark