org.nuxeo.ecm.diff.content.adapter.base
Class ConverterBasedContentDiffAdapter
java.lang.Object
org.nuxeo.ecm.diff.content.adapter.base.AbstractContentDiffAdapter
org.nuxeo.ecm.diff.content.adapter.base.ConverterBasedContentDiffAdapter
- All Implemented Interfaces:
- ContentDiffAdapter
public class ConverterBasedContentDiffAdapter
- extends AbstractContentDiffAdapter
Base class for content diff based on "on the fly html or text transformers.
- Since:
- 5.6
- Author:
- Antoine Taillefer
ConverterBasedContentDiffAdapter
public ConverterBasedContentDiffAdapter()
getContentDiffBlobs
public List<Blob> getContentDiffBlobs(DocumentModel otherDoc,
ContentDiffConversionType conversionType,
Locale locale)
throws ContentDiffException,
ConversionException
- Throws:
ContentDiffException
ConversionException
getContentDiffBlobs
public List<Blob> getContentDiffBlobs(DocumentModel otherDoc,
String xpath,
ContentDiffConversionType conversionType,
Locale locale)
throws ContentDiffException,
ConversionException
- Throws:
ContentDiffException
ConversionException
cleanup
public void cleanup()
cachable
public boolean cachable()
setDefaultContentDiffFieldXPath
public void setDefaultContentDiffFieldXPath(String xPath)
Copyright © 2012 Nuxeo SA. All Rights Reserved.