Package org.ametys.cms.source
Interface ContentView
- All Known Implementing Classes:
DefaultContentView
,WebContentView
public interface ContentView
Component responsible to lookup a
Source
for a content view-
Field Summary
-
Method Summary
-
Field Details
-
ROLE
Avalon Role
-
-
Method Details
-
getSource
Source getSource(String location, String contentType, String view, String format, String pluginName, String extension) throws IOException Get the file source for rendering a content- Parameters:
location
- the requested locationcontentType
- the type of the current Contentview
- the content viewformat
- the format of the output (html, pdf, ...)pluginName
- the current plugin nameextension
- the extension (xsl, xml, ...)- Returns:
- the file source
- Throws:
IOException
- if the Source cannot be resolved
-