|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.xslthl.Highlighter
net.sf.xslthl.highlighters.OnelineCommentHighlighter
public class OnelineCommentHighlighter
Single line comments. Accepted parameters:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.xslthl.Highlighter |
---|
Highlighter.IgnoreCaseComparator |
Field Summary | |
---|---|
protected String |
lineBreakEscape
String used to escape a newline |
protected boolean |
solitary
|
protected String |
start
The start of the comment highlighter |
Fields inherited from class net.sf.xslthl.Highlighter |
---|
styleName, XMLname |
Constructor Summary | |
---|---|
OnelineCommentHighlighter()
|
Method Summary | |
---|---|
String |
getDefaultStyle()
The default style name |
boolean |
highlight(CharIter in,
List<Block> out)
Perform highlighting on the current token stream. |
void |
init(Params params)
Initializer |
boolean |
startsWith(CharIter in)
return true if the current character is a possible match for this highlighter |
Methods inherited from class net.sf.xslthl.Highlighter |
---|
isNewLine, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String start
protected String lineBreakEscape
protected boolean solitary
Constructor Detail |
---|
public OnelineCommentHighlighter()
Method Detail |
---|
public void init(Params params) throws HighlighterConfigurationException
Highlighter
init
in class Highlighter
HighlighterConfigurationException
public boolean startsWith(CharIter in)
Highlighter
startsWith
in class Highlighter
public boolean highlight(CharIter in, List<Block> out)
Highlighter
highlight
in class Highlighter
public String getDefaultStyle()
Highlighter
getDefaultStyle
in class Highlighter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |