org.robokind.impl.animation.xml
Class XPP3AnimationXMLWriter
java.lang.Object
org.robokind.impl.animation.xml.XPP3AnimationXMLWriter
- All Implemented Interfaces:
- org.robokind.api.animation.xml.AnimationFileWriter
public class XPP3AnimationXMLWriter
- extends Object
- implements org.robokind.api.animation.xml.AnimationFileWriter
- Author:
- Matthew Stevenson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPP3AnimationXMLWriter
public XPP3AnimationXMLWriter()
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 void writeAnimation(org.xmlpull.v1.XmlSerializer xs,
org.robokind.api.animation.Animation a)
throws IOException
- Parameters:
xs
- a
-
- Throws:
IOException
writeChannel
public static void writeChannel(org.xmlpull.v1.XmlSerializer xs,
org.robokind.api.animation.Channel channel)
throws IOException
- Parameters:
xs
- channel
-
- Throws:
IOException
writeMotionPath
public static void writeMotionPath(org.xmlpull.v1.XmlSerializer xs,
org.robokind.api.animation.MotionPath mp)
throws IOException
- Parameters:
xs
- mp
-
- Throws:
IOException
writeControlPoints
public static void writeControlPoints(org.xmlpull.v1.XmlSerializer xs,
List<Point2D> points)
throws IOException
- Parameters:
xs
- points
-
- Throws:
IOException
writeControlPoint
public static void writeControlPoint(org.xmlpull.v1.XmlSerializer xs,
Point2D p)
throws IOException
- Parameters:
xs
- p
-
- Throws:
IOException
Copyright © 2011. All Rights Reserved.