org.mars_sim.msp.core.resource
Class AmountResourceConfig
java.lang.Object
org.mars_sim.msp.core.resource.AmountResourceConfig
- All Implemented Interfaces:
- Serializable
public class AmountResourceConfig
- extends Object
- implements Serializable
Provides configuration information about amount resources. Uses a DOM document to get the information.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmountResourceConfig
public AmountResourceConfig(org.jdom.Document amountResourceDoc)
- Constructor
- Parameters:
amountResourceDoc - the amount resource XML document.
- Throws:
Exception - if error reading XML document
getAmountResources
public Set<AmountResource> getAmountResources()
- Gets a set of all amount resources.
- Returns:
- set of resources.
Copyright © 2009-2013. All Rights Reserved.