public class RenderersFactoryFromDB extends java.lang.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,
java.util.Properties properties) |
AbstractRenderer |
get(java.lang.String name)
get renderer by name
|
java.util.Set<java.lang.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(java.lang.String name)
get in interface RenderersFactoryname - of rendrerAbstractRendererpublic java.util.Set<java.lang.String> keySet()
keySet in interface RenderersFactorypublic VelocityRenderer createRenderer(JaloVelocityRenderer renderer, java.util.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 © 2018 SAP SE. All Rights Reserved.