public abstract class AbstractGomLangInfoProvider extends AbstractGomElement implements GomLangInfoProvider, GomCheckable
GomCheckable.Context
Constructor and Description |
---|
AbstractGomLangInfoProvider() |
Modifier and Type | Method and Description |
---|---|
String |
description(String lang)
Provides the description for the given language.
|
String |
getLabel()
Deprecated.
since 4.0.17 originally replaced by LangInfos-Tag, now for hiding in GOM and enable attribute to tag conversion.
|
DefaultGomLangInfos |
getLangInfos()
Provides the language information.
|
String |
label(String lang)
Provides the label for the given language.
|
void |
setLabel(String label)
Deprecated.
since 4.0.17 originally replaced by LangInfos-Tag, now for hiding in GOM and enable attribute to tag conversion.
|
void |
validate(GomCheckable.Context context)
Validate the element against the given context.
|
getDefaultTag, getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
verify
public DefaultGomLangInfos getLangInfos()
getLangInfos
in interface GomLangInfoProvider
public String label(String lang)
label
in interface GomLangInfoProvider
lang
- The language abbreviation.public String description(String lang)
description
in interface GomLangInfoProvider
lang
- The language abbreviation.@Deprecated public String getLabel()
@Deprecated public void setLabel(String label)
public void validate(GomCheckable.Context context) throws GomValidationError
validate
in interface GomCheckable
context
- The context to validate for.GomValidationError
- If the element is not plausible wrt. its context.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210