it.unimi.di.mg4j.query
Class BrowseItem

java.lang.Object
  extended by it.unimi.di.mg4j.query.BrowseItem
Direct Known Subclasses:
ResultItem

public class BrowseItem
extends Object

An instance of this class is used to pack the results gathered by QueryServlet in such a way that they are easily accessible from the Velocity Template Language.

Since:
0.9.2
Author:
Sebastiano Vigna

Field Summary
 CharSequence alt
          A non-marked version of the title (for IMG ALT attributes).
 CharSequence text
          The marked text.
 CharSequence title
          The (possibly marked) title.
 CharSequence uri
          The result URI.
 
Constructor Summary
BrowseItem()
           
 
Method Summary
 CharSequence alt()
           
 CharSequence text()
           
 CharSequence title()
           
 String toString()
           
 CharSequence uri()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

title

public CharSequence title
The (possibly marked) title.


uri

public CharSequence uri
The result URI.


text

public CharSequence text
The marked text.


alt

public CharSequence alt
A non-marked version of the title (for IMG ALT attributes).

Constructor Detail

BrowseItem

public BrowseItem()
Method Detail

alt

public final CharSequence alt()

text

public CharSequence text()

title

public CharSequence title()

uri

public CharSequence uri()

toString

public String toString()
Overrides:
toString in class Object