com.atlassian.confluence.search.summary
Class NoFormatFormatter

java.lang.Object
  extended by 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.


Constructor Summary
protected NoFormatFormatter()
           
 
Method Summary
static NoFormatFormatter getInstance()
           
 String highlightTerm(String originalText, org.apache.lucene.search.highlight.TokenGroup tokenGroup)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoFormatFormatter

protected NoFormatFormatter()
Method Detail

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.