public abstract class Highlighter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Highlighter.IgnoreCaseComparator |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
styleName
The name of the style to use
|
| Constructor and Description |
|---|
Highlighter() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getDefaultStyle()
The default style name
|
abstract boolean |
highlight(CharIter in,
java.util.List<Block> out)
Perform highlighting on the current token stream.
|
void |
init(Params params)
Initializer
|
static boolean |
isNewLine(java.lang.Character c) |
void |
reset()
Reset this highlighter to it's initially configured state
|
boolean |
startsWith(CharIter in)
return true if the current character is a possible match for this
highlighter
|
public static final boolean isNewLine(java.lang.Character c)
public void init(Params params) throws HighlighterConfigurationException
params - HighlighterConfigurationExceptionpublic boolean startsWith(CharIter in)
in - public abstract boolean highlight(CharIter in, java.util.List<Block> out)
in - out - public abstract java.lang.String getDefaultStyle()
public void reset()