org.robokind.impl.animation.xml
Class AnimationXMLReader
java.lang.Object
org.robokind.impl.animation.xml.AnimationXMLReader
- All Implemented Interfaces:
- org.robokind.api.animation.xml.AnimationFileReader
public class AnimationXMLReader
- extends Object
- implements org.robokind.api.animation.xml.AnimationFileReader
- Author:
- Matthew Stevenson
Method Summary |
static org.robokind.api.animation.Animation |
readAnimation(org.apache.commons.configuration.HierarchicalConfiguration config)
|
org.robokind.api.animation.Animation |
readAnimation(String path)
|
static org.robokind.api.animation.Channel |
readChannel(org.apache.commons.configuration.HierarchicalConfiguration config)
|
static List<org.robokind.api.animation.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 org.robokind.api.interpolation.InterpolatorFactory |
readInterpolatorVersion(org.apache.commons.configuration.HierarchicalConfiguration config)
|
static org.robokind.api.animation.MotionPath |
readMotionPath(org.apache.commons.configuration.HierarchicalConfiguration config)
|
static List<org.robokind.api.animation.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 |
AnimationXMLReader
public AnimationXMLReader()
readAnimation
public org.robokind.api.animation.Animation readAnimation(String path)
throws Exception
- Specified by:
readAnimation
in interface org.robokind.api.animation.xml.AnimationFileReader
- Throws:
Exception
readAnimation
public static org.robokind.api.animation.Animation readAnimation(org.apache.commons.configuration.HierarchicalConfiguration config)
readChannels
public static List<org.robokind.api.animation.Channel> readChannels(org.apache.commons.configuration.HierarchicalConfiguration config)
readChannel
public static org.robokind.api.animation.Channel readChannel(org.apache.commons.configuration.HierarchicalConfiguration config)
readMotionPaths
public static List<org.robokind.api.animation.MotionPath> readMotionPaths(org.apache.commons.configuration.HierarchicalConfiguration config)
readMotionPath
public static org.robokind.api.animation.MotionPath readMotionPath(org.apache.commons.configuration.HierarchicalConfiguration config)
readInterpolatorVersion
public static org.robokind.api.interpolation.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)
Copyright © 2011. All Rights Reserved.