public class RenderersFactoryFromDB extends Object implements RenderersFactory
RenderersFactoryFromDB uses the configuration from the hMC. In the constructor it require a
JaloTranslatorConfiguration item and a
SessionContex.| Constructor and Description |
|---|
RenderersFactoryFromDB(JaloTranslatorConfiguration config,
SessionContext ctx)
Create a
RenderersFactory that gets it's configuration from a
|
| Modifier and Type | Method and Description |
|---|---|
VelocityRenderer |
createRenderer(JaloVelocityRenderer renderer,
Properties properties) |
AbstractRenderer |
get(String name)
get renderer by name
|
Set<String> |
keySet()
get all renderers names from map
|
public RenderersFactoryFromDB(JaloTranslatorConfiguration config, SessionContext ctx)
RenderersFactory that gets it's configuration from a
JaloTranslatorConfigurationconfig - The JaloTranslatorConfiguration that
holds the translation configurationctx - The SessionContexpublic AbstractRenderer get(String name)
get in interface RenderersFactoryname - of rendrerAbstractRendererpublic Set<String> keySet()
keySet in interface RenderersFactorypublic VelocityRenderer createRenderer(JaloVelocityRenderer renderer, Properties properties)
renderer - - a JaloVelocityRenderer item that keep
information about renderer that should be procued.properties - - java.util.Properties properties that would be pass to rendererCopyright © 2017 SAP SE. All Rights Reserved.