Package org.opennms.report.render
Class NullReportRenderer
- java.lang.Object
-
- org.opennms.report.render.NullReportRenderer
-
- All Implemented Interfaces:
ReportRenderer
public class NullReportRenderer extends 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 String
getBaseDir()
getBaseDirString
getOutputFileName()
getOutputFileNamevoid
render()
rendervoid
render(InputStream inputStream, OutputStream outputStream, org.springframework.core.io.Resource xsltResource)
rendervoid
render(String inputFileName, OutputStream outputStream, org.springframework.core.io.Resource xsltResource)
rendervoid
render(String inputFileName, String outputFileName, org.springframework.core.io.Resource xlstResource)
renderbyte[]
render(String inputFileName, org.springframework.core.io.Resource xsltResource)
rendervoid
setBaseDir(String baseDir)
setBaseDirvoid
setInputFileName(String intputFileName)
setInputFileNamevoid
setOutputFileName(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(String outputFileName)
setOutputFileName
- Specified by:
setOutputFileName
in interfaceReportRenderer
- Parameters:
outputFileName
- aString
object.
-
getOutputFileName
public String getOutputFileName()
getOutputFileName
- Specified by:
getOutputFileName
in interfaceReportRenderer
- Returns:
- a
String
object.
-
setInputFileName
public void setInputFileName(String intputFileName)
setInputFileName
- Specified by:
setInputFileName
in interfaceReportRenderer
- Parameters:
intputFileName
- aString
object.
-
setBaseDir
public void setBaseDir(String baseDir)
setBaseDir
- Specified by:
setBaseDir
in interfaceReportRenderer
- Parameters:
baseDir
- aString
object.
-
getBaseDir
public String getBaseDir()
getBaseDir
- Specified by:
getBaseDir
in interfaceReportRenderer
- Returns:
- a
String
object.
-
render
public void render(String inputFileName, 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(String inputFileName, 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(InputStream inputStream, 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(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.
-
-