public class ContentDiffDocumentModelAdapterFactory extends Object implements DocumentAdapterFactory
Delegates the calls to a service dedicated to content diff Adapter that finds the right adapter implementation according to document type and to registered custom adapters.
| Modifier and Type | Field and Description | 
|---|---|
protected static ContentDiffAdapterManager | 
contentDiffAdapterManager  | 
| Constructor and Description | 
|---|
ContentDiffDocumentModelAdapterFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
getAdapter(DocumentModel doc,
          Class<?> itf)  | 
protected ContentDiffAdapterManager | 
getContentDiffAdapterManager()  | 
protected static ContentDiffAdapterManager contentDiffAdapterManager
public ContentDiffDocumentModelAdapterFactory()
protected ContentDiffAdapterManager getContentDiffAdapterManager()
public Object getAdapter(DocumentModel doc, Class<?> itf)
getAdapter in interface DocumentAdapterFactoryCopyright © 2019 Nuxeo. All rights reserved.