org.apache.wookie.w3c
Interface ILocalized

All Known Subinterfaces:
IAuthor, IContent, IContentEntity, IDescription, IIcon, IIconEntity, ILicense, IName, W3CWidget
All Known Implementing Classes:
AbstractLocalizedEntity, AuthorEntity, ContentEntity, DescriptionEntity, IconEntity, LicenseEntity, NameEntity, WidgetManifestModel

public interface ILocalized

An element that can be localized by language tag


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.


2012 Apache Software Foundation.