Nuxeo ECM Projects 5.6-RC1

org.nuxeo.ecm.diff.content.adapter.base
Class ConverterBasedContentDiffAdapter

java.lang.Object
  extended by org.nuxeo.ecm.diff.content.adapter.base.AbstractContentDiffAdapter
      extended by 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

Constructor Summary
ConverterBasedContentDiffAdapter()
           
 
Method Summary
 boolean cachable()
           
 void cleanup()
           
 List<Blob> getContentDiffBlobs(DocumentModel otherDoc, ContentDiffConversionType conversionType, Locale locale)
           
 List<Blob> getContentDiffBlobs(DocumentModel otherDoc, String xpath, ContentDiffConversionType conversionType, Locale locale)
           
 void setDefaultContentDiffFieldXPath(String xPath)
           
 
Methods inherited from class org.nuxeo.ecm.diff.content.adapter.base.AbstractContentDiffAdapter
getFileContentDiffBlobs, getFileContentDiffBlobs, getFileContentDiffURL, getFileContentDiffURL, setAdaptedDocument
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterBasedContentDiffAdapter

public ConverterBasedContentDiffAdapter()
Method Detail

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)

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.