Nuxeo Enterprise Platform 5.4

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 java.lang.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
 java.lang.Object getAdapter(DocumentModel doc, java.lang.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 java.lang.Object getAdapter(DocumentModel doc,
                                   java.lang.Class itf)
Specified by:
getAdapter in interface DocumentAdapterFactory

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.