no.sesat.search.view.output.syndication.modules
Class SearchResultModuleImpl

java.lang.Object
  extended by com.sun.syndication.feed.module.ModuleImpl
      extended by no.sesat.search.view.output.syndication.modules.SearchResultModuleImpl
All Implemented Interfaces:
com.sun.syndication.feed.CopyFrom, com.sun.syndication.feed.module.Module, Serializable, Cloneable, SearchResultModule

public class SearchResultModuleImpl
extends com.sun.syndication.feed.module.ModuleImpl
implements SearchResultModule

See Also:
SearchResultModule, Serialized Form

Field Summary
static org.jdom.Namespace NS
           
 
Fields inherited from interface no.sesat.search.view.output.syndication.modules.SearchResultModule
ELEM_ARTICLE_AGE, ELEM_NEWS_SOURCE, ELEM_NUMBER_OF_HITS, PREFIX, URI
 
Constructor Summary
SearchResultModuleImpl()
          Creates a new instance of this class.
 
Method Summary
 void copyFrom(Object object)
          
 String getArticleAge()
          Returns the age of the article.
 Class getInterface()
          
 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 class com.sun.syndication.feed.module.ModuleImpl
clone, equals, getUri, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.syndication.feed.module.Module
clone, getUri
 

Field Detail

NS

public static final org.jdom.Namespace NS
Constructor Detail

SearchResultModuleImpl

public SearchResultModuleImpl()
Creates a new instance of this class.

Method Detail

getInterface

public Class getInterface()

Specified by:
getInterface in interface com.sun.syndication.feed.CopyFrom

copyFrom

public void copyFrom(Object object)

Specified by:
copyFrom in interface com.sun.syndication.feed.CopyFrom

getNumberOfHits

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

Specified by:
getNumberOfHits in interface SearchResultModule

setNewsSource

public void setNewsSource(String newsSource)
Sets the news source.

Specified by:
setNewsSource in interface SearchResultModule
Parameters:
newsSource - The news source.

getNewsSource

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

Specified by:
getNewsSource in interface SearchResultModule
Returns:
The news paper name or null if not applicable.

setNumberOfHits

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

Specified by:
setNumberOfHits in interface SearchResultModule
Parameters:
numberOfHits - The number of hits.

getArticleAge

public String getArticleAge()
Returns the age of the article.

Specified by:
getArticleAge in interface SearchResultModule
Returns:
The age or null if not applicable.

setArticleAge

public void setArticleAge(String articleAge)
Sets the article age.

Specified by:
setArticleAge in interface SearchResultModule
Parameters:
articleAge - The article age.


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