|
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.MappingNode
public class MappingNode
Represents a single node from the mapping definition
Constructor Summary | |
---|---|
MappingNode(String node)
Creates a new mapping node given a string representation. |
|
MappingNode(String aList,
String anOntologyID,
String aClassID)
Creates a new mapping node given its members |
Method Summary | |
---|---|
String |
getClassID()
Gets the class id |
String |
getList()
Gets the list of the node |
String |
getOntologyID()
Gets the ontology id |
void |
setClassID(String theClassID)
Sets the class ID |
void |
setList(String aList)
Sets gaz list for the node |
void |
setOntologyID(String id)
Sets the ontology id |
String |
toString()
Gets the string representation of the node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MappingNode(String node) throws InvalidFormatException
node
- a node from the mapping definition
InvalidFormatException
- if the node is misformattedpublic MappingNode(String aList, String anOntologyID, String aClassID)
aList
- the gaz list file nameanOntologyID
- the ontologyaClassID
- the classMethod Detail |
---|
public void setList(String aList)
aList
- a gazetteer list file namepublic String getList()
public void setClassID(String theClassID)
theClassID
- the class idpublic String getClassID()
public void setOntologyID(String id)
id
- the ontology idpublic String getOntologyID()
public String toString()
toString
in class Object
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |