public class ContentDiffAdapterManagerComponent extends DefaultComponent implements ContentDiffAdapterManager
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ADAPTER_FACTORY_EP  | 
static String | 
MIME_TYPE_CONTENT_DIFFER_EP  | 
| Constructor and Description | 
|---|
ContentDiffAdapterManagerComponent()  | 
| Modifier and Type | Method and Description | 
|---|---|
ContentDiffAdapter | 
getAdapter(DocumentModel doc)  | 
MimeTypeContentDiffer | 
getContentDiffer(String mimeType)  | 
HtmlContentDiffer | 
getHtmlContentDiffer()  | 
boolean | 
hasAdapter(DocumentModel doc)  | 
void | 
registerContribution(Object contribution,
                    String extensionPoint,
                    ComponentInstance contributor)  | 
void | 
unregisterContribution(Object contribution,
                      String extensionPoint,
                      ComponentInstance contributor)  | 
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterExtensionpublic static final String ADAPTER_FACTORY_EP
public static final String MIME_TYPE_CONTENT_DIFFER_EP
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution in class DefaultComponentpublic boolean hasAdapter(DocumentModel doc)
hasAdapter in interface ContentDiffAdapterManagerpublic ContentDiffAdapter getAdapter(DocumentModel doc)
getAdapter in interface ContentDiffAdapterManagerpublic MimeTypeContentDiffer getContentDiffer(String mimeType)
getContentDiffer in interface ContentDiffAdapterManagerpublic HtmlContentDiffer getHtmlContentDiffer() throws ContentDiffException
getHtmlContentDiffer in interface ContentDiffAdapterManagerContentDiffExceptionCopyright © 2015 Nuxeo SA. All rights reserved.