org.robokind.impl.motion.config
Class RobotConfigXMLStreamLoader
java.lang.Object
org.robokind.impl.motion.config.RobotConfigXMLStreamLoader
- All Implemented Interfaces:
- ConfigurationLoader<ServoRobotConfig,InputStream>
public class RobotConfigXMLStreamLoader
- extends Object
- implements ConfigurationLoader<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 VersionProperty getConfigurationFormat()
- Specified by:
getConfigurationFormat in interface ConfigurationLoader<ServoRobotConfig,InputStream>
loadConfiguration
public ServoRobotConfig loadConfiguration(InputStream param)
throws org.apache.commons.configuration.ConfigurationException
- Specified by:
loadConfiguration in interface ConfigurationLoader<ServoRobotConfig,InputStream>
- Throws:
org.apache.commons.configuration.ConfigurationException
getConfigurationClass
public Class<ServoRobotConfig> getConfigurationClass()
- Specified by:
getConfigurationClass in interface ConfigurationLoader<ServoRobotConfig,InputStream>
getParameterClass
public Class<InputStream> getParameterClass()
- Specified by:
getParameterClass in interface ConfigurationLoader<ServoRobotConfig,InputStream>
Copyright © 2011-2013. All Rights Reserved.