org.robokind.impl.animation.xml
Class ApacheAnimationXMLWriter

java.lang.Object
  extended by 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

Constructor Summary
ApacheAnimationXMLWriter()
           
 
Method Summary
static org.apache.commons.configuration.tree.ConfigurationNode writeAddOn(org.robokind.api.common.services.addon.ServiceAddOn<org.robokind.api.common.playable.Playable> addon, String addonPath)
           
static org.apache.commons.configuration.tree.ConfigurationNode writeAddOnList(List<org.robokind.api.common.services.addon.ServiceAddOn<org.robokind.api.common.playable.Playable>> addons, String animPath)
           
static org.apache.commons.configuration.XMLConfiguration writeAnimation(org.robokind.api.animation.Animation anim, String path, org.robokind.api.animation.utils.ChannelsParameterSource source, Set<org.robokind.api.animation.editor.features.SynchronizedPointGroup> syncPointGroups)
           
 void writeAnimation(String path, org.robokind.api.animation.Animation anim, org.robokind.api.animation.utils.ChannelsParameterSource source, Set<org.robokind.api.animation.editor.features.SynchronizedPointGroup> syncPointGroups)
           
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 writeChannelsParameter(org.robokind.api.animation.utils.ChannelsParameter param)
           
static org.apache.commons.configuration.tree.ConfigurationNode writeChannelsParameters(org.robokind.api.animation.utils.ChannelsParameterSource paramsSource)
           
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 writeGenericParameter(String key, String value)
           
static org.apache.commons.configuration.tree.ConfigurationNode writeGenericParameters(Map<String,String> pairs)
           
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)
           
static org.apache.commons.configuration.tree.ConfigurationNode writeNormalizableRange(org.robokind.api.common.position.NormalizableRange range)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheAnimationXMLWriter

public ApacheAnimationXMLWriter()
Method Detail

writeAnimation

public void writeAnimation(String path,
                           org.robokind.api.animation.Animation anim,
                           org.robokind.api.animation.utils.ChannelsParameterSource source,
                           Set<org.robokind.api.animation.editor.features.SynchronizedPointGroup> syncPointGroups)
                    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,
                                                                               String path,
                                                                               org.robokind.api.animation.utils.ChannelsParameterSource source,
                                                                               Set<org.robokind.api.animation.editor.features.SynchronizedPointGroup> syncPointGroups)

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)

writeChannelsParameters

public static org.apache.commons.configuration.tree.ConfigurationNode writeChannelsParameters(org.robokind.api.animation.utils.ChannelsParameterSource paramsSource)

writeChannelsParameter

public static org.apache.commons.configuration.tree.ConfigurationNode writeChannelsParameter(org.robokind.api.animation.utils.ChannelsParameter param)

writeNormalizableRange

public static org.apache.commons.configuration.tree.ConfigurationNode writeNormalizableRange(org.robokind.api.common.position.NormalizableRange range)

writeGenericParameters

public static org.apache.commons.configuration.tree.ConfigurationNode writeGenericParameters(Map<String,String> pairs)

writeGenericParameter

public static org.apache.commons.configuration.tree.ConfigurationNode writeGenericParameter(String key,
                                                                                            String value)

writeAddOnList

public static org.apache.commons.configuration.tree.ConfigurationNode writeAddOnList(List<org.robokind.api.common.services.addon.ServiceAddOn<org.robokind.api.common.playable.Playable>> addons,
                                                                                     String animPath)

writeAddOn

public static org.apache.commons.configuration.tree.ConfigurationNode writeAddOn(org.robokind.api.common.services.addon.ServiceAddOn<org.robokind.api.common.playable.Playable> addon,
                                                                                 String addonPath)
                                                                          throws Exception
Throws:
Exception


Copyright © 2011-2013. All Rights Reserved.