public abstract class Highlighter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Highlighter.IgnoreCaseComparator |
| Modifier and Type | Field and Description |
|---|---|
static java.util.regex.Pattern |
XMLname
validates a valid XML name (note: ':' is not allowed)
http://www.w3.org/TR/2000/REC-xml-20001006#NT-Letter
|
| 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 java.util.regex.Pattern XMLname
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()