fr.ifremer.isisfish.simulator
Class SimulationResultXML

java.lang.Object
  extended by fr.ifremer.isisfish.simulator.SimulationResultXML
All Implemented Interfaces:
SimulationListener, SimulationResultListener

public class SimulationResultXML
extends Object
implements SimulationResultListener

Author:
poussin

Field Summary
protected  Writer out
           
protected  File outFilename
           
 
Constructor Summary
SimulationResultXML()
           
SimulationResultXML(File outfilename)
           
 
Method Summary
 void addResult(SimulationContext context, Date date, String name, org.nuiton.math.matrix.MatrixND mat)
           
 void afterSimulation(SimulationContext context)
          called after simulation
 void beforeSimulation(SimulationContext context)
          called before simulation
 File getOutFilename()
           
 void setOutFilename(File outfilename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

protected Writer out

outFilename

protected File outFilename
Constructor Detail

SimulationResultXML

public SimulationResultXML()

SimulationResultXML

public SimulationResultXML(File outfilename)
Method Detail

setOutFilename

public void setOutFilename(File outfilename)
Parameters:
outfilename - The outfilename to set.

getOutFilename

public File getOutFilename()
Returns:
Returns the outfilename.

afterSimulation

public void afterSimulation(SimulationContext context)
Description copied from interface: SimulationListener
called after simulation

Specified by:
afterSimulation in interface SimulationListener

beforeSimulation

public void beforeSimulation(SimulationContext context)
Description copied from interface: SimulationListener
called before simulation

Specified by:
beforeSimulation in interface SimulationListener

addResult

public void addResult(SimulationContext context,
                      Date date,
                      String name,
                      org.nuiton.math.matrix.MatrixND mat)
               throws IsisFishException
Specified by:
addResult in interface SimulationResultListener
Throws:
IsisFishException


Copyright © 1999-2011 CodeLutin. All Rights Reserved.