net.ontopia.topicmaps.classify
Class Variant

java.lang.Object
  extended by net.ontopia.topicmaps.classify.Token
      extended by net.ontopia.topicmaps.classify.Variant

public class Variant
extends Token

PUBLIC: Represents a form of a term as it occurred in classified content.


Field Summary
 
Fields inherited from class net.ontopia.topicmaps.classify.Token
TYPE_DELIMITER, TYPE_VARIANT
 
Method Summary
 int getOccurrences()
          PUBLIC: Returns the number of times this particular variant occurred in the classified content.
 Term getTerm()
          PUBLIC: Returns the term of which this is a variant.
 java.lang.String toString()
           
 
Methods inherited from class net.ontopia.topicmaps.classify.Token
getType, getValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTerm

public Term getTerm()
PUBLIC: Returns the term of which this is a variant.


getOccurrences

public int getOccurrences()
PUBLIC: Returns the number of times this particular variant occurred in the classified content.


toString

public java.lang.String toString()
Overrides:
toString in class Token


Copyright © 2000-2010 Ontopia.