org.sonar.colorizer
Class HtmlOptions

java.lang.Object
  extended by org.sonar.colorizer.HtmlOptions

public class HtmlOptions
extends Object


Field Summary
static HtmlOptions DEFAULT
           
static org.sonar.colorizer.OnlySyntaxHtmlOptions ONLY_SYNTAX
           
 
Constructor Summary
HtmlOptions()
           
HtmlOptions(boolean generateTable, String tableId, boolean generateHtmlHeader)
           
 
Method Summary
 int getFirstLineId()
          Used only if isGenerateTable() is true.
 String getTableId()
           
 boolean isGenerateHtmlHeader()
          Used only if isGenerateTable() is true
 boolean isGenerateTable()
           
 HtmlOptions setFirstLineId(int i)
           
 HtmlOptions setGenerateHtmlHeader(boolean b)
          Defines if the HTML header, including CSS, must be generated.
 HtmlOptions setGenerateTable(boolean b)
           
 HtmlOptions setTableId(String id)
          Used only if isGenerateTable() is true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final HtmlOptions DEFAULT

ONLY_SYNTAX

public static final org.sonar.colorizer.OnlySyntaxHtmlOptions ONLY_SYNTAX
Constructor Detail

HtmlOptions

public HtmlOptions()

HtmlOptions

public HtmlOptions(boolean generateTable,
                   String tableId,
                   boolean generateHtmlHeader)
Method Detail

isGenerateTable

public boolean isGenerateTable()

setGenerateTable

public HtmlOptions setGenerateTable(boolean b)

isGenerateHtmlHeader

public boolean isGenerateHtmlHeader()
Used only if isGenerateTable() is true


setGenerateHtmlHeader

public HtmlOptions setGenerateHtmlHeader(boolean b)
Defines if the HTML header, including CSS, must be generated.


getTableId

public String getTableId()

setTableId

public HtmlOptions setTableId(String id)
Used only if isGenerateTable() is true. This field is optional.


getFirstLineId

public int getFirstLineId()
Used only if isGenerateTable() is true. Default value is 1.


setFirstLineId

public HtmlOptions setFirstLineId(int i)


Copyright © 2009-2011 SonarSource. All Rights Reserved.