lv.pasts.eme.edoc

## Interface EDOCBuilder.EDOCBuilderCallback

- All Superinterfaces:
    EDOCBuilder.EDOCLoadParameter
  Enclosing class:
    EDOCBuilder

      public static interface EDOCBuilder.EDOCBuilderCallback
      extends EDOCBuilder.EDOCLoadParameter

  `EDOCBuilderCallback` class is used to get user input during EDOC loading.
  See Also:
    `EDOCBuilder.openEDOC(File, lv.pasts.eme.edoc.EDOCBuilder.EDOCLoadParameter)`, `EDOCBuilder.openEDOC(URL, lv.pasts.eme.edoc.EDOCBuilder.EDOCLoadParameter)`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `loadTemplate(String id, String url)` Confirm EDOC template loading from the specified URL.
    `void` | `templateLoadFailed(String id, String url, String reason)` Notify the user that EDOC template loading failed.

- - ### Method Detail

    - #### loadTemplate

          boolean loadTemplate(String id,
                               String url)

      Confirm EDOC template loading from the specified URL.
      Parameters:
        `id` - the template identifier.
        `url` - the template URL.
      Returns:
        true if the template should be loaded from the specified URL.

    - #### templateLoadFailed

          void templateLoadFailed(String id,
                                  String url,
                                  String reason)

      Notify the user that EDOC template loading failed.
      Parameters:
        `id` - the template identifier.
        `url` - the template URL.
        `reason` - the failure reason.
      Since:
        1.1.0

Copyright VAS Latvijas Valsts radio un televizijas centrs / Developed by SIA EUSO