|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.site.elkb.HeadInfo
public class HeadInfo
Object used to store the information that defines a Head but not its words and phrases. It contains the following attributes:
Constructor Summary | |
---|---|
HeadInfo()
Default constructor. |
|
HeadInfo(int number,
java.lang.String name,
int cn,
int sn,
int ssn,
int hgn,
java.lang.String subName,
java.util.ArrayList<java.lang.String> groupList)
Constructor which sets the Head number and name, as well as the Class and Section number, Sub-section name and Head group list. |
|
HeadInfo(int number,
java.lang.String name,
int cn,
int sn,
java.lang.String subName,
java.util.ArrayList<java.lang.String> groupList)
Constructor which sets the Head number and name, as well as the Class and Section number, Sub-section name and Head group list. |
|
HeadInfo(java.lang.String sInfo,
int cn,
int sn,
java.lang.String subSectInfo,
java.lang.String sGroupInfo)
Constructor which sets the Head number and name, as well as the Class and Section number, Sub-section name and Head group list. |
Method Summary | |
---|---|
int |
getClassNum()
Returns the Class number of this Head. |
java.util.ArrayList<java.lang.String> |
getHeadGroup()
Returns the array of HeadGroup objects of this Head. |
int |
getHeadGroupNum()
Returns the Head Group number of this Head. |
java.lang.String |
getHeadName()
Returns the name of this Head. |
int |
getHeadNum()
Returns the number of this Head. |
int |
getSectNum()
Returns the Section number of this Head. |
java.lang.String |
getSubSectName()
Returns the Sub-section name of this Head. |
int |
getSubSectNum()
Returns the Sub-Section number of this Head. |
void |
print()
prints out the toString method. |
void |
setClassNum(int num)
Sets the number of this Head. |
void |
setHeadGroup(java.util.ArrayList<java.lang.String> group)
Sets the array of HeadGroup objects of this Head. |
void |
setHeadName(java.lang.String name)
Sets the name of this Head. |
void |
setHeadNum(int num)
Sets the number of this Head. |
void |
setSectNum(int num)
Sets the Section number of this Head. |
void |
setSubSectName(java.lang.String name)
Sets the Section name of this Head. |
java.lang.String |
toString()
Converts to a string representation the HeadInfo object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HeadInfo()
public HeadInfo(int number, java.lang.String name, int cn, int sn, java.lang.String subName, java.util.ArrayList<java.lang.String> groupList)
number
- name
- cn
- sn
- subName
- groupList
- public HeadInfo(int number, java.lang.String name, int cn, int sn, int ssn, int hgn, java.lang.String subName, java.util.ArrayList<java.lang.String> groupList)
number
- name
- cn
- sn
- ssn
- hgn
- subName
- groupList
- public HeadInfo(java.lang.String sInfo, int cn, int sn, java.lang.String subSectInfo, java.lang.String sGroupInfo)
This constructor parses strings containing the Sub-section name, Head group list and Head passed in the following format:
^subSectionTitle>#Abstract#^/subSectionTitle> ^headGroup 1 2 > ^headword>#^b>#[001] #1# Existence #^/b>#^/headword>The Class and Section numbers are represented by and int. The Sub-section is an optional element. It can also be an empty String.
sInfo
- cn
- sn
- subSectInfo
- sGroupInfo
- Method Detail |
---|
public int getHeadNum()
public int getClassNum()
public int getSectNum()
public int getSubSectNum()
public int getHeadGroupNum()
public java.lang.String getSubSectName()
public java.util.ArrayList<java.lang.String> getHeadGroup()
public void setHeadNum(int num)
num
- public java.lang.String getHeadName()
public void setHeadName(java.lang.String name)
name
- public void setClassNum(int num)
num
- public void setSectNum(int num)
num
- public void setSubSectName(java.lang.String name)
name
- public void setHeadGroup(java.util.ArrayList<java.lang.String> group)
group
- public java.lang.String toString()
toString
in class java.lang.Object
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |