Engine Developer Guide

Engine Developer Guide

Developing a Custom Component in Java

Developing a Custom Component in Java

  1. Create a class that implements interfaces. The following table describes the interfaces that can be implemented:
    Component Type
    Description
    Document processor
    Input: File
    Interface: CMXFileProcessor
    Document processor
    Input: Buffer
    Interface: CMXByteArrayProcessor
    Transformer
    Input: String
    Interface: CMXStringTransformer
    Transformer
    Input: Buffer
    Interface: CMXByteArrayTransform
    For more information about these interfaces, see the
    External-Component Java Interface Reference
    .
  2. Compile the project to a JAR file.
  3. Store the JAR in the
    externLibs\user
    subdirectory of the installation directory of every computer where you plan to use the component.
  4. Create a script file that defines the display name of the component and its properties. Store the file in the
    autoInclude\user
    subdirectory of the installation directory.
    For more information about this step, see Configuring an External Component.
    You can then use the custom component in transformations.

0 COMMENTS

We’d like to hear from you!