gate.util.web
Class TagHighlighter

java.lang.Object
  extended bygate.util.web.TagHighlighter

public class TagHighlighter
extends Object


Field Summary
private  HashMap tagColors
           
 
Constructor Summary
TagHighlighter()
           
 
Method Summary
 void colorTag(String tag, String color)
           
 String getColor(String tag)
           
 String highlightText(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tagColors

private HashMap tagColors
Constructor Detail

TagHighlighter

public TagHighlighter()
Method Detail

colorTag

public void colorTag(String tag,
                     String color)

getColor

public String getColor(String tag)

highlightText

public String highlightText(String text)