Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.preview.adapter
Class PreviewDocumentModelAdapterFactory

java.lang.Object
  extended by 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
PreviewDocumentModelAdapterFactory()
           
 
Method Summary
 Object getAdapter(DocumentModel doc, Class itf)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewDocumentModelAdapterFactory

public PreviewDocumentModelAdapterFactory()
Method Detail

getAdapter

public Object getAdapter(DocumentModel doc,
                         Class itf)
Specified by:
getAdapter in interface DocumentAdapterFactory

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.