|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ILocalizedElement | |
|---|---|
| org.apache.wookie.w3c | |
| org.apache.wookie.w3c.impl | |
| org.apache.wookie.w3c.util | |
| Uses of ILocalizedElement in org.apache.wookie.w3c |
|---|
| Subinterfaces of ILocalizedElement in org.apache.wookie.w3c | |
|---|---|
interface |
IAuthorEntity
an Author of a Widget |
interface |
IContentEntity
A Widget Start Page |
interface |
IDescriptionEntity
a Description of a Widget |
interface |
IIconEntity
a Widget icon |
interface |
ILicenseEntity
a License for a Widget |
interface |
ILocalizedEntity
An element that supports localization with both a language tag and text direction |
interface |
INameEntity
a Name of a Widget |
interface |
W3CWidget
A W3C Widget object This represents the information model for a W3C widget that has been unpacked using the W3CWidgetFactory. |
| Uses of ILocalizedElement in org.apache.wookie.w3c.impl |
|---|
| Classes in org.apache.wookie.w3c.impl that implement ILocalizedElement | |
|---|---|
class |
AbstractLocalizedEntity
Abstract base class for entities containing i18n or l10n content, including utility methods for extracting and processing text that uses language tags and text direction (e.g. |
class |
AuthorEntity
The |
class |
ContentEntity
|
class |
DescriptionEntity
The |
class |
IconEntity
|
class |
LicenseEntity
the |
class |
NameEntity
the |
class |
WidgetManifestModel
Processes a config.xml document to create a model for a widget, including all sub-objects |
| Uses of ILocalizedElement in org.apache.wookie.w3c.util |
|---|
| Methods in org.apache.wookie.w3c.util that return ILocalizedElement | |
|---|---|
protected static ILocalizedElement[] |
LocalizationUtils.filter(ILocalizedElement[] elements,
java.util.List<com.ibm.icu.util.ULocale> locales)
Filters a set of elements using the locales and returns a copy of the array containing only elements that match the locales, or that are not localized if there are no matches |
protected static ILocalizedElement |
LocalizationUtils.getLocalizedElement(ILocalizedElement[] elements,
java.lang.String[] locales)
Returns the first (best) match for an element given the set of locales, or null if there are no suitable elements. |
static ILocalizedElement |
LocalizationUtils.getLocalizedElement(ILocalizedElement[] elements,
java.lang.String[] locales,
java.lang.String defaultLocale)
Returns the first (best) match for an element given the set of locales, or will fall back to the match for defaultLocale if there are no suitable matches, and then to null if there are no elements at all. |
static ILocalizedElement[] |
LocalizationUtils.processElementsByDefaultLocales(ILocalizedElement[] elements)
Sorts an array of localized elements using default locales (*). |
protected static ILocalizedElement[] |
LocalizationUtils.processElementsByLocales(ILocalizedElement[] elements,
java.lang.String[] locales)
Filters and sorts a list of localized elements using the given locale list; only localized elements are returned unless no appropriate localized elements are found, in which case nonlocalized elements are returned |
static ILocalizedElement[] |
LocalizationUtils.processElementsByLocales(ILocalizedElement[] elements,
java.lang.String[] locales,
java.lang.String defaultLocale)
Filters and sorts a list of localized elements using the given locale list; only localized elements are returned unless no appropriate localized elements are found, in which case nonlocalized elements are returned. |
| Methods in org.apache.wookie.w3c.util with parameters of type ILocalizedElement | |
|---|---|
protected static ILocalizedElement[] |
LocalizationUtils.filter(ILocalizedElement[] elements,
java.util.List<com.ibm.icu.util.ULocale> locales)
Filters a set of elements using the locales and returns a copy of the array containing only elements that match the locales, or that are not localized if there are no matches |
protected static ILocalizedElement |
LocalizationUtils.getLocalizedElement(ILocalizedElement[] elements,
java.lang.String[] locales)
Returns the first (best) match for an element given the set of locales, or null if there are no suitable elements. |
static ILocalizedElement |
LocalizationUtils.getLocalizedElement(ILocalizedElement[] elements,
java.lang.String[] locales,
java.lang.String defaultLocale)
Returns the first (best) match for an element given the set of locales, or will fall back to the match for defaultLocale if there are no suitable matches, and then to null if there are no elements at all. |
static ILocalizedElement[] |
LocalizationUtils.processElementsByDefaultLocales(ILocalizedElement[] elements)
Sorts an array of localized elements using default locales (*). |
protected static ILocalizedElement[] |
LocalizationUtils.processElementsByLocales(ILocalizedElement[] elements,
java.lang.String[] locales)
Filters and sorts a list of localized elements using the given locale list; only localized elements are returned unless no appropriate localized elements are found, in which case nonlocalized elements are returned |
static ILocalizedElement[] |
LocalizationUtils.processElementsByLocales(ILocalizedElement[] elements,
java.lang.String[] locales,
java.lang.String defaultLocale)
Filters and sorts a list of localized elements using the given locale list; only localized elements are returned unless no appropriate localized elements are found, in which case nonlocalized elements are returned. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||