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
protected  Term term
           
 
Fields inherited from class net.ontopia.topicmaps.classify.Token
type, TYPE_DELIMITER, TYPE_VARIANT, value
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

term

protected Term term
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-2012 Ontopia.