public interface HighlightFormatter
| Modifier and Type | Method and Description |
|---|---|
void |
highlightTerm(XMLStreamWriter writer,
String text)
Write StAX events that "highlight" the text
|
void highlightTerm(XMLStreamWriter writer, String text) throws XMLStreamException
writer - writes to the highlighted documenttext - a term or phrase that matched a query, to be highlightedXMLStreamExceptionCopyright © 2013. All Rights Reserved.