Package org.apache.tapestry5.services
Class ComponentLibraryInfo.DefaultSourceUrlResolver
-
- org.apache.tapestry5.services.ComponentLibraryInfo.DefaultSourceUrlResolver
-
- All Implemented Interfaces:
ComponentLibraryInfo.SourceUrlResolver
- Enclosing class:
- ComponentLibraryInfo
public static class ComponentLibraryInfo.DefaultSourceUrlResolver extends implements ComponentLibraryInfo.SourceUrlResolver
DefaultComponentLibraryInfo.SourceUrlResolver
implementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultSourceUrlResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description className)
Returns the source URL for a given class.void
url)
Sets the source root URL.
-
-
-
Constructor Detail
-
DefaultSourceUrlResolver
public DefaultSourceUrlResolver()
-
-
Method Detail
-
resolve
public className)
Description copied from interface:ComponentLibraryInfo.SourceUrlResolver
Returns the source URL for a given class.- Specified by:
resolve
in interfaceComponentLibraryInfo.SourceUrlResolver
- Parameters:
className
- the fully qualified class name.
-
setRootUrl
public void url)
Description copied from interface:ComponentLibraryInfo.SourceUrlResolver
Sets the source root URL. This method will be invoked byComponentLibraryInfo.setSourceBrowseUrl(String)
.- Specified by:
setRootUrl
in interfaceComponentLibraryInfo.SourceUrlResolver
-
-