|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.creole.gazetteer.LinearNode
public class LinearNode
Linear node specifies an entry of the type : list:major:minor:language
| Constructor Summary | |
|---|---|
LinearNode(String node)
Parses and create a linear node from a string |
|
LinearNode(String aList,
String aMajor,
String aMinor,
String aLanguage)
Constructs a linear node given its elements |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Checks this node vs another one for equality. |
String |
getLanguage()
Gets the language of the node (the language is optional) |
String |
getList()
Get the gazetteer list filename from the node |
String |
getMajorType()
Gets the major type |
String |
getMinorType()
Gets the minor type |
void |
setLanguage(String aLanguage)
Sets the language of the node |
void |
setList(String aList)
Sets the gazetteer list filename for the node |
void |
setMajorType(String majorType)
Sets the major type |
void |
setMinorType(String minorType)
Sets the minor type |
String |
toString()
Gets the string representation of this node |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LinearNode(String aList,
String aMajor,
String aMinor,
String aLanguage)
aList - the gazetteer list file nameaMajor - the major typeaMinor - the minor typeaLanguage - the language(s)
public LinearNode(String node)
throws InvalidFormatException
node - the linear node to be parsed
InvalidFormatException| Method Detail |
|---|
public String getList()
public void setList(String aList)
aList - the gazetteer list filenamepublic String getLanguage()
public void setLanguage(String aLanguage)
aLanguage - the language of the nodepublic String getMinorType()
public void setMinorType(String minorType)
public String getMajorType()
public void setMajorType(String majorType)
majorType - the major typepublic String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objecto - another node
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||