Class PreprocessedHtmlPreviewAdapter
java.lang.Object
org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter
org.nuxeo.ecm.platform.preview.adapter.base.PreprocessedHtmlPreviewAdapter
- All Implemented Interfaces:
 HtmlPreviewAdapter
- Direct Known Subclasses:
 NoteHtmlPreviewAdapter
Base class for preview adapters that will use preprocessed HTML preview that is stored inside the document.
- Author:
 - tiry
 
- 
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter
adaptedDoc - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleancachable()voidcleanup()getPreviewBlobs(String xpath) booleanCheck if the document holds some blobs that are suitable for previewbooleanhasPreview(String xpath) Methods inherited from class org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter
getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewURL, getFilePreviewURL, getPreviewManager, getPreviewTitle, postProcessBlobs, setAdaptedDocument, updateTitleInHtml, updateTitleInHtml 
- 
Field Details
- 
storedPreviewFieldsPaths
 
 - 
 - 
Constructor Details
- 
PreprocessedHtmlPreviewAdapter
 
 - 
 - 
Method Details
- 
getPreviewBlobs
- Specified by:
 getPreviewBlobsin classAbstractHtmlPreviewAdapter- Throws:
 PreviewException
 - 
getPreviewBlobs
- Specified by:
 getPreviewBlobsin classAbstractHtmlPreviewAdapter- Throws:
 PreviewException
 - 
cleanup
public void cleanup() - 
cachable
public boolean cachable() - 
hasBlobToPreview
Description copied from interface:HtmlPreviewAdapterCheck if the document holds some blobs that are suitable for preview- Throws:
 PreviewException
 - 
hasPreview
 
 -