|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mars_sim.msp.simulation.structure.building.function.CropConfig
public class CropConfig
Provides configuration information about greenhouse crops. Uses a DOM document to get the information.
Constructor Summary | |
---|---|
CropConfig(org.w3c.dom.Document cropDoc)
Constructor |
Method Summary | |
---|---|
java.util.List<CropType> |
getCropList()
Gets a list of crop types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CropConfig(org.w3c.dom.Document cropDoc)
cropDoc
- the crop DOM document.Method Detail |
---|
public java.util.List<CropType> getCropList() throws java.lang.Exception
java.lang.Exception
- when crops could not be parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |