lux.search.highlight
Interface HighlightFormatter
- All Known Implementing Classes:
- TagFormatter
public interface HighlightFormatter
Called by the XmlHighlighter to write highlighted terms.
highlightTerm
void highlightTerm(XMLStreamWriter writer,
String text)
throws XMLStreamException
- Write StAX events that "highlight" the text
- 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.