|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Deprecated public interface ReportRenderer
Takes a ReportSchema and renders it, often acting as a connector that delegates to a sophisticated package like BIRT or Jasper Reports. Implementations of this class should only use a no-arg constructor, since they will be instantiated by the ReportObjectService via reflection.
| Method Summary | |
|---|---|
java.lang.String |
getFilename(ReportSchema schema,
java.lang.String argument)
Deprecated. Should be null if getLinkUrl() returns a non-null value. |
java.lang.String |
getLabel()
Deprecated. |
java.lang.String |
getRenderedContentType(ReportSchema schema,
java.lang.String argument)
Deprecated. The content-type that will be rendered |
java.util.Collection<RenderingMode> |
getRenderingModes(ReportSchema schema)
Deprecated. Returns the modes in which this report schema could be rendered. |
void |
render(ReportData reportData,
java.lang.String argument,
java.io.OutputStream out)
Deprecated. Render the report's data to a stream |
void |
render(ReportData reportData,
java.lang.String argument,
java.io.Writer writer)
Deprecated. Render the report's data to a stream |
| Method Detail |
|---|
java.lang.String getLabel()
java.util.Collection<RenderingMode> getRenderingModes(ReportSchema schema)
schema -
Collection of all modes in which the given ReportSchema
can be rendered
java.lang.String getRenderedContentType(ReportSchema schema,
java.lang.String argument)
Should be null if getLinkUrl() returns a non-null value.
schema - The ReportSchema to renderargument - Argument from the RenderingMode that the user selected
String representation of the rendered content type
java.lang.String getFilename(ReportSchema schema,
java.lang.String argument)
schema - argument - Argument from the RenderingMode that the user selected
void render(ReportData reportData,
java.lang.String argument,
java.io.OutputStream out)
throws java.io.IOException,
ReportRenderingException
reportData - Data that was calculated by the Reporting API and serviceargument - Argument from the RenderingMode that the user selectedout -
ReportRenderingException
java.io.IOException
void render(ReportData reportData,
java.lang.String argument,
java.io.Writer writer)
throws java.io.IOException,
ReportRenderingException
reportData - Data that was calculated by the Reporting API and serviceargument - Argument from the RenderingMode that the user selectedwriter - the object to write the output to
ReportRenderingException
java.io.IOException
|
OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||