com.atlassian.confluence.search.summary
Class NoFormatFormatter
java.lang.Object
com.atlassian.confluence.search.summary.NoFormatFormatter
- All Implemented Interfaces:
- org.apache.lucene.search.highlight.Formatter
public class NoFormatFormatter
- extends Object
- implements org.apache.lucene.search.highlight.Formatter
A highlight formatter that doesn't highlight. Example use would be for requests via SOAP.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoFormatFormatter
protected NoFormatFormatter()
getInstance
public static NoFormatFormatter getInstance()
highlightTerm
public String highlightTerm(String originalText,
org.apache.lucene.search.highlight.TokenGroup tokenGroup)
- Specified by:
highlightTerm
in interface org.apache.lucene.search.highlight.Formatter
Copyright © 2003-2012 Atlassian. All Rights Reserved.