Package org.xwiki.localization
Interface TranslationBundleContext
-
@Role public interface TranslationBundleContext
The Bundles applying to the current context ordered by priority.- Since:
- 4.3M2
- Version:
- $Id: 7750a5307f9142338635ece77da1cb8d3b8d05ef $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addBundle(TranslationBundle bundle)
Add a new bundle to the collection.Collection<TranslationBundle>
getBundles()
-
-
-
Method Detail
-
getBundles
Collection<TranslationBundle> getBundles()
- Returns:
- the bundles applying to the current context ordered by priority
-
addBundle
void addBundle(TranslationBundle bundle)
Add a new bundle to the collection. It will be automatically ordered.- Parameters:
bundle
- the bundle
-
-