org.apache.tapestry5.services

## Interface ComponentLibraryInfo.SourceUrlResolver

- All Known Implementing Classes:
    ComponentLibraryInfo.DefaultSourceUrlResolver
  Enclosing class:
    ComponentLibraryInfo

      public static interface ComponentLibraryInfo.SourceUrlResolver

  Interface that provides the source URL for a given `ComponentLibraryInfo`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `resolve(String className)` Returns the source URL for a given class.
    `void` | `setRootUrl(String url)` Sets the source root URL.

- - ### Method Detail

    - #### resolve

          String resolve(String className)

      Returns the source URL for a given class.
      Parameters:
        `className` - the fully qualified class name.

    - #### setRootUrl

          void setRootUrl(String url)

      Sets the source root URL. This method will be invoked by `ComponentLibraryInfo.setSourceBrowseUrl(String)`.

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.