public class FormatterEngineMaker extends Object
Like all maker classes in the api, this class is only used directly in SPI context. Unlike some other classes however, this class does not implement a service interface that can be used from OSGi. The reason for this is that the implementation simply returns a single instance of the lower level interface with references populated with SPI. To use in OSGi context, request the lower level service directly from the DS registry.
Constructor and Description |
---|
FormatterEngineMaker()
Creates a new formatter engine maker.
|
Modifier and Type | Method and Description |
---|---|
FormatterEngineFactoryService |
getFactory()
Gets a formatter engine factory service.
|
FormatterEngine |
newFormatterEngine(String locale,
String mode,
PagedMediaWriter writer)
Creates a new formatter engine
|
static FormatterEngineMaker |
newInstance()
Creates a new formatter engine maker instance.
|
public FormatterEngineMaker()
public FormatterEngineFactoryService getFactory()
public static FormatterEngineMaker newInstance()
public FormatterEngine newFormatterEngine(String locale, String mode, PagedMediaWriter writer)
locale
- the localemode
- the braille modewriter
- the writer