Adding Java function

You can drop Java functions on a mapping or a loop.

  1. Double-click a mapping to open it in the Mapper Editor.
  2. From the Core Functions pane, click and drag Java in your mapping.

    Drop it in the space between the output document trees to add a UVJ function.

    Note: When connecting elements, you can drop elements only where it is acceptable.
  3. Define the processing to be done by the function.
  4. Add links to input/output parameters to receive/output through UVJ function.

    With the parameters, you can now receive and output data through the links.

  5. Save the function in the Java Editor and in the Mapping Editor.
    Note: You must save the changes in both Java Editor and Mapping Editor to save the changes made in your mapping.