|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.colorizer.HtmlCodeBuilder
public class HtmlCodeBuilder
| Constructor Summary | |
|---|---|
HtmlCodeBuilder()
|
|
| Method Summary | |
|---|---|
Appendable |
append(char c)
|
Appendable |
append(CharSequence csq)
|
Appendable |
append(CharSequence csq,
int start,
int end)
|
void |
appendWithoutTransforming(String htmlTag)
|
StringBuilder |
getColorizedCode()
|
Object |
getVariable(Object key)
Get a stateful variable. |
Object |
getVariable(Object key,
Object defaultValue)
Get a stateful variable. |
Map |
getVariables()
All stateful variables |
void |
setVariable(Object key,
Object value)
Save a stateful variable. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlCodeBuilder()
| Method Detail |
|---|
public Appendable append(CharSequence csq)
append in interface Appendablepublic Appendable append(char c)
append in interface Appendable
public Appendable append(CharSequence csq,
int start,
int end)
append in interface Appendablepublic void appendWithoutTransforming(String htmlTag)
public String toString()
toString in class Objectpublic StringBuilder getColorizedCode()
public void setVariable(Object key,
Object value)
key - can NOT be nullvalue - can be nullpublic Object getVariable(Object key)
public Object getVariable(Object key,
Object defaultValue)
public Map getVariables()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||