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
This implementation of a
ODFWebView
looks first in the directory skin://stylesheets/catalog/ then defaults to DefaultODFView
.-
Field Summary
Fields inherited from class org.ametys.odf.source.DefaultODFView
_resolver
Fields inherited from interface org.ametys.odf.source.ODFViewSelector
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_getDefaultSourceURIs
(String pluginName, String filePath) Get the default URIsgetLocations
(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 Details
-
ODFWebView
public ODFWebView()
-
-
Method Details
-
getLocations
Description copied from class:DefaultODFView
Returns the ordered list of URI to be tested to find the corresponding view.- Overrides:
getLocations
in classDefaultODFView
- Parameters:
pluginName
- the plugin namefilePath
- the requested location.- Returns:
- a list of possible URIs for the resource.
-
_getDefaultSourceURIs
Description copied from class:DefaultODFView
Get the default URIs- Overrides:
_getDefaultSourceURIs
in classDefaultODFView
- Parameters:
pluginName
- The current plugin namefilePath
- the requested location.- Returns:
- a list of URIs
-