Package org.ametys.cms.source
Interface ContentView
- 
- All Known Implementing Classes:
 DefaultContentView,WebContentView
public interface ContentView
Component responsible to lookup aSourcefor a content view 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SourcegetSource(String location, String contentType, String view, String format, String pluginName, String extension)Get the file source for rendering a content 
 - 
 
- 
- 
Method Detail
- 
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
 
 - 
 
 -