Package org.opennms.report.render
Class NullReportRenderer
- java.lang.Object
-
- org.opennms.report.render.NullReportRenderer
-
- All Implemented Interfaces:
ReportRenderer
public class NullReportRenderer extends java.lang.Object implements ReportRenderer
NullReportRenderer will do nothing.- Version:
- $Id: $
- Author:
- Antonio Russo
-
-
Constructor Summary
Constructors Constructor Description NullReportRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBaseDir()
getBaseDirjava.lang.String
getOutputFileName()
getOutputFileNamevoid
render()
rendervoid
render(java.io.InputStream inputStream, java.io.OutputStream outputStream, org.springframework.core.io.Resource xsltResource)
rendervoid
render(java.lang.String inputFileName, java.io.OutputStream outputStream, org.springframework.core.io.Resource xsltResource)
rendervoid
render(java.lang.String inputFileName, java.lang.String outputFileName, org.springframework.core.io.Resource xlstResource)
renderbyte[]
render(java.lang.String inputFileName, org.springframework.core.io.Resource xsltResource)
rendervoid
setBaseDir(java.lang.String baseDir)
setBaseDirvoid
setInputFileName(java.lang.String intputFileName)
setInputFileNamevoid
setOutputFileName(java.lang.String outputFileName)
setOutputFileNamevoid
setXsltResource(org.springframework.core.io.Resource xsltResource)
setXsltResource
-
-
-
Method Detail
-
render
public void render() throws ReportRenderException
render
- Specified by:
render
in interfaceReportRenderer
- Throws:
ReportRenderException
- if any.
-
setXsltResource
public void setXsltResource(org.springframework.core.io.Resource xsltResource)
setXsltResource
- Specified by:
setXsltResource
in interfaceReportRenderer
- Parameters:
xsltResource
- aResource
object.
-
setOutputFileName
public void setOutputFileName(java.lang.String outputFileName)
setOutputFileName
- Specified by:
setOutputFileName
in interfaceReportRenderer
- Parameters:
outputFileName
- aString
object.
-
getOutputFileName
public java.lang.String getOutputFileName()
getOutputFileName
- Specified by:
getOutputFileName
in interfaceReportRenderer
- Returns:
- a
String
object.
-
setInputFileName
public void setInputFileName(java.lang.String intputFileName)
setInputFileName
- Specified by:
setInputFileName
in interfaceReportRenderer
- Parameters:
intputFileName
- aString
object.
-
setBaseDir
public void setBaseDir(java.lang.String baseDir)
setBaseDir
- Specified by:
setBaseDir
in interfaceReportRenderer
- Parameters:
baseDir
- aString
object.
-
getBaseDir
public java.lang.String getBaseDir()
getBaseDir
- Specified by:
getBaseDir
in interfaceReportRenderer
- Returns:
- a
String
object.
-
render
public void render(java.lang.String inputFileName, java.lang.String outputFileName, org.springframework.core.io.Resource xlstResource) throws ReportRenderException
render
- Specified by:
render
in interfaceReportRenderer
- Parameters:
inputFileName
- aString
object.outputFileName
- aString
object.xlstResource
- aResource
object.- Throws:
ReportRenderException
- if any.
-
render
public void render(java.lang.String inputFileName, java.io.OutputStream outputStream, org.springframework.core.io.Resource xsltResource) throws ReportRenderException
render
- Specified by:
render
in interfaceReportRenderer
- Parameters:
inputFileName
- aString
object.outputStream
- aOutputStream
object.xsltResource
- aResource
object.- Throws:
ReportRenderException
- if any.
-
render
public void render(java.io.InputStream inputStream, java.io.OutputStream outputStream, org.springframework.core.io.Resource xsltResource) throws ReportRenderException
render
- Specified by:
render
in interfaceReportRenderer
- Parameters:
inputStream
- aInputStream
object.outputStream
- aOutputStream
object.xsltResource
- aResource
object.- Throws:
ReportRenderException
- if any.
-
render
public byte[] render(java.lang.String inputFileName, org.springframework.core.io.Resource xsltResource) throws ReportRenderException
render
- Specified by:
render
in interfaceReportRenderer
- Parameters:
inputFileName
- aString
object.xsltResource
- aResource
object.- Returns:
- an array of byte.
- Throws:
ReportRenderException
- if any.
-
-