Package com.enonic.xp.descriptor

## Interface DescriptorLoader<T>

-     public interface DescriptorLoader<T>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `createDefault​(DescriptorKey key)` |
    `DescriptorKeys` | `find​(ApplicationKey key)` |
    `Class<T>` | `getType()` |
    `T` | `load​(DescriptorKey key, Resource resource)` |
    `T` | `postProcess​(T descriptor)` |
    `ResourceKey` | `toResource​(DescriptorKey key)` |

- - ### Method Detail

    - #### getType

          Class<T> getType()

    - #### find

          DescriptorKeys find​(ApplicationKey key)

    - #### toResource

          ResourceKey toResource​(DescriptorKey key)

    - #### load

          T load​(DescriptorKey key,
                 Resource resource)
          throws Exception

      Throws:
        `Exception`

    - #### createDefault

          T createDefault​(DescriptorKey key)

    - #### postProcess

          T postProcess​(T descriptor)