Package org.apache.tapestry5.services
Class ComponentLibraryInfo.DefaultSourceUrlResolver
java.lang.Object
org.apache.tapestry5.services.ComponentLibraryInfo.DefaultSourceUrlResolver
- All Implemented Interfaces:
ComponentLibraryInfo.SourceUrlResolver
- Enclosing class:
- ComponentLibraryInfo
public static class ComponentLibraryInfo.DefaultSourceUrlResolver
extends Object
implements ComponentLibraryInfo.SourceUrlResolver
Default
ComponentLibraryInfo.SourceUrlResolver
implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the source URL for a given class.void
setRootUrl
(String url) Sets the source root URL.
-
Constructor Details
-
DefaultSourceUrlResolver
public DefaultSourceUrlResolver()
-
-
Method Details
-
resolve
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
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
-