Class ContentLanguageItem
java.lang.Object
org.ametys.cms.properties.section.technical.AbstractTechnicalItem
org.ametys.cms.properties.section.technical.impl.AbstractLanguageItem
org.ametys.cms.properties.section.technical.impl.ContentLanguageItem
- All Implemented Interfaces:
TechnicalItem
,PluginAware
,Prioritizable
,Supporter<AmetysObject>
,Configurable
,Serviceable
Technical section item to display content language.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
_getLanguage
(AmetysObject ametysObject) Get the language code on the Ametys object.boolean
supports
(AmetysObject ametysObject) Check if an element is supportedMethods inherited from class org.ametys.cms.properties.section.technical.impl.AbstractLanguageItem
_getDefaultXSLT, buildData, service
Methods inherited from class org.ametys.cms.properties.section.technical.AbstractTechnicalItem
configure, getId, getPriority, getXSLT, setPluginInfo
-
Constructor Details
-
ContentLanguageItem
public ContentLanguageItem()
-
-
Method Details
-
supports
Description copied from interface:Supporter
Check if an element is supported- Parameters:
ametysObject
- The element- Returns:
true
if the element is supported,false
otherwise
-
_getLanguage
Description copied from class:AbstractLanguageItem
Get the language code on the Ametys object.- Specified by:
_getLanguage
in classAbstractLanguageItem
- Parameters:
ametysObject
- The Ametys object- Returns:
- the language code or null
-