Nuxeo ECM Projects 5.4.3-SNAPSHOT

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(List<String> fieldsPaths)
           
 
Method Summary
 boolean cachable()
           
 void cleanup()
           
 List<Blob> getPreviewBlobs()
           
 List<Blob> getPreviewBlobs(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(List<String> fieldsPaths)
Method Detail

getPreviewBlobs

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

getPreviewBlobs

public List<Blob> getPreviewBlobs(String xpath)
                           throws PreviewException
Throws:
PreviewException

cleanup

public void cleanup()

cachable

public boolean cachable()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.