org.sonar.colorizer
Class Tokenizer

java.lang.Object
  extended by org.sonar.channel.Channel<HtmlCodeBuilder>
      extended by org.sonar.colorizer.Tokenizer
Direct Known Subclasses:
HtmlDecorator, InlineDocTokenizer, JavaAnnotationTokenizer, JavaConstantTokenizer, LiteralTokenizer, MultilinesDocTokenizer, NotThreadSafeTokenizer, StringTokenizer

public abstract class Tokenizer
extends Channel<HtmlCodeBuilder>

A token highlighter is in charge to optionally consume the next characters (token) of a CodeReader and to add the highlighted token to an HtmlCodeBuilder. IMPORTANT: a Tokenizer must be THREAD-SAFE otherwise see NotThreadSafeTokenizer


Constructor Summary
Tokenizer()
           
 
Method Summary
 
Methods inherited from class org.sonar.channel.Channel
consume
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tokenizer

public Tokenizer()


Copyright © 2009-2011 SonarSource. All Rights Reserved.