1 26 27 package net.sourceforge.groboutils.codecoverage.v2.ant; 28 29 import java.io.File ; 30 import java.io.IOException ; 31 32 import org.apache.tools.ant.BuildException; 33 34 35 43 public class SimpleHtmlReportStyle extends SimpleXslReportStyle 44 { 45 public SimpleHtmlReportStyle() 46 { 47 try 48 { 49 super.setStyleURL( getStylesheetSystemIdForClass( "report-html.xsl" ) ); 50 } 51 catch (IOException e) 52 { 53 throw new BuildException( e ); 54 } 55 } 56 57 58 public void setStyle( File f ) 59 { 60 throw new BuildException( "Attribute 'style' not supported" ); 61 } 62 63 64 public void setStyleURL( String url ) 65 { 66 throw new BuildException( "Attribute 'styleurl' not supported" ); 67 } 68 69 } 70 71 | Popular Tags |