public class PreviewDocumentModelAdapterFactory extends Object implements DocumentAdapterFactory
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.
Modifier and Type | Field and Description |
---|---|
protected static PreviewAdapterManager |
paManager |
Constructor and Description |
---|
PreviewDocumentModelAdapterFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
getAdapter(DocumentModel doc,
Class itf) |
protected PreviewAdapterManager |
getPreviewAdapterManager() |
protected static PreviewAdapterManager paManager
public PreviewDocumentModelAdapterFactory()
protected PreviewAdapterManager getPreviewAdapterManager()
public Object getAdapter(DocumentModel doc, Class itf)
getAdapter
in interface DocumentAdapterFactory
Copyright © 2017 Nuxeo. All rights reserved.