org.gscg.experiment
Class DistributorParser

java.lang.Object
  extended byorg.gscg.experiment.DistributorParser

public class DistributorParser
extends java.lang.Object

The DistributorParser 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.4 $ $Date: 2005/08/09 20:49:45 $
Author:
Stijn-Pieter van Houten

Constructor Summary
protected DistributorParser()
          constructs a new ManufacturerParser This is a Utility Class.
 
Method Summary
static Distributors parseDistributors(java.lang.String schema, java.net.URL input, GameGlobalData supplyChainData, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator)
          parses a product xml-file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributorParser

protected DistributorParser()
constructs a new ManufacturerParser This is a Utility Class.

Method Detail

parseDistributors

public static Distributors parseDistributors(java.lang.String schema,
                                             java.net.URL input,
                                             GameGlobalData supplyChainData,
                                             nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator)
                                      throws java.io.IOException
parses a product xml-file.

Parameters:
schema - the schema for validation of the xml-file
input - the inputstream
supplyChainData - the global supply chain data
simulator - the simulator
Returns:
Distributors the distributors
Throws:
java.io.IOException - whenever parsing fails


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