org.mars_sim.msp.core.mars
Class LandmarkConfig

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

public class LandmarkConfig
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
LandmarkConfig(org.jdom.Document landmarkDoc)
          Constructor
 
Method Summary
 void destroy()
          Prepare object for garbage collection.
 List<Landmark> 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.jdom.Document landmarkDoc)
Constructor

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

getLandmarkList

public List<Landmark> getLandmarkList()
Gets a list of landmarks.

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

destroy

public void destroy()
Prepare object for garbage collection.



Copyright © 2009-2013. All Rights Reserved.