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
Fields inherited from class org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter
adaptedDoc
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
cachable()
void
cleanup()
getPreviewBlobs
(String xpath) boolean
Check if the document holds some blobs that are suitable for previewboolean
hasPreview
(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:
getPreviewBlobs
in classAbstractHtmlPreviewAdapter
- Throws:
PreviewException
-
getPreviewBlobs
- Specified by:
getPreviewBlobs
in classAbstractHtmlPreviewAdapter
- Throws:
PreviewException
-
cleanup
public void cleanup() -
cachable
public boolean cachable() -
hasBlobToPreview
Description copied from interface:HtmlPreviewAdapter
Check if the document holds some blobs that are suitable for preview- Throws:
PreviewException
-
hasPreview
-