|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.site.elkb.Category
public class Category
Represents the Roget's Thesaurus Tabular Synopsis of Categories. The topmost level of this ontology divides the Thesaurus into eight Classes:
Classes are further divided into Sections, Sub-sections, Head groups, and Heads.
Constructor Summary | |
---|---|
Category()
Default Constructor |
|
Category(java.lang.String filename)
Constructor that builds the Category object using the information contained in a file. |
Method Summary | |
---|---|
void |
addToClassList(RogetClass rtClass)
adds to classList |
void |
addToHeadList(HeadInfo rogetHead)
adds a RogetHead to the headList. |
void |
classCountIncrement()
Increments class Count |
int |
getClassCount()
Returns the number of Roget's Classes in this ontology. |
java.util.ArrayList<RogetClass> |
getClassList()
Returns the array of RogetClass objects. |
int |
getHeadCount()
Returns the number of Heads in this ontology. |
int |
getHeadGroupCount()
Returns the number of Head groups in this ontology. |
HeadInfo |
getHeadInfo(int headNum)
Returns the array of HeadInfo objects. |
java.util.ArrayList<HeadInfo> |
getHeadList()
Returns the array of HeadInfo objects. |
RogetClass |
getRogetClass(int index)
Returns the Roget's Class at the specified position in the array of Classes. |
int |
getSectionCount()
Returns the number of Sections in this ontology. |
int |
getSubSectionCount()
Returns the number of Sub-sections in this ontology. |
void |
headCountIncrement()
increments headCount |
void |
headGroupCountIncrement()
Increments head group count. |
void |
printHeadInfo()
Prints the array of HeadInfo objects to the standard output. |
void |
printRogetClass(int index)
Prints the Roget's Class at the specified position in the array of Classes to the standard output. |
void |
sectionCountIncrement()
Increments Section count. |
void |
subSectionCountIncrement()
Increments subSection count. |
java.lang.String |
toString()
Converts to a string representation the Category object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Category()
public Category(java.lang.String filename)
filename
- Method Detail |
---|
public int getClassCount()
public int getSectionCount()
public int getSubSectionCount()
public int getHeadGroupCount()
public int getHeadCount()
public RogetClass getRogetClass(int index)
index
-
public void printRogetClass(int index)
index
- public java.util.ArrayList<RogetClass> getClassList()
public java.util.ArrayList<HeadInfo> getHeadList()
public HeadInfo getHeadInfo(int headNum)
public void printHeadInfo()
public java.lang.String toString()
toString
in class java.lang.Object
public void classCountIncrement()
public void addToClassList(RogetClass rtClass)
rtClass
- public void subSectionCountIncrement()
public void headGroupCountIncrement()
public void addToHeadList(HeadInfo rogetHead)
rogetHead
- public void sectionCountIncrement()
public void headCountIncrement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |