org.xwiki.localization
Interface TranslationBundleContext

All Known Implementing Classes:
DefaultTranslationBundleContext

@Role
public interface TranslationBundleContext

The Bundles applying to the current context ordered by priority.

Since:
4.3M2

Method Summary
 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