Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

recoinx.clef
Class CLEFMergedResultList  view CLEFMergedResultList download CLEFMergedResultList.java

java.lang.Object
  extended byrecoin.group.ComponentSupportImpl
      extended byrecoin.container.ResultList
          extended byrecoin.container.MergedResultList
              extended byrecoinx.clef.CLEFMergedResultList
All Implemented Interfaces:
recoin.group.ComponentSupport, java.io.Serializable

public class CLEFMergedResultList
extends recoin.container.MergedResultList

The CLEFMergedResultList is a subclass of the MergedResultList that provides special attributes and functions for CLEF.

Version:
0.2.9

Field Summary
private  int language
          The shared language of the CLEFResults.
private  CLEFQuery.CLEFTopic topic
          The topic
 
Fields inherited from class recoin.container.ResultList
resultClass, results
 
Fields inherited from class recoin.group.ComponentSupportImpl
chainID, classname, description, id, name
 
Constructor Summary
CLEFMergedResultList()
          Creates a new CLEFMergedResultList.
 
Method Summary
 int getLanguage()
          Returns the language of this CLEFMergedResultList.
 java.lang.String getTopicNumber()
          Returns the topic number of the topic from which this CLEFMergedResultList was created.
 void setLanguage(int lang)
          Sets the language of this CLEFMergedResultList to the specified language.
 void setTopic(CLEFQuery.CLEFTopic top)
          Sets the topic of this CLEFMergedResultList to the specified one.
 java.lang.String toXML()
          Returns a XML representation of this CLEFMergedResultList.
 
Methods inherited from class recoin.container.MergedResultList
addResult
 
Methods inherited from class recoin.container.ResultList
addResult, getResultCount, getResults, setResultClass, setResults
 
Methods inherited from class recoin.group.ComponentSupportImpl
getChainID, getClassname, getDescription, getID, getName, setChainID, setClassname, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topic

private CLEFQuery.CLEFTopic topic
The topic


language

private int language
The shared language of the CLEFResults. Default is '-1' implying no shared language.

Constructor Detail

CLEFMergedResultList

public CLEFMergedResultList()
Creates a new CLEFMergedResultList.

Method Detail

toXML

public java.lang.String toXML()
Returns a XML representation of this CLEFMergedResultList. The returned String will be a valid XML file including a prolog.


getTopicNumber

public java.lang.String getTopicNumber()
Returns the topic number of the topic from which this CLEFMergedResultList was created.


setTopic

public void setTopic(CLEFQuery.CLEFTopic top)
Sets the topic of this CLEFMergedResultList to the specified one.


getLanguage

public int getLanguage()
Returns the language of this CLEFMergedResultList.


setLanguage

public void setLanguage(int lang)
Sets the language of this CLEFMergedResultList to the specified language.