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).
-
Field Summary
-
Method Summary
-
Field Details
-
ROLE
The avalon role.
-
-
Method Details
-
getSource
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.
-