XPM

An XPM is a reference to the translation pseudo machine of the system. It also reflects the state of the pseudo machine at the point at which the associated CALL, COPY, or other translation action is performed.

The XPM class provides these types of functionality:

  • An Rm representing both the input and output messages of the translation process. It also provides temporary variables that are referred to directly by the Translation Configuration dialog box.
  • A set of message metadata representing the metadata of the output message. This is preinitialized by the engine to be the metadata of the input message.
  • Access to the addresses of the fields, if any, which were specified in the source column of the action that is currently being processed.

Unlike GRM subclasses, an XPM is only created implicitly by the engine, not explicitly by Java code. As a corollary, an XPM cannot be destroyed by Java code.

XPM methods can only be used within the methods of an XLT subclass. This is when the engine provides an XPM as an argument to the process methods.