|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.xslthl.Highlighter
public abstract class Highlighter
Base highlighter. Accepted parameters:
| Nested Class Summary | |
|---|---|
static class |
Highlighter.IgnoreCaseComparator
|
| Field Summary | |
|---|---|
protected String |
styleName
The name of the style to use |
static Pattern |
XMLname
validates a valid XML name (note: ':' is not allowed) http://www.w3.org/TR/2000/REC-xml-20001006#NT-Letter |
| Constructor Summary | |
|---|---|
Highlighter()
|
|
| Method Summary | |
|---|---|
abstract String |
getDefaultStyle()
The default style name |
abstract boolean |
highlight(CharIter in,
List<Block> out)
Perform highlighting on the current token stream. |
void |
init(Params params)
Initializer |
static boolean |
isNewLine(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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Pattern XMLname
protected String styleName
| Constructor Detail |
|---|
public Highlighter()
| Method Detail |
|---|
public static final boolean isNewLine(Character c)
public void init(Params params)
throws HighlighterConfigurationException
params -
HighlighterConfigurationExceptionpublic boolean startsWith(CharIter in)
in -
public abstract boolean highlight(CharIter in,
List<Block> out)
in - out -
public abstract String getDefaultStyle()
public void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||