public class WebContentView extends DefaultContentView
ContentView
looks first in the directory skin://stylesheets/content/[cType]/[cType]-[view].xsl then skin://stylesheets/content/[cType]/[cType].xsl then defaults to DefaultContentView
._contentTypeEP, _contentTypesHelper, _context, _dynamicContentTypeDescriptorEP, _resolver
ROLE
Constructor and Description |
---|
WebContentView() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
_getDefaultSourceURIs(String pluginName,
String formatSuffix)
Get the URIs of default stylesheets
|
protected List<String> |
_getSourceURIsForContentType(String contentTypeAlias,
String contentTypeId,
String view,
String formatSuffix)
get source for a non dynamic content type
|
protected List<String> |
_getSourceURIsForDynamicContentType(String contentTypeAlias,
String view,
String formatSuffix,
String pluginName)
get source for a dynamic content type
|
_getDefaultSourceURIsForContentType, _getSourceURIs, _getSourceURIsForSuperTypes, contextualize, getSource, service
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public WebContentView()
protected List<String> _getDefaultSourceURIs(String pluginName, String formatSuffix)
DefaultContentView
_getDefaultSourceURIs
in class DefaultContentView
pluginName
- The current plugin nameformatSuffix
- the format of the output (html, pdf, ...)protected List<String> _getSourceURIsForDynamicContentType(String contentTypeAlias, String view, String formatSuffix, String pluginName)
DefaultContentView
_getSourceURIsForDynamicContentType
in class DefaultContentView
contentTypeAlias
- the content type alias for renderingview
- the content viewformatSuffix
- the format of the output (html, pdf, ...)pluginName
- the plugin nameprotected List<String> _getSourceURIsForContentType(String contentTypeAlias, String contentTypeId, String view, String formatSuffix)
DefaultContentView
_getSourceURIsForContentType
in class DefaultContentView
contentTypeAlias
- the content type alias for renderingcontentTypeId
- the content type full IDview
- the content viewformatSuffix
- the format of the output (html, pdf, ...)