public class ContentDiffAdapterManagerComponent extends DefaultComponent implements ContentDiffAdapterManager
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ADAPTER_FACTORY_EP  | 
protected Map<String,MimeTypeContentDiffer> | 
contentDifferFactory  | 
protected Map<String,MimeTypeContentDiffer> | 
contentDifferFactoryByName  | 
protected Map<String,ContentDiffAdapterFactory> | 
factoryRegistry  | 
static String | 
HTML_CONVERSION_BLACKLISTED_MIME_TYPES_EP  | 
protected Set<String> | 
htmlConversionBlacklistedMimeTypes  | 
static String | 
MIME_TYPE_CONTENT_DIFFER_EP  | 
lastModified, name| Constructor and Description | 
|---|
ContentDiffAdapterManagerComponent()  | 
| Modifier and Type | Method and Description | 
|---|---|
ContentDiffAdapter | 
getAdapter(DocumentModel doc)  | 
MimeTypeContentDiffer | 
getContentDiffer(String mimeType)  | 
MimeTypeContentDiffer | 
getContentDifferForName(String name)  | 
HtmlContentDiffer | 
getHtmlContentDiffer()  | 
Set<String> | 
getHtmlConversionBlacklistedMimeTypes()
Gets the blacklisted mime types blacklisted for HTML conversion. 
 | 
boolean | 
hasAdapter(DocumentModel doc)  | 
void | 
registerContribution(Object contribution,
                    String extensionPoint,
                    ComponentInstance contributor)  | 
void | 
unregisterContribution(Object contribution,
                      String extensionPoint,
                      ComponentInstance contributor)  | 
activate, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderpublic static final String ADAPTER_FACTORY_EP
public static final String MIME_TYPE_CONTENT_DIFFER_EP
public static final String HTML_CONVERSION_BLACKLISTED_MIME_TYPES_EP
protected Map<String,ContentDiffAdapterFactory> factoryRegistry
protected Map<String,MimeTypeContentDiffer> contentDifferFactory
protected Map<String,MimeTypeContentDiffer> contentDifferFactoryByName
protected Set<String> htmlConversionBlacklistedMimeTypes
public ContentDiffAdapterManagerComponent()
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 MimeTypeContentDiffer getContentDifferForName(String name)
getContentDifferForName in interface ContentDiffAdapterManagerpublic HtmlContentDiffer getHtmlContentDiffer() throws ContentDiffException
getHtmlContentDiffer in interface ContentDiffAdapterManagerContentDiffExceptionpublic Set<String> getHtmlConversionBlacklistedMimeTypes()
ContentDiffAdapterManagergetHtmlConversionBlacklistedMimeTypes in interface ContentDiffAdapterManagerCopyright © 2019 Nuxeo. All rights reserved.