Class PageLanguageItem
java.lang.Object
org.ametys.cms.properties.section.technical.AbstractTechnicalItem
org.ametys.cms.properties.section.technical.impl.AbstractLanguageItem
org.ametys.web.properties.section.technical.PageLanguageItem
- All Implemented Interfaces:
TechnicalItem,PluginAware,Prioritizable,Supporter<AmetysObject>,Configurable,Serviceable
Technical item to display the page language.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String_getLanguage(AmetysObject ametysObject) Get the language code on the Ametys object.booleansupports(AmetysObject ametysObject) Check if an element is supportedMethods inherited from class org.ametys.cms.properties.section.technical.impl.AbstractLanguageItem
_getDefaultXSLT, buildData, serviceMethods inherited from class org.ametys.cms.properties.section.technical.AbstractTechnicalItem
configure, getId, getPriority, getXSLT, setPluginInfo
-
Constructor Details
-
PageLanguageItem
public PageLanguageItem()
-
-
Method Details
-
supports
Description copied from interface:SupporterCheck if an element is supported- Parameters:
ametysObject- The element- Returns:
trueif the element is supported,falseotherwise
-
_getLanguage
Description copied from class:AbstractLanguageItemGet the language code on the Ametys object.- Specified by:
_getLanguagein classAbstractLanguageItem- Parameters:
ametysObject- The Ametys object- Returns:
- the language code or null
-