Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point mimeTypeContentDiffer

Allows to contribute default implementation of content diff according to the mime type.

Contribution Descriptor

Existing Contributions

  • nuxeo-diff-content-7.10.jar /OSGI-INF/content-diff-adapter-contrib.xml
    <extension point="mimeTypeContentDiffer" target="org.nuxeo.ecm.diff.content.adapter.ContentDiffAdapterManagerComponent">
        <contentDiffer class="org.nuxeo.ecm.diff.content.adapter.HtmlContentDiffer">
          <pattern>text/html</pattern>
        </contentDiffer>
        <contentDiffer class="org.nuxeo.ecm.diff.content.adapter.HtmlContentDiffer">
          <pattern>text/plain</pattern>
        </contentDiffer>
        <contentDiffer class="org.nuxeo.ecm.diff.content.adapter.HtmlContentDiffer">
          <pattern>text/xml</pattern>
        </contentDiffer>
      </extension>