lux.search.highlight
Interface HighlightFormatter

All Known Implementing Classes:
TagFormatter

public interface HighlightFormatter

Called by the XmlHighlighter to write highlighted terms.


Method Summary
 void highlightTerm(XMLStreamWriter writer, String text)
          Write StAX events that "highlight" the text
 

Method Detail

highlightTerm

void highlightTerm(XMLStreamWriter writer,
                   String text)
                   throws XMLStreamException
Write StAX events that "highlight" the text

Parameters:
writer - writes to the highlighted document
text - a term or phrase that matched a query, to be highlighted
Throws:
XMLStreamException


Copyright © 2013. All Rights Reserved.