org.robokind.impl.motion.config
Class RobotConfigXMLStreamLoader
java.lang.Object
org.robokind.impl.motion.config.RobotConfigXMLStreamLoader
- All Implemented Interfaces:
- org.robokind.api.common.services.ConfigurationLoader<org.robokind.api.motion.servos.config.ServoRobotConfig,InputStream>
public class RobotConfigXMLStreamLoader
- extends Object
- implements org.robokind.api.common.services.ConfigurationLoader<org.robokind.api.motion.servos.config.ServoRobotConfig,InputStream>
- Author:
- Matthew Stevenson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RobotConfigXMLStreamLoader
public RobotConfigXMLStreamLoader(org.osgi.framework.BundleContext context)
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,InputStream>
loadConfiguration
public org.robokind.api.motion.servos.config.ServoRobotConfig loadConfiguration(InputStream 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,InputStream>
- 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,InputStream>
getParameterClass
public Class<InputStream> getParameterClass()
- Specified by:
getParameterClass
in interface org.robokind.api.common.services.ConfigurationLoader<org.robokind.api.motion.servos.config.ServoRobotConfig,InputStream>
Copyright © 2011-2013. All Rights Reserved.