org.mars_sim.msp.simulation.resource
Class AmountResourceConfig

java.lang.Object
  extended by org.mars_sim.msp.simulation.resource.AmountResourceConfig
All Implemented Interfaces:
java.io.Serializable

public class AmountResourceConfig
extends java.lang.Object
implements java.io.Serializable

Provides configuration information about amount resources. Uses a DOM document to get the information.

See Also:
Serialized Form

Constructor Summary
AmountResourceConfig(org.w3c.dom.Document amountResourceDoc)
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmountResourceConfig

public AmountResourceConfig(org.w3c.dom.Document amountResourceDoc)
                     throws java.lang.Exception
Constructor

Parameters:
amountResourceDoc - the amount resource XML document.
Throws:
java.lang.Exception - if error reading XML document