lux.search.highlight
Class HtmlBoldFormatter
java.lang.Object
lux.search.highlight.HtmlBoldFormatter
- All Implemented Interfaces:
- HighlightFormatter
public class HtmlBoldFormatter
- extends Object
- implements HighlightFormatter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlBoldFormatter
public HtmlBoldFormatter()
highlightTerm
public void highlightTerm(XMLStreamWriter writer,
String text)
throws XMLStreamException
- Description copied from interface:
HighlightFormatter
- Write StAX events that "highlight" the text
- Specified by:
highlightTerm in interface HighlightFormatter
- Parameters:
writer - writes to the highlighted documenttext - a term or phrase that matched a query, to be highlighted
- Throws:
XMLStreamException
Copyright © 2013. All Rights Reserved.