public class XMLReportOutput extends XMLOutput implements OutputType
NORMAL_FILE_ACCESS
Constructor and Description |
---|
XMLReportOutput()
Create a new XMLReportOutput class *
|
Modifier and Type | Method and Description |
---|---|
void |
open(java.lang.String pathname,
java.lang.String name)
open a new file to write the output in
|
void |
receive(Message m)
method to be called when a Message is received. this class does not
handle Messages so it will simply return
|
void |
receive(Reporter r)
method to be called when a reporter is received
|
close, getAppendix, setTimeFloats
getEndOfLine, getFileName, getSeparator, isEmpty, isOpen, open, setEndOfLine, setFileSystemAccess, setSeparator, write, writeln, writeSep
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getAppendix
public void receive(Reporter r)
receive
in interface MessageReceiver
r
- Reporter: the Reporter that has been sendpublic void receive(Message m)
receive
in interface MessageReceiver
m
- Message: The Message that has been send.public void open(java.lang.String pathname, java.lang.String name)
open
in interface OutputType
pathname
- String: name of the path to write inname
- String: name of the file to write in