org.apache.nutch.searcher
Class Summary.Highlight

java.lang.Object
  extended by org.apache.nutch.searcher.Summary.Fragment
      extended by org.apache.nutch.searcher.Summary.Highlight
Enclosing class:
Summary

public static class Summary.Highlight
extends Summary.Fragment

A highlighted fragment of text within a summary.


Constructor Summary
Summary.Highlight(String text)
          Constructs a highlighted fragment for the given text.
 
Method Summary
 boolean isHighlight()
          Returns true.
 
Methods inherited from class org.apache.nutch.searcher.Summary.Fragment
equals, getText, isEllipsis, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Summary.Highlight

public Summary.Highlight(String text)
Constructs a highlighted fragment for the given text.

Method Detail

isHighlight

public boolean isHighlight()
Returns true.

Overrides:
isHighlight in class Summary.Fragment


Copyright © 2006 The Apache Software Foundation