Interface GomLangInfoProvider
- All Superinterfaces:
GomElement
,Serializable
- All Known Subinterfaces:
GomCatalog
,GomFormElement
,GomIndex
,TextGomFormElement
- All Known Implementing Classes:
AbstractGomCombobox
,AbstractGomContentReferenceElement
,AbstractGomDom
,AbstractGomFormElement
,AbstractGomGridSelect
,AbstractGomLangInfoProvider
,AbstractGomSelect
,AbstractGomTableTemplateElement
,AbstractGomTextualFormElement
,GomButton
,GomCheckbox
,GomCombobox
,GomContentAreaList
,GomContentList
,GomDataset
,GomDate
,GomDom
,GomDomTable
,GomFile
,GomGroup
,GomImageMap
,GomInvalid
,GomLabel
,GomLabeledNameEntry
,GomLabeledValueEntry
,GomLink
,GomLinkList
,GomListSelect
,GomMultipleMediaChooser
,GomNumber
,GomObjectChooser
,GomPageRef
,GomPermission
,GomPicture
,GomRadiobutton
,GomReference
,GomScriptButtonEntry
,GomSectionList
,GomTableView
,GomTabList
,GomText
,GomTextarea
,GomToggle
Definition of a language information providing GOM element.
Provides a convenient method to access information in a specific
language.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String lang) Resolve the description for the given language or fallback.Get the container of language information stored for this element.Resolve the label for the given language or fallback.Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Method Details
-
getLangInfos
GomLangInfos getLangInfos()Get the container of language information stored for this element.- Returns:
- The language information container.
- Since:
- 4.0
-
label
Resolve the label for the given language or fallback.- Parameters:
lang
- The language abbreviation.- Returns:
- The label or null, if no label could be found.
- Since:
- 4.0
-
description
Resolve the description for the given language or fallback.- Parameters:
lang
- The langauge abbreviation.- Returns:
- The description otr null, if no description could be found.
- Since:
- 4.0
-