@Deprecated public abstract class DelimitedTextReportRenderer extends Object implements ReportRenderer
Constructor and Description |
---|
DelimitedTextReportRenderer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
escape(String text)
Deprecated.
|
abstract String |
getAfterColumnDelimiter()
Deprecated.
|
abstract String |
getAfterRowDelimiter()
Deprecated.
|
abstract String |
getBeforeColumnDelimiter()
Deprecated.
|
abstract String |
getBeforeRowDelimiter()
Deprecated.
|
String |
getFilename(ReportSchema schema,
String argument)
Deprecated.
Should be null if getLinkUrl() returns a non-null value.
|
abstract String |
getFilenameExtension()
Deprecated.
|
String |
getLinkUrl(ReportSchema schema)
Deprecated.
TODO: this appears to be unused.
|
Collection<RenderingMode> |
getRenderingModes(ReportSchema schema)
Deprecated.
Returns the modes in which this report schema could be rendered.
|
void |
render(ReportData results,
String argument,
OutputStream out)
Deprecated.
Render the report's data to a stream
|
void |
render(ReportData results,
String argument,
Writer writer)
Deprecated.
Render the report's data to a stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLabel, getRenderedContentType
public abstract String getFilenameExtension()
public abstract String getBeforeColumnDelimiter()
public abstract String getAfterColumnDelimiter()
public abstract String getBeforeRowDelimiter()
public abstract String getAfterRowDelimiter()
public String getLinkUrl(ReportSchema schema)
public String getFilename(ReportSchema schema, String argument)
ReportRenderer
getFilename
in interface ReportRenderer
argument
- Argument from the RenderingMode that the user selectedReportRenderer.getFilename(ReportSchema, String)
public Collection<RenderingMode> getRenderingModes(ReportSchema schema)
ReportRenderer
getRenderingModes
in interface ReportRenderer
Collection
of all modes in which the given ReportSchema
can be renderedReportRenderer.getRenderingModes(org.openmrs.report.ReportSchema)
public void render(ReportData results, String argument, OutputStream out) throws IOException, RenderingException
ReportRenderer
render
in interface ReportRenderer
results
- Data that was calculated by the Reporting API and serviceargument
- Argument from the RenderingMode that the user selectedIOException
RenderingException
ReportRenderer.render(ReportData, String, OutputStream)
public void render(ReportData results, String argument, Writer writer) throws IOException, RenderingException
ReportRenderer
render
in interface ReportRenderer
results
- Data that was calculated by the Reporting API and serviceargument
- Argument from the RenderingMode that the user selectedwriter
- the object to write the output toIOException
RenderingException
ReportRenderer.render(ReportData, String, Writer)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.