org.apache.wookie.w3c
Interface ILocalizedElement

All Known Subinterfaces:
IAuthorEntity, IContentEntity, IDescriptionEntity, IIconEntity, ILicenseEntity, ILocalizedEntity, INameEntity, W3CWidget
All Known Implementing Classes:
AbstractLocalizedEntity, AuthorEntity, ContentEntity, DescriptionEntity, IconEntity, LicenseEntity, NameEntity, WidgetManifestModel

public interface ILocalizedElement

An element that can be localized by language tag

See Also:
ILocalizedEntity

Method Summary
 java.lang.String getLang()
          Get the language tag for the element.
 void setLang(java.lang.String lang)
          Set the language tag for the element.
 

Method Detail

getLang

java.lang.String getLang()
Get the language tag for the element. This should conform to BCP47.

Returns:
the language tag, or null if no language tag has been set for the element

setLang

void setLang(java.lang.String lang)
Set the language tag for the element.

Parameters:
lang - a language tag to set; this should conform to BCP47.


2011 Apache Software Foundation.