Class RenderEngines
- java.lang.Object
-
- com.saperion.connector.render.engine.RenderEngines
-
public final class RenderEngines extends java.lang.Object
Utility class for loading rendering engines by providing several parameters like class or name instances. There is a possibility to load the default render engine as well.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>
getAvailableEngines()
Returns a collection of all in system available render engines.static <T extends RenderEngine>
TloadByClass(java.lang.Class<T> engine)
LoadRenderEngine
instance by providedEngine
class instance.static RenderEngine
loadByClassName(java.lang.String className)
LoadRenderEngine
instance by name.static RenderEngine
loadDefault()
Load default rendering engine.
-
-
-
Method Detail
-
loadByClass
public static <T extends RenderEngine> T loadByClass(java.lang.Class<T> engine)
LoadRenderEngine
instance by providedEngine
class instance.- Parameters:
engine
- provided class instance.- Returns:
- RenderEngine instance.
-
loadByClassName
public static RenderEngine loadByClassName(java.lang.String className)
LoadRenderEngine
instance by name.- Parameters:
className
- - provided name of the particular render engine.- Returns:
RenderEngine
instance
-
loadDefault
public static RenderEngine loadDefault()
Load default rendering engine.- Returns:
- default
RenderEngine
instance.
-
getAvailableEngines
public static java.util.List<java.lang.String> getAvailableEngines()
Returns a collection of all in system available render engines.- Returns:
List
of render engine names.
-
-