org.mechio.impl.animation.xml
Class AnimationXMLReader

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

public class AnimationXMLReader
extends java.lang.Object
implements AnimationFileReader

Author:
Matthew Stevenson

Constructor Summary
AnimationXMLReader()
           
 
Method Summary
static java.util.List<org.jflux.api.common.rk.services.addon.ServiceAddOnDriver<org.jflux.api.common.rk.playable.Playable>> getAddOnDrivers(org.osgi.framework.BundleContext context, org.osgi.framework.ServiceReference[] refs)
           
static org.jflux.api.common.rk.services.addon.ServiceAddOn<org.jflux.api.common.rk.playable.Playable> readAddOn(org.apache.commons.configuration.HierarchicalConfiguration config, java.util.List<org.jflux.api.common.rk.services.addon.ServiceAddOnDriver<org.jflux.api.common.rk.playable.Playable>> drivers)
           
static java.util.List<org.jflux.api.common.rk.services.addon.ServiceAddOn<org.jflux.api.common.rk.playable.Playable>> readAddOns(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static Animation readAnimation(org.apache.commons.configuration.HierarchicalConfiguration config)
           
 Animation readAnimation(java.lang.String path)
           
static Channel readChannel(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static java.util.List<Channel> readChannels(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static java.awt.geom.Point2D readControlPoint(org.apache.commons.configuration.HierarchicalConfiguration config)
           
static java.util.List<java.awt.geom.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 java.util.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(java.lang.String path)
                        throws java.lang.Exception
Specified by:
readAnimation in interface AnimationFileReader
Throws:
java.lang.Exception

readAnimation

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

readChannels

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

readChannel

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

readMotionPaths

public static java.util.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 java.util.List<java.awt.geom.Point2D> readControlPoints(org.apache.commons.configuration.HierarchicalConfiguration config)

readControlPoint

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

readAddOns

public static java.util.List<org.jflux.api.common.rk.services.addon.ServiceAddOn<org.jflux.api.common.rk.playable.Playable>> readAddOns(org.apache.commons.configuration.HierarchicalConfiguration config)

getAddOnDrivers

public static java.util.List<org.jflux.api.common.rk.services.addon.ServiceAddOnDriver<org.jflux.api.common.rk.playable.Playable>> getAddOnDrivers(org.osgi.framework.BundleContext context,
                                                                                                                                                   org.osgi.framework.ServiceReference[] refs)

readAddOn

public static org.jflux.api.common.rk.services.addon.ServiceAddOn<org.jflux.api.common.rk.playable.Playable> readAddOn(org.apache.commons.configuration.HierarchicalConfiguration config,
                                                                                                                       java.util.List<org.jflux.api.common.rk.services.addon.ServiceAddOnDriver<org.jflux.api.common.rk.playable.Playable>> drivers)


Copyright © 2011-2014. All Rights Reserved.