Class TransmissionThreeDRenditionProvider
- java.lang.Object
-
- org.nuxeo.ecm.platform.threed.rendition.TransmissionThreeDRenditionProvider
-
- All Implemented Interfaces:
RenditionProvider
public class TransmissionThreeDRenditionProvider extends Object implements RenditionProvider
Provides a rendition based on a 3d transmission format (referenced through the rendition definition lod).- Since:
- 8.4
-
-
Constructor Summary
Constructors Constructor Description TransmissionThreeDRenditionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAvailable(DocumentModel documentModel, RenditionDefinition renditionDefinition)Test if the Rendition is available on the given DocumentModelList<Blob>render(DocumentModel documentModel, RenditionDefinition renditionDefinition)Generate the rendition Blobs for a givenRenditionDefinition.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.rendition.extension.RenditionProvider
getVariant
-
-
-
-
Constructor Detail
-
TransmissionThreeDRenditionProvider
public TransmissionThreeDRenditionProvider()
-
-
Method Detail
-
isAvailable
public boolean isAvailable(DocumentModel documentModel, RenditionDefinition renditionDefinition)
Description copied from interface:RenditionProviderTest if the Rendition is available on the given DocumentModel- Specified by:
isAvailablein interfaceRenditionProvider
-
render
public List<Blob> render(DocumentModel documentModel, RenditionDefinition renditionDefinition)
Description copied from interface:RenditionProviderGenerate the rendition Blobs for a givenRenditionDefinition. Return is a List of Blob for bigger flexibility (typically HTML rendition with resources)- Specified by:
renderin interfaceRenditionProvider- Parameters:
documentModel- the targetDocumentModelrenditionDefinition- theRenditionDefinitionto use- Returns:
- The list of Blobs
-
-