Package org.ametys.plugins.odfweb.source
Class ODFWebView
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.odf.source.DefaultODFView
-
- org.ametys.plugins.odfweb.source.ODFWebView
-
- All Implemented Interfaces:
ODFViewSelector,LogEnabled,Serviceable
public class ODFWebView extends DefaultODFView
This implementation of aODFWebViewlooks first in the directory skin://stylesheets/catalog/ then defaults toDefaultODFView.
-
-
Field Summary
-
Fields inherited from class org.ametys.odf.source.DefaultODFView
_resolver
-
Fields inherited from interface org.ametys.odf.source.ODFViewSelector
ROLE
-
-
Constructor Summary
Constructors Constructor Description ODFWebView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>_getDefaultSourceURIs(String pluginName, String filePath)Get the default URIsprotected List<String>getLocations(String pluginName, String filePath)Returns the ordered list of URI to be tested to find the corresponding view.-
Methods inherited from class org.ametys.odf.source.DefaultODFView
getSource, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
ODFWebView
public ODFWebView()
-
-
Method Detail
-
getLocations
protected List<String> getLocations(String pluginName, String filePath)
Description copied from class:DefaultODFViewReturns the ordered list of URI to be tested to find the corresponding view.- Overrides:
getLocationsin classDefaultODFView- Parameters:
pluginName- the plugin namefilePath- the requested location.- Returns:
- a list of possible URIs for the resource.
-
_getDefaultSourceURIs
protected List<String> _getDefaultSourceURIs(String pluginName, String filePath)
Description copied from class:DefaultODFViewGet the default URIs- Overrides:
_getDefaultSourceURIsin classDefaultODFView- Parameters:
pluginName- The current plugin namefilePath- the requested location.- Returns:
- a list of URIs
-
-