Package org.ametys.cms.source
Interface ViewSelector
-
- All Known Implementing Classes:
DefaultViewSelector
,WebViewSelector
public interface ViewSelector
Provides an overridable mechanism for selecting a view (a XSL file in most cases).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Source
getSource(String pluginName, String location)
Get the file source for the requested location.
-
-
-
Method Detail
-
getSource
Source getSource(String pluginName, String location) throws IOException
Get the file source for the requested location.- Parameters:
pluginName
- The current plugin name. Can be null.location
- the requested location.- Returns:
- the file source.
- Throws:
IOException
- if the Source cannot be resolved.
-
-