public class SubstanceBundleStAXReporter extends QueryStaXReporter<SubstanceRecord,net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>,SubstanceRecordStaxWriter>
compoundInDatasetPrefix, recordWriter, uriReporter
Constructor and Description |
---|
SubstanceBundleStAXReporter(org.restlet.Request request) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected SubstanceRecordStaxWriter |
createRecordWriter(org.restlet.Request request,
net.idea.restnet.c.ResourceDoc doc) |
protected net.idea.restnet.db.QueryURIReporter<SubstanceRecord,net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>> |
createURIReporter(org.restlet.Request req,
net.idea.restnet.c.ResourceDoc doc) |
protected void |
initProcessors() |
Object |
processItem(SubstanceRecord item) |
void |
setOutput(XMLStreamWriter output) |
footer, getFileExtension, getUriReporter, header, setUriReporter
createBatch, getLicenseURI, getMaxRecords, getOutput, getProcessors, getStartTime, getTimeout, isAutoCommit, isShowFooter, isShowHeader, process, setAutoCommit, setCloseConnection, setLicenseURI, setMaxRecords, setProcessors, setShowFooter, setShowHeader, setStartTime, setTimeout, wrapup
getConnection, isCloseConnection, isEnabled, setConnection
addPropertyChangeListener, addPropertyChangeListener, getID, open, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
public SubstanceBundleStAXReporter(org.restlet.Request request)
protected void initProcessors()
public void setOutput(XMLStreamWriter output) throws Exception
setOutput
in interface net.idea.modbcum.i.reporter.Reporter<net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>,XMLStreamWriter>
setOutput
in class net.idea.modbcum.r.QueryAbstractReporter<SubstanceRecord,net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>,XMLStreamWriter>
Exception
protected net.idea.restnet.db.QueryURIReporter<SubstanceRecord,net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>> createURIReporter(org.restlet.Request req, net.idea.restnet.c.ResourceDoc doc)
createURIReporter
in class QueryStaXReporter<SubstanceRecord,net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>,SubstanceRecordStaxWriter>
protected SubstanceRecordStaxWriter createRecordWriter(org.restlet.Request request, net.idea.restnet.c.ResourceDoc doc)
createRecordWriter
in class QueryStaXReporter<SubstanceRecord,net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>,SubstanceRecordStaxWriter>
public Object processItem(SubstanceRecord item) throws Exception
processItem
in class net.idea.modbcum.r.QueryAbstractReporter<SubstanceRecord,net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>,XMLStreamWriter>
Exception
public void close() throws Exception
close
in interface net.idea.modbcum.i.processors.IProcessor<net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>,XMLStreamWriter>
close
in interface net.idea.modbcum.i.reporter.Reporter<net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>,XMLStreamWriter>
close
in class net.idea.modbcum.p.AbstractDBProcessor<net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>,XMLStreamWriter>
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.