Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.preview.adapter.base
Class PreprocessedHtmlPreviewAdapter

java.lang.Object
  extended by org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter
      extended by org.nuxeo.ecm.platform.preview.adapter.base.PreprocessedHtmlPreviewAdapter
All Implemented Interfaces:
HtmlPreviewAdapter
Direct Known Subclasses:
NoteHtmlPreviewAdapter

public class PreprocessedHtmlPreviewAdapter
extends AbstractHtmlPreviewAdapter

Base class for preview adapters that will use preprocessed HTML preview that is stored inside the document.

Author:
tiry

Constructor Summary
PreprocessedHtmlPreviewAdapter(java.util.List<java.lang.String> fieldsPaths)
           
 
Method Summary
 boolean cachable()
           
 void cleanup()
           
 java.util.List<Blob> getPreviewBlobs()
           
 java.util.List<Blob> getPreviewBlobs(java.lang.String xpath)
           
 
Methods inherited from class org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter
getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewURL, getFilePreviewURL, setAdaptedDocument
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreprocessedHtmlPreviewAdapter

public PreprocessedHtmlPreviewAdapter(java.util.List<java.lang.String> fieldsPaths)
Method Detail

getPreviewBlobs

public java.util.List<Blob> getPreviewBlobs()
                                     throws PreviewException
Throws:
PreviewException

getPreviewBlobs

public java.util.List<Blob> getPreviewBlobs(java.lang.String xpath)
                                     throws PreviewException
Throws:
PreviewException

cleanup

public void cleanup()

cachable

public boolean cachable()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.