|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomLangInfoProvider
public abstract class AbstractGomLangInfoProvider
Abstract implementation of a language information provider.
| Constructor Summary | |
|---|---|
AbstractGomLangInfoProvider()
|
|
| Method Summary | |
|---|---|
String |
description(String lang)
Resolve the description for the given language or fallback. |
String |
getDescription()
Deprecated. since 4.0.17 - use AbstractGomLangInfoProvider.getLangInfos().get(String).getDescription() instead |
String |
getLabel()
Deprecated. since 4.0.17 - use AbstractGomLangInfoProvider.getLangInfos().get(String).getLabel() instead |
DefaultGomLangInfos |
getLangInfos()
Get the container of language information stored for this element. |
String |
label(String lang)
Resolve the label for the given language or fallback. |
void |
setDescription(String description)
Deprecated. since 4.0.17 - use AbstractGomLangInfoProvider.getLangInfos().get(String).setDescription(String) instead |
void |
setLabel(String label)
Deprecated. since 4.0.17 - use AbstractGomLangInfoProvider.getLangInfos().get(String).setLabel(String) instead |
protected void |
setLabelAndDescription(String lang,
String label,
String description)
|
| Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement |
|---|
getDefaultTag, getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement |
|---|
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration, validate |
| Constructor Detail |
|---|
public AbstractGomLangInfoProvider()
| Method Detail |
|---|
public DefaultGomLangInfos getLangInfos()
GomLangInfoProvider
getLangInfos in interface GomLangInfoProviderpublic String label(String lang)
GomLangInfoProvider
label in interface GomLangInfoProviderlang - The language abbreviation.
public String description(String lang)
GomLangInfoProvider
description in interface GomLangInfoProviderlang - The langauge abbreviation.
@Deprecated public String getLabel()
AbstractGomLangInfoProvider.getLangInfos().get(String).getLabel() instead
@Deprecated public void setLabel(String label)
AbstractGomLangInfoProvider.getLangInfos().get(String).setLabel(String) instead
@Deprecated public String getDescription()
AbstractGomLangInfoProvider.getLangInfos().get(String).getDescription() instead
@Deprecated public void setDescription(String description)
AbstractGomLangInfoProvider.getLangInfos().get(String).setDescription(String) instead
protected void setLabelAndDescription(String lang,
String label,
String description)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||