org.robokind.impl.motion.config
Class RobotConfigXMLStreamLoader

java.lang.Object
  extended by 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

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

Constructor Detail

RobotConfigXMLStreamLoader

public RobotConfigXMLStreamLoader(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,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.