Package ubic.gemma.core.search.lucene
Class SimpleHTMLFormatter
- java.lang.Object
-
- ubic.gemma.core.search.lucene.SimpleHTMLFormatter
-
- All Implemented Interfaces:
org.apache.lucene.search.highlight.Formatter
public class SimpleHTMLFormatter extends Object implements org.apache.lucene.search.highlight.Formatter
A safer substitute forSimpleHTMLFormatter
that escape existing HTML tags and use lowercase<b>
tags.- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description SimpleHTMLFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
highlightTerm(String originalText, org.apache.lucene.search.highlight.TokenGroup tokenGroup)
-