public class PictureTilesAdapterImpl extends Object implements PictureTilesAdapter
Modifier and Type | Field and Description |
---|---|
protected DocumentModel |
doc |
protected String |
fileName |
protected static org.apache.commons.logging.Log |
log |
protected static PictureTilingService |
pts |
protected Map<String,PictureTiles> |
tiles |
protected String |
xPath |
Constructor and Description |
---|
PictureTilesAdapterImpl(DocumentModel doc) |
PictureTilesAdapterImpl(DocumentModel doc,
String xPath) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
DocumentModel |
getDoc() |
protected ImageResource |
getResource() |
protected PictureTilingService |
getService() |
PictureTiles |
getTiles(int tileWidth,
int tileHeight,
int maxTiles) |
String |
getXPath() |
void |
setDoc(DocumentModel doc) |
void |
setFileName(String fileName)
Deprecated.
since 9.1 as filename is now hold by blob
|
void |
setXPath(String path) |
protected DocumentModel doc
protected Map<String,PictureTiles> tiles
protected static PictureTilingService pts
protected static final org.apache.commons.logging.Log log
public PictureTilesAdapterImpl(DocumentModel doc, String xPath)
public PictureTilesAdapterImpl(DocumentModel doc)
protected ImageResource getResource()
protected PictureTilingService getService()
public PictureTiles getTiles(int tileWidth, int tileHeight, int maxTiles)
getTiles
in interface PictureTilesAdapter
public void cleanup()
cleanup
in interface PictureTilesAdapter
public void setXPath(String path)
setXPath
in interface PictureTilesAdapter
public DocumentModel getDoc()
public void setDoc(DocumentModel doc)
setDoc
in interface PictureTilesAdapter
@Deprecated public void setFileName(String fileName)
setFileName
in interface PictureTilesAdapter
Copyright © 2018 Nuxeo. All rights reserved.