net.sf.tankbattles.configuration.xml
Class TankBattlesDummyParser

java.lang.Object
  extended by net.sf.tankbattles.configuration.xml.TankBattlesDummyParser
All Implemented Interfaces:
TankBattlesConfigurationParser

public class TankBattlesDummyParser
extends java.lang.Object
implements TankBattlesConfigurationParser

Dummy implementation of the parser. Instantiates and populate the configuration objects directly. Just an early test implementation that will be replaced by the proper XML parser.

Author:
erickpassos

Constructor Summary
TankBattlesDummyParser()
           
 
Method Summary
 Mission parseMission(java.lang.String file)
          By implementing this method one can provide a configuration parser.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TankBattlesDummyParser

public TankBattlesDummyParser()
Method Detail

parseMission

public Mission parseMission(java.lang.String file)
Description copied from interface: TankBattlesConfigurationParser
By implementing this method one can provide a configuration parser.

Specified by:
parseMission in interface TankBattlesConfigurationParser
Parameters:
file - the configuration main file.
Returns:
the mission configuration object.