com.atlassian.bonnie.search.summary
Class Summary.Fragment

java.lang.Object
  extended bycom.atlassian.bonnie.search.summary.Summary.Fragment
Direct Known Subclasses:
Summary.Ellipsis, Summary.Highlight
Enclosing class:
Summary

public static class Summary.Fragment
extends java.lang.Object

A fragment of text within a summary.


Constructor Summary
Summary.Fragment(java.lang.String text)
          Constructs a fragment for the given text.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getText()
          Returns the text of this fragment.
 int hashCode()
           
 boolean isEllipsis()
          Returns true iff this fragment is an ellipsis.
 boolean isHighlight()
          Returns true iff this fragment is to be highlighted.
 java.lang.String toString()
          Returns an HTML representation of this fragment.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Summary.Fragment

public Summary.Fragment(java.lang.String text)
Constructs a fragment for the given text.

Method Detail

getText

public java.lang.String getText()
Returns the text of this fragment.


isHighlight

public boolean isHighlight()
Returns true iff this fragment is to be highlighted.


isEllipsis

public boolean isEllipsis()
Returns true iff this fragment is an ellipsis.


toString

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


equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()


Copyright © 2006-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.