de.espirit.firstspirit.access.store.templatestore.gom
Interface GomLangInfoProvider

All Superinterfaces:
GomElement, Serializable
All Known Subinterfaces:
GomFormElement
All Known Implementing Classes:
AbstractGomFormElement, AbstractGomLangInfoProvider, GomLabeledValueEntry

public interface GomLangInfoProvider
extends GomElement

Definition of a language information providing GOM element. Provides a convenient method to access information in a specific language. $Date$

Since:
4.0

Method Summary
 String description(String lang)
          Resolve the description for the given language or fallback.
 GomLangInfos getLangInfos()
          Get the container of language information stored for this element.
 String label(String lang)
          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, validate
 

Method Detail

getLangInfos

GomLangInfos getLangInfos()
Get the container of language information stored for this element.

Returns:
The language information container.
Since:
4.0

label

String label(String lang)
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

String description(String lang)
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


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480