|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectXMLWriter
public class XMLWriter
This class takes care of writing distilled XML-events to the output-files given as parameters on the command line.
Field Summary | |
---|---|
java.io.File |
genxml_file
|
java.io.FileWriter |
genxml_fw
|
java.lang.String |
genxml_name
|
java.io.File |
tqlxml_file
|
java.io.FileWriter |
tqlxml_fw
|
java.lang.String |
tqlxml_name
|
Constructor Summary | |
---|---|
XMLWriter(java.lang.String gen,
java.lang.String tql)
To create this Writer, it needs pathname to one or both files to be written. |
Method Summary | |
---|---|
void |
closeXML()
Flush the writer and close the output files. |
void |
writeGENEvent(GEvent e)
Write a GENIA/GOLD-event to the output files. |
void |
writeTQLEvent(Event e)
Write a TQL/TEST-event to the output files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String tqlxml_name
public java.io.File tqlxml_file
public java.io.FileWriter tqlxml_fw
public java.lang.String genxml_name
public java.io.File genxml_file
public java.io.FileWriter genxml_fw
Constructor Detail |
---|
public XMLWriter(java.lang.String gen, java.lang.String tql)
gen
- the golden destillation filetql
- the test destillation fileMethod Detail |
---|
public void writeTQLEvent(Event e)
e
- the event to be writtenpublic void writeGENEvent(GEvent e)
e
- the event to be writtenpublic void closeXML()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |