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

Quick Search    Search Deep

recoinx.clef
Class CLEFQuery.CLEFTopic  view CLEFQuery.CLEFTopic download CLEFQuery.CLEFTopic.java

java.lang.Object
  extended byrecoinx.clef.CLEFQuery.CLEFTopic
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CLEFQuery

public class CLEFQuery.CLEFTopic
extends java.lang.Object
implements java.io.Serializable

The CLEFTopic class encapsulates data about a topic of a particular language.

Version:
0.2.9

Field Summary
private  int language
          The language of the topic.
private  java.lang.String topic
          The content of the topic.
 
Constructor Summary
CLEFQuery.CLEFTopic(java.lang.String top, int lang)
          Creates a new CLEFTopic with the specified content and language.
 
Method Summary
 int getLanguage()
          Returns the language of this CLEFTopic.
 java.lang.String getTopicContent()
          Returns the content of this CLEFTopic.
 java.lang.String getTopicNumber()
          Returns the topic number of this CLEFTopic which is read from the enclosing CLEFQuery class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topic

private java.lang.String topic
The content of the topic.


language

private int language
The language of the topic. See CLEFConstants.

Constructor Detail

CLEFQuery.CLEFTopic

public CLEFQuery.CLEFTopic(java.lang.String top,
                           int lang)
Creates a new CLEFTopic with the specified content and language.

Method Detail

getLanguage

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


getTopicContent

public java.lang.String getTopicContent()
Returns the content of this CLEFTopic.


getTopicNumber

public java.lang.String getTopicNumber()
Returns the topic number of this CLEFTopic which is read from the enclosing CLEFQuery class.