@Deprecated public abstract class DelimitedTextReportRenderer extends java.lang.Object implements ReportRenderer
Constructor and Description |
---|
DelimitedTextReportRenderer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
escape(java.lang.String text)
Deprecated.
|
abstract java.lang.String |
getAfterColumnDelimiter()
Deprecated.
|
abstract java.lang.String |
getAfterRowDelimiter()
Deprecated.
|
abstract java.lang.String |
getBeforeColumnDelimiter()
Deprecated.
|
abstract java.lang.String |
getBeforeRowDelimiter()
Deprecated.
|
java.lang.String |
getFilename(ReportSchema schema,
java.lang.String argument)
Deprecated.
Should be null if getLinkUrl() returns a non-null value.
|
abstract java.lang.String |
getFilenameExtension()
Deprecated.
|
java.lang.String |
getLinkUrl(ReportSchema schema)
Deprecated.
TODO: this appears to be unused.
|
java.util.Collection<RenderingMode> |
getRenderingModes(ReportSchema schema)
Deprecated.
Returns the modes in which this report schema could be rendered.
|
void |
render(ReportData results,
java.lang.String argument,
java.io.OutputStream out)
Deprecated.
Render the report's data to a stream
|
void |
render(ReportData results,
java.lang.String argument,
java.io.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 java.lang.String getFilenameExtension()
public abstract java.lang.String getBeforeColumnDelimiter()
public abstract java.lang.String getAfterColumnDelimiter()
public abstract java.lang.String getBeforeRowDelimiter()
public abstract java.lang.String getAfterRowDelimiter()
public abstract java.lang.String escape(java.lang.String text)
public java.lang.String getLinkUrl(ReportSchema schema)
public java.lang.String getFilename(ReportSchema schema, java.lang.String argument)
ReportRenderer
getFilename
in interface ReportRenderer
argument
- Argument from the RenderingMode that the user selectedReportRenderer.getFilename(ReportSchema, String)
public java.util.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, java.lang.String argument, java.io.OutputStream out) throws java.io.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 selectedjava.io.IOException
RenderingException
ReportRenderer.render(ReportData, String, OutputStream)
public void render(ReportData results, java.lang.String argument, java.io.Writer writer) throws java.io.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 tojava.io.IOException
RenderingException
ReportRenderer.render(ReportData, String, Writer)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.