public interface RenderEngine
Modifier and Type | Method and Description |
---|---|
void |
configure(Map<String,String> properties)
Configures the rendering engine with the specified properties.
|
Set<SourceFormat> |
getSupportedSourceFormats()
Gets the supported source formats.
|
Set<TargetFormat> |
getSupportedTargetFormats()
Gets the supported target formats.
|
List<Rendition> |
render(com.saperion.common.io.InputStreamDescriptor content,
Options options)
Loads the content that should be rendered with the specified options and creates the list
containing the renditions.
|
boolean |
supportsSourceFormat(SourceFormat format)
Checks if the source format is supported.
|
boolean |
supportsTargetFormat(TargetFormat format)
Checks if the target format is supported.
|
List<Rendition> render(com.saperion.common.io.InputStreamDescriptor content, Options options) throws TimeoutException, RenderingException
content
- Content as InputStreamDescriptor
which should be rendered incl. filenameoptions
- Options
which are describing how to render the contentRendition
instances which represent rendered
content incl. informationsTimeoutException
- if a timeout was specified and it was reachedRenderingException
- if engine is not available or internal initialization failuresboolean supportsSourceFormat(SourceFormat format)
format
- the source format to be checkedSourceFormat
which was recognized from the content filename is
supportedboolean supportsTargetFormat(TargetFormat format)
format
- the target format to be checkedTargetFormat
which specifies how to render is supportedSet<SourceFormat> getSupportedSourceFormats()
SourceFormat
supported by the render engineSet<TargetFormat> getSupportedTargetFormats()
TargetFormat
supported by the render engineCopyright © 2016 SAPERION AG. All rights reserved.