Package net.sf.xslthl.highlighters
Class NestedMultilineCommentHighlighter
- java.lang.Object
-
- net.sf.xslthl.Highlighter
-
- net.sf.xslthl.highlighters.MultilineCommentHighlighter
-
- net.sf.xslthl.highlighters.NestedMultilineCommentHighlighter
-
public class NestedMultilineCommentHighlighter extends MultilineCommentHighlighter
Just like the multiline comment highlighter, but accepts nesting of comments.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.xslthl.Highlighter
Highlighter.IgnoreCaseComparator
-
-
Field Summary
-
Fields inherited from class net.sf.xslthl.Highlighter
XMLname
-
-
Constructor Summary
Constructors Constructor Description NestedMultilineCommentHighlighter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhighlight(CharIter in, java.util.List<Block> out)Perform highlighting on the current token stream.voidinit(Params params)Initializer-
Methods inherited from class net.sf.xslthl.highlighters.MultilineCommentHighlighter
getDefaultStyle, startsWith
-
Methods inherited from class net.sf.xslthl.Highlighter
isNewLine, reset
-
-
-
-
Method Detail
-
init
public void init(Params params) throws HighlighterConfigurationException
Description copied from class:HighlighterInitializer- Overrides:
initin classMultilineCommentHighlighter- Throws:
HighlighterConfigurationException
-
highlight
public boolean highlight(CharIter in, java.util.List<Block> out)
Description copied from class:HighlighterPerform highlighting on the current token stream. Return true when highlighting was performed, or false in case of a false positive.- Overrides:
highlightin classMultilineCommentHighlighter- Returns:
-
-