no.sesat.search.view.output.syndication.modules
Interface SearchResultModule

All Superinterfaces:
Cloneable, com.sun.syndication.feed.CopyFrom, com.sun.syndication.feed.module.Module
All Known Implementing Classes:
SearchResultModuleImpl

public interface SearchResultModule
extends com.sun.syndication.feed.module.Module

This interface describes the additional fields defined in the sesam syndication feed format.


Field Summary
static String ELEM_ARTICLE_AGE
           
static String ELEM_NEWS_SOURCE
           
static String ELEM_NUMBER_OF_HITS
           
static String PREFIX
           
static String URI
           
 
Method Summary
 String getArticleAge()
          Returns the age of the article.
 String getNewsSource()
          Returns the news source (newspaper name).
 String getNumberOfHits()
          Returns the number of hits for the search.
 void setArticleAge(String articleAge)
          Sets the article age.
 void setNewsSource(String newsSource)
          Sets the news source.
 void setNumberOfHits(String numberOfHits)
          Sets the number of hits.
 
Methods inherited from interface com.sun.syndication.feed.module.Module
clone, getUri
 
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
 

Field Detail

URI

static final String URI
See Also:
Constant Field Values

PREFIX

static final String PREFIX
See Also:
Constant Field Values

ELEM_NUMBER_OF_HITS

static final String ELEM_NUMBER_OF_HITS
See Also:
Constant Field Values

ELEM_ARTICLE_AGE

static final String ELEM_ARTICLE_AGE
See Also:
Constant Field Values

ELEM_NEWS_SOURCE

static final String ELEM_NEWS_SOURCE
See Also:
Constant Field Values
Method Detail

getNumberOfHits

String getNumberOfHits()
Returns the number of hits for the search.


setNumberOfHits

void setNumberOfHits(String numberOfHits)
Sets the number of hits.

Parameters:
numberOfHits - The number of hits.

getArticleAge

String getArticleAge()
Returns the age of the article.

Returns:
The age or null if not applicable.

setArticleAge

void setArticleAge(String articleAge)
Sets the article age.

Parameters:
articleAge - The article age.

setNewsSource

void setNewsSource(String newsSource)
Sets the news source.

Parameters:
newsSource - The news source.

getNewsSource

String getNewsSource()
Returns the news source (newspaper name).

Returns:
The news paper name or null if not applicable.


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.