org.robokind.impl.animation.xml
Class ApacheAnimationXMLWriter
java.lang.Object
org.robokind.impl.animation.xml.ApacheAnimationXMLWriter
- All Implemented Interfaces:
- AnimationFileWriter
public class ApacheAnimationXMLWriter
- extends Object
- implements AnimationFileWriter
- Author:
- Matthew Stevenson
| 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,
Animation anim)
throws Exception
- Specified by:
writeAnimation in interface AnimationFileWriter
- Throws:
Exception
writeAnimation
public static org.apache.commons.configuration.XMLConfiguration writeAnimation(Animation anim,
String path)
writeChannels
public static org.apache.commons.configuration.tree.ConfigurationNode writeChannels(List<Channel> channels)
writeChannel
public static org.apache.commons.configuration.tree.ConfigurationNode writeChannel(Channel channel)
writeMotionPaths
public static org.apache.commons.configuration.tree.ConfigurationNode writeMotionPaths(List<MotionPath> paths)
writeMotionPath
public static org.apache.commons.configuration.tree.ConfigurationNode writeMotionPath(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)
writeAddOnList
public static org.apache.commons.configuration.tree.ConfigurationNode writeAddOnList(List<ServiceAddOn<Playable>> addons,
String animPath)
writeAddOn
public static org.apache.commons.configuration.tree.ConfigurationNode writeAddOn(ServiceAddOn<Playable> addon,
String addonPath)
throws Exception
- Throws:
Exception
Copyright © 2011-2012. All Rights Reserved.