org.mars_sim.msp.simulation.mars
Class LandmarkConfig

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

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

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

See Also:
Serialized Form

Constructor Summary
LandmarkConfig(org.w3c.dom.Document landmarkDoc)
          Constructor
 
Method Summary
 java.util.List getLandmarkList()
          Gets a list of landmarks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LandmarkConfig

public LandmarkConfig(org.w3c.dom.Document landmarkDoc)
Constructor

Parameters:
landmarkDoc - DOM document of landmark configuration.
Method Detail

getLandmarkList

public java.util.List getLandmarkList()
                               throws java.lang.Exception
Gets a list of landmarks.

Returns:
list of landmarks
Throws:
java.lang.Exception - when landmarks can not be parsed.