org.robokind.impl.motion.config
Class RobotConfigXMLFileLoader

java.lang.Object
  extended by org.robokind.impl.motion.config.RobotConfigXMLFileLoader
All Implemented Interfaces:
org.robokind.api.common.services.ConfigurationLoader<org.robokind.api.motion.servos.config.ServoRobotConfig,File>

public class RobotConfigXMLFileLoader
extends Object
implements org.robokind.api.common.services.ConfigurationLoader<org.robokind.api.motion.servos.config.ServoRobotConfig,File>

Author:
Matthew Stevenson

Constructor Summary
RobotConfigXMLFileLoader(org.osgi.framework.BundleContext context)
           
 
Method Summary
 Class<org.robokind.api.motion.servos.config.ServoRobotConfig> getConfigurationClass()
           
 org.robokind.api.common.config.VersionProperty getConfigurationFormat()
           
 Class<File> getParameterClass()
           
 org.robokind.api.motion.servos.config.ServoRobotConfig loadConfiguration(File param)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RobotConfigXMLFileLoader

public RobotConfigXMLFileLoader(org.osgi.framework.BundleContext context)
Method Detail

getConfigurationFormat

public org.robokind.api.common.config.VersionProperty getConfigurationFormat()
Specified by:
getConfigurationFormat in interface org.robokind.api.common.services.ConfigurationLoader<org.robokind.api.motion.servos.config.ServoRobotConfig,File>

loadConfiguration

public org.robokind.api.motion.servos.config.ServoRobotConfig loadConfiguration(File param)
                                                                         throws org.apache.commons.configuration.ConfigurationException
Specified by:
loadConfiguration in interface org.robokind.api.common.services.ConfigurationLoader<org.robokind.api.motion.servos.config.ServoRobotConfig,File>
Throws:
org.apache.commons.configuration.ConfigurationException

getConfigurationClass

public Class<org.robokind.api.motion.servos.config.ServoRobotConfig> getConfigurationClass()
Specified by:
getConfigurationClass in interface org.robokind.api.common.services.ConfigurationLoader<org.robokind.api.motion.servos.config.ServoRobotConfig,File>

getParameterClass

public Class<File> getParameterClass()
Specified by:
getParameterClass in interface org.robokind.api.common.services.ConfigurationLoader<org.robokind.api.motion.servos.config.ServoRobotConfig,File>


Copyright © 2011-2013. All Rights Reserved.