org.robokind.impl.animation.xml
Class ApacheAnimationXMLWriter
java.lang.Object
org.robokind.impl.animation.xml.ApacheAnimationXMLWriter
- All Implemented Interfaces:
- org.robokind.api.animation.xml.AnimationFileWriter
public class ApacheAnimationXMLWriter
- extends Object
- implements org.robokind.api.animation.xml.AnimationFileWriter
- Author:
- Matthew Stevenson
Method Summary |
static org.apache.commons.configuration.XMLConfiguration |
writeAnimation(org.robokind.api.animation.Animation anim)
|
void |
writeAnimation(String path,
org.robokind.api.animation.Animation anim)
|
static org.apache.commons.configuration.tree.ConfigurationNode |
writeChannel(org.robokind.api.animation.Channel channel)
|
static org.apache.commons.configuration.tree.ConfigurationNode |
writeChannels(List<org.robokind.api.animation.Channel> channels)
|
static org.apache.commons.configuration.tree.ConfigurationNode |
writeControlPoint(Point2D p)
|
static org.apache.commons.configuration.tree.ConfigurationNode |
writeControlPoints(List<Point2D> points)
|
static org.apache.commons.configuration.tree.ConfigurationNode |
writeMotionPath(org.robokind.api.animation.MotionPath mp)
|
static org.apache.commons.configuration.tree.ConfigurationNode |
writeMotionPaths(List<org.robokind.api.animation.MotionPath> paths)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApacheAnimationXMLWriter
public ApacheAnimationXMLWriter()
writeAnimation
public void writeAnimation(String path,
org.robokind.api.animation.Animation anim)
throws Exception
- Specified by:
writeAnimation
in interface org.robokind.api.animation.xml.AnimationFileWriter
- Throws:
Exception
writeAnimation
public static org.apache.commons.configuration.XMLConfiguration writeAnimation(org.robokind.api.animation.Animation anim)
writeChannels
public static org.apache.commons.configuration.tree.ConfigurationNode writeChannels(List<org.robokind.api.animation.Channel> channels)
writeChannel
public static org.apache.commons.configuration.tree.ConfigurationNode writeChannel(org.robokind.api.animation.Channel channel)
writeMotionPaths
public static org.apache.commons.configuration.tree.ConfigurationNode writeMotionPaths(List<org.robokind.api.animation.MotionPath> paths)
writeMotionPath
public static org.apache.commons.configuration.tree.ConfigurationNode writeMotionPath(org.robokind.api.animation.MotionPath mp)
writeControlPoints
public static org.apache.commons.configuration.tree.ConfigurationNode writeControlPoints(List<Point2D> points)
writeControlPoint
public static org.apache.commons.configuration.tree.ConfigurationNode writeControlPoint(Point2D p)
Copyright © 2011. All Rights Reserved.