Class PreviewDocumentModelAdapterFactory
- java.lang.Object
-
- org.nuxeo.ecm.platform.preview.adapter.PreviewDocumentModelAdapterFactory
-
- All Implemented Interfaces:
DocumentAdapterFactory
public class PreviewDocumentModelAdapterFactory extends Object implements DocumentAdapterFactory
Factory for the DocumentModelAdapter service.Delegates the calls to a service dedicated to Preview Adapter that finds the right adapter implementation according to document type and to registered custom adapters.
- Author:
- tiry
-
-
Constructor Summary
Constructors Constructor Description PreviewDocumentModelAdapterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAdapter(DocumentModel doc, Class<?> itf)
-
-
-
Method Detail
-
getAdapter
public Object getAdapter(DocumentModel doc, Class<?> itf)
- Specified by:
getAdapter
in interfaceDocumentAdapterFactory
-
-