Using the DLA Book Production API

You can use the DLA book production API to create well-formed Identity Markup Language (IdML) books conforming to the IdML schema.

To create IdML books, complete the following steps:

  1. Create an instance of the IDMLBook class and initialize it by calling the create(), getBookName(), and openBook() methods.

    See Book properties and methods for more information.

  2. Add operation sets to the book by calling the openOperationSet() and closeOperationSet() methods.

    See Book properties and methods for more information.

  3. Add operations to the operation sets by calling the openCreateOperation(), openDeleteOperation(), openModifyOperation(), and openRefreshOperation() methods.

    See Book properties and methods for more information.

  4. Within each operation, such as create or delete, add managed elements and relationships using the addManagedElement() and addRelationship() methods.
  5. Call the appropriate close method to complete each operation and operationSet, as required.
  6. Close the book and complete production by calling the closeBook() method.