Interface GomLangInfoProvider

All Superinterfaces:
GomElement, Serializable
All Known Subinterfaces:
GomCatalog, GomFormElement, GomIndex
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
Version:
$Revision$
  • Method Details

    • 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