public class ImageAreaReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>> extends AbstractImageReporter<Q,StringWriter>
cache, cacheUpdater, depict, imageWrapper, img, mainType, reader, strucQuery, subType
Constructor and Description |
---|
ImageAreaReporter(String mainType,
String subType,
Dimension dimension,
String jsonpcallback) |
ImageAreaReporter(String mainType,
String subType,
String jsonpcallback) |
Modifier and Type | Method and Description |
---|---|
protected CachedImage<StringWriter> |
createImageWrapper(BufferedImage image) |
void |
footer(StringWriter output,
Q query) |
protected CachedImage<StringWriter> |
getCached(IStructureRecord item) |
String |
getFileExtension() |
void |
header(StringWriter output,
Q query) |
protected RetrieveStructureImagePath |
initQuery(String mainType,
String subType) |
void |
open() |
Object |
processItem(IStructureRecord item) |
protected String |
readImageMapFile(File imgPath) |
cache, close, createImage, getFilePath, getQueryName, processPath, setConnection
createBatch, getLicenseURI, getMaxRecords, getOutput, getProcessors, getStartTime, getTimeout, isAutoCommit, isShowFooter, isShowHeader, process, setAutoCommit, setCloseConnection, setLicenseURI, setMaxRecords, setOutput, setProcessors, setShowFooter, setShowHeader, setStartTime, setTimeout, wrapup
getConnection, isCloseConnection, isEnabled
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected RetrieveStructureImagePath initQuery(String mainType, String subType)
initQuery
in class AbstractImageReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,StringWriter>
protected CachedImage<StringWriter> createImageWrapper(BufferedImage image)
createImageWrapper
in class AbstractImageReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,StringWriter>
public Object processItem(IStructureRecord item) throws net.idea.modbcum.i.exceptions.AmbitException
processItem
in class AbstractImageReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,StringWriter>
net.idea.modbcum.i.exceptions.AmbitException
protected CachedImage<StringWriter> getCached(IStructureRecord item)
getCached
in class AbstractImageReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,StringWriter>
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,StringWriter>
open
in class net.idea.modbcum.p.DefaultAmbitProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,StringWriter>
net.idea.modbcum.i.exceptions.DbAmbitException
public void footer(StringWriter output, Q query)
footer
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,StringWriter>
public void header(StringWriter output, Q query)
header
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,StringWriter>
public String getFileExtension()
getFileExtension
in interface net.idea.modbcum.i.reporter.Reporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,StringWriter>
getFileExtension
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,StringWriter>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.