public class TransmissionThreeDRenditionProvider extends Object implements RenditionProvider
Constructor and Description |
---|
TransmissionThreeDRenditionProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAvailable(DocumentModel documentModel,
RenditionDefinition renditionDefinition)
Test if the Rendition is available on the given DocumentModel
|
List<Blob> |
render(DocumentModel documentModel,
RenditionDefinition renditionDefinition)
Generate the rendition Blobs for a given
RenditionDefinition . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVariant
public TransmissionThreeDRenditionProvider()
public boolean isAvailable(DocumentModel documentModel, RenditionDefinition renditionDefinition)
RenditionProvider
isAvailable
in interface RenditionProvider
public List<Blob> render(DocumentModel documentModel, RenditionDefinition renditionDefinition)
RenditionProvider
RenditionDefinition
. Return is a List of Blob for bigger
flexibility (typically HTML rendition with resources)render
in interface RenditionProvider
documentModel
- the target DocumentModel
renditionDefinition
- the RenditionDefinition
to useCopyright © 2018 Nuxeo. All rights reserved.