org.gscg.gameleader.interactionlayer.experiment
Class ExperimentParser

java.lang.Object
  extended byorg.gscg.gameleader.interactionlayer.experiment.ExperimentParser

public class ExperimentParser
extends java.lang.Object

The ExperimentParser parses xml-based experiments into their java objects

Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:34:06 $
Author:
Peter Jacobs

Constructor Summary
protected ExperimentParser()
          constructs a new ExperimentParser This is a Utility Class.
 
Method Summary
static nl.tudelft.simulation.dsol.experiment.Experiment parseExperiment(org.jdom.Element element)
          parses an experiment xml-file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExperimentParser

protected ExperimentParser()
constructs a new ExperimentParser This is a Utility Class.

Method Detail

parseExperiment

public static nl.tudelft.simulation.dsol.experiment.Experiment parseExperiment(org.jdom.Element element)
                                                                        throws java.io.IOException
parses an experiment xml-file.

Parameters:
element - the experiment in the form of a jdom element
Returns:
Experiment the experiment
Throws:
java.io.IOException - whenever parsing fails


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.