Class WorkflowResourceBundleLocator
- java.lang.Object
 - 
- de.xima.fc.workflow.processor.logic.WorkflowResourceBundleLocator
 
 
- 
- All Implemented Interfaces:
 IResourceBundleLocator
- Direct Known Subclasses:
 WorkflowResourceBundleLocator.MutableWorkflowResourceBundleLocator
public abstract class WorkflowResourceBundleLocator extends Object implements IResourceBundleLocator
Resource bundle locator used that combines the built-in FORMCYCLE bundles, and the bundle provided by a workflow node or trigger plugin.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowResourceBundleLocator.MutableWorkflowResourceBundleLocatorResource bundle locator used that combines the built-in FORMCYCLE bundles, and the custom bundle provided by a workflow node or trigger plugin. 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static WorkflowResourceBundleLocator.MutableWorkflowResourceBundleLocatorcreateMutable()static WorkflowResourceBundleLocatorcreateWithCustom(IResourceBundleLocator customLocator)protected abstract IResourceBundleLocatorgetCustomLocator()ResourceBundlegetResourceBundle(Locale locale)Returns a resource bundle for the given locale. 
 - 
 
- 
- 
Method Detail
- 
getResourceBundle
public final ResourceBundle getResourceBundle(Locale locale)
Description copied from interface:IResourceBundleLocatorReturns a resource bundle for the given locale.- Specified by:
 getResourceBundlein interfaceIResourceBundleLocator- Parameters:
 locale- A locale, for which a resource bundle shall be retrieved. Must not benull.- Returns:
 - A resource bundle for the given locale. May be 
null, if no such bundle exists. 
 
- 
getCustomLocator
protected abstract IResourceBundleLocator getCustomLocator()
 
- 
createMutable
public static WorkflowResourceBundleLocator.MutableWorkflowResourceBundleLocator createMutable()
- Returns:
 - A new resource bundle locator that allows the 
getCustomLocator()to be modified. 
 
- 
createWithCustom
public static WorkflowResourceBundleLocator createWithCustom(IResourceBundleLocator customLocator)
- Parameters:
 customLocator- Custom locator to use.- Returns:
 - A new resource bundle locator with the given custom locator that cannot be modified.
 
 
 - 
 
 -