com.atlassian.confluence.search.summary
Class Summary

java.lang.Object
  extended bycom.atlassian.confluence.search.summary.Summary

public class Summary
extends Object

Originally from org.apache.nutch.searcher.Summary v 0.7 (Revision: 179640)

A document summary dynamically generated to match a query.


Nested Class Summary
static class Summary.Ellipsis
          An ellipsis fragment within a summary.
static class Summary.Fragment
          A fragment of text within a summary.
static class Summary.Highlight
          A highlighted fragment of text within a summary.
 
Constructor Summary
Summary()
          Constructs an empty Summary.
 
Method Summary
 void add(Summary.Fragment fragment)
          Adds a fragment to a summary.
 Summary.Fragment[] getFragments()
          Returns an array of all of this summary's fragments.
 String toString()
          Returns an HTML representation of this fragment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Summary

public Summary()
Constructs an empty Summary.

Method Detail

add

public void add(Summary.Fragment fragment)
Adds a fragment to a summary.


getFragments

public Summary.Fragment[] getFragments()
Returns an array of all of this summary's fragments.


toString

public String toString()
Returns an HTML representation of this fragment.



Confluence is developed by Atlassian.