DefaultReportOutputHandlerFactory implements ReportOutputHandlerFactory { public void setPngAvailable( final boolean pngAvailable ) { this.pngAvailable = pngAvailable; } DefaultReportOutputHandlerFactory(); boolean isHtmlStreamVisible(); void setHtmlStreamVisible( final boolean htmlStreamVisible ); boolean isHtmlPageVisible(); void setHtmlPageVisible( final boolean htmlPageVisible ); boolean isXlsVisible(); void setXlsVisible( final boolean xlsVisible ); boolean isXlsxVisible(); void setXlsxVisible( final boolean xlsxVisible ); boolean isCsvVisible(); void setCsvVisible( final boolean csvVisible ); boolean isRtfVisible(); void setRtfVisible( final boolean rtfVisible ); boolean isPdfVisible(); void setPdfVisible( final boolean pdfVisible ); boolean isTextVisible(); void setTextVisible( final boolean textVisible ); boolean isMailVisible(); void setMailVisible( final boolean mailVisible ); boolean isXmlTableVisible(); void setXmlTableVisible( final boolean xmlTableVisible ); boolean isXmlPageVisible(); void setXmlPageVisible( final boolean xmlPageVisible ); boolean isPngVisible(); void setPngVisible( final boolean pngVisible ); boolean isHtmlStreamAvailable(); void setHtmlStreamAvailable( final boolean htmlStreamAvailable ); boolean isHtmlPageAvailable(); void setHtmlPageAvailable( final boolean htmlPageAvailable ); boolean isXlsAvailable(); void setXlsAvailable( final boolean xlsAvailable ); boolean isXlsxAvailable(); void setXlsxAvailable( final boolean xlsxAvailable ); boolean isCsvAvailable(); void setCsvAvailable( final boolean csvAvailable ); boolean isRtfAvailable(); void setRtfAvailable( final boolean rtfAvailable ); boolean isPdfAvailable(); void setPdfAvailable( final boolean pdfAvailable ); boolean isTextAvailable(); void setTextAvailable( final boolean textAvailable ); boolean isMailAvailable(); void setMailAvailable( final boolean mailAvailable ); boolean isXmlTableAvailable(); void setXmlTableAvailable( final boolean xmlTableAvailable ); boolean isXmlPageAvailable(); void setXmlPageAvailable( final boolean xmlPageAvailable ); boolean isPngAvailable(); void setPngAvailable( final boolean pngAvailable ); String getMimeType( final ReportOutputHandlerSelector selector ); Set<Map.Entry<String, String>> getSupportedOutputTypes(); ReportOutputHandler createOutputHandlerForOutputType( final ReportOutputHandlerSelector selector );  }
@Test public void testSetPngAvailable() throws Exception { assertTrue( roh.isPngAvailable() ); roh.setPngAvailable( false ); assertFalse( roh.isPngAvailable() ); }