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.
Constructor and Description |
---|
PreviewDocumentModelAdapterFactory() |
public Object getAdapter(DocumentModel doc, Class itf)
getAdapter
in interface DocumentAdapterFactory
Copyright © 2015 Nuxeo SA. All rights reserved.