org.robokind.impl.animation.xml
Class AnimationXMLReader

java.lang.Object
  extended by org.robokind.impl.animation.xml.AnimationXMLReader
All Implemented Interfaces:
AnimationFileReader

public class AnimationXMLReader
extends Object
implements AnimationFileReader

Author:
Matthew Stevenson

Constructor Summary
AnimationXMLReader()
           
 
Method Summary
static List<ServiceAddOnDriver<Playable>> getAddOnDrivers(org.osgi.framework.BundleContext context, org.osgi.framework.ServiceReference[] refs)
           
static ServiceAddOn<Playable> readAddOn(org.apache.commons.configuration.HierarchicalConfiguration config, List<ServiceAddOnDriver<Playable>> drivers)
           
static List<ServiceAddOn<Playable>> readAddOns(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static Animation readAnimation(org.apache.commons.configuration.HierarchicalConfiguration config)
           
 Animation readAnimation(String path)
           
static Channel readChannel(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static List<Channel> readChannels(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static Point2D readControlPoint(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static List<Point2D> readControlPoints(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static InterpolatorFactory readInterpolatorVersion(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static MotionPath readMotionPath(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static List<MotionPath> readMotionPaths(org.apache.commons.configuration.HierarchicalConfiguration config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimationXMLReader

public AnimationXMLReader()
Method Detail

readAnimation

public Animation readAnimation(String path)
                        throws Exception
Specified by:
readAnimation in interface AnimationFileReader
Throws:
Exception

readAnimation

public static Animation readAnimation(org.apache.commons.configuration.HierarchicalConfiguration config)

readChannels

public static List<Channel> readChannels(org.apache.commons.configuration.HierarchicalConfiguration config)

readChannel

public static Channel readChannel(org.apache.commons.configuration.HierarchicalConfiguration config)

readMotionPaths

public static List<MotionPath> readMotionPaths(org.apache.commons.configuration.HierarchicalConfiguration config)

readMotionPath

public static MotionPath readMotionPath(org.apache.commons.configuration.HierarchicalConfiguration config)

readInterpolatorVersion

public static InterpolatorFactory readInterpolatorVersion(org.apache.commons.configuration.HierarchicalConfiguration config)

readControlPoints

public static List<Point2D> readControlPoints(org.apache.commons.configuration.HierarchicalConfiguration config)

readControlPoint

public static Point2D readControlPoint(org.apache.commons.configuration.HierarchicalConfiguration config)

readAddOns

public static List<ServiceAddOn<Playable>> readAddOns(org.apache.commons.configuration.HierarchicalConfiguration config)

getAddOnDrivers

public static List<ServiceAddOnDriver<Playable>> getAddOnDrivers(org.osgi.framework.BundleContext context,
                                                                 org.osgi.framework.ServiceReference[] refs)

readAddOn

public static ServiceAddOn<Playable> readAddOn(org.apache.commons.configuration.HierarchicalConfiguration config,
                                               List<ServiceAddOnDriver<Playable>> drivers)


Copyright © 2011-2013. All Rights Reserved.