org.robokind.api.animation.xml
Class AnimationXML

java.lang.Object
  extended by org.robokind.api.animation.xml.AnimationXML

public class AnimationXML
extends Object

Author:
Matthew Stevenson

Field Summary
static String ADDON
           
static String ADDON_FILE
           
static String ADDONS
           
static String ANIMATION
           
static String ANIMATION_VERSION_TYPE
           
static String CHANNEL
           
static String CHANNEL_ID
           
static String CHANNEL_ID_PARAM
           
static String CHANNEL_NAME
           
static String CHANNEL_NAME_PARAM
           
static String CHANNELS
           
static String CHANNELS_PARAMETER
           
static String CHANNELS_PARAMETERS
           
static String CONTROL_POINT
           
static String CONTROL_POINTS
           
static String DEFAULT_POSITION
           
static String GENERIC_PARAMETER
           
static String GENERIC_PARAMETERS
           
static String INTERPOLATION_VERSION_TYPE
           
static String MOTION_PATH
           
static String MOTION_PATH_NAME
           
static String MOTION_PATHS
           
static String NAMESPACE
           
static String NORMALIZABLE_RANGE
           
static String PARAM_NAME
           
static String PARAM_VALUE
           
static String POSITION
           
static String RANGE_MAX
           
static String RANGE_MIN
           
static String SYNC_POINT
           
static String SYNC_POINT_CHANNEL_ID
           
static String SYNC_POINT_CONTROL_POINT_ID
           
static String SYNC_POINT_GROUP
           
static String SYNC_POINT_GROUPS
           
static String SYNC_POINT_MOTION_PATH_ID
           
static String TIME
           
 
Constructor Summary
AnimationXML()
           
 
Method Summary
static AnimationFileReader getRegisteredReader()
           
static AnimationFileWriter getRegisteredWriter()
           
static Animation loadAnimation(String path)
           
static void saveAnimation(String file, Animation a, ChannelsParameterSource source, Set<SynchronizedPointGroup> syncPointGroups)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANIMATION

public static final String ANIMATION
See Also:
Constant Field Values

ANIMATION_VERSION_TYPE

public static final String ANIMATION_VERSION_TYPE
See Also:
Constant Field Values

CHANNELS

public static final String CHANNELS
See Also:
Constant Field Values

CHANNEL

public static final String CHANNEL
See Also:
Constant Field Values

CHANNEL_ID

public static final String CHANNEL_ID
See Also:
Constant Field Values

CHANNEL_NAME

public static final String CHANNEL_NAME
See Also:
Constant Field Values

CHANNELS_PARAMETERS

public static final String CHANNELS_PARAMETERS
See Also:
Constant Field Values

CHANNELS_PARAMETER

public static final String CHANNELS_PARAMETER
See Also:
Constant Field Values

DEFAULT_POSITION

public static final String DEFAULT_POSITION
See Also:
Constant Field Values

NORMALIZABLE_RANGE

public static final String NORMALIZABLE_RANGE
See Also:
Constant Field Values

CHANNEL_ID_PARAM

public static final String CHANNEL_ID_PARAM
See Also:
Constant Field Values

CHANNEL_NAME_PARAM

public static final String CHANNEL_NAME_PARAM
See Also:
Constant Field Values

RANGE_MIN

public static final String RANGE_MIN
See Also:
Constant Field Values

RANGE_MAX

public static final String RANGE_MAX
See Also:
Constant Field Values

GENERIC_PARAMETERS

public static final String GENERIC_PARAMETERS
See Also:
Constant Field Values

GENERIC_PARAMETER

public static final String GENERIC_PARAMETER
See Also:
Constant Field Values

PARAM_NAME

public static final String PARAM_NAME
See Also:
Constant Field Values

PARAM_VALUE

public static final String PARAM_VALUE
See Also:
Constant Field Values

MOTION_PATHS

public static final String MOTION_PATHS
See Also:
Constant Field Values

MOTION_PATH

public static final String MOTION_PATH
See Also:
Constant Field Values

MOTION_PATH_NAME

public static final String MOTION_PATH_NAME
See Also:
Constant Field Values

INTERPOLATION_VERSION_TYPE

public static final String INTERPOLATION_VERSION_TYPE
See Also:
Constant Field Values

CONTROL_POINTS

public static final String CONTROL_POINTS
See Also:
Constant Field Values

CONTROL_POINT

public static final String CONTROL_POINT
See Also:
Constant Field Values

TIME

public static final String TIME
See Also:
Constant Field Values

POSITION

public static final String POSITION
See Also:
Constant Field Values

ADDONS

public static final String ADDONS
See Also:
Constant Field Values

ADDON

public static final String ADDON
See Also:
Constant Field Values

ADDON_FILE

public static final String ADDON_FILE
See Also:
Constant Field Values

SYNC_POINT_GROUPS

public static final String SYNC_POINT_GROUPS
See Also:
Constant Field Values

SYNC_POINT_GROUP

public static final String SYNC_POINT_GROUP
See Also:
Constant Field Values

SYNC_POINT

public static final String SYNC_POINT
See Also:
Constant Field Values

SYNC_POINT_CHANNEL_ID

public static final String SYNC_POINT_CHANNEL_ID
See Also:
Constant Field Values

SYNC_POINT_MOTION_PATH_ID

public static final String SYNC_POINT_MOTION_PATH_ID
See Also:
Constant Field Values

SYNC_POINT_CONTROL_POINT_ID

public static final String SYNC_POINT_CONTROL_POINT_ID
See Also:
Constant Field Values

NAMESPACE

public static final String NAMESPACE
Constructor Detail

AnimationXML

public AnimationXML()
Method Detail

loadAnimation

public static Animation loadAnimation(String path)
                               throws org.osgi.framework.ServiceException,
                                      Throwable
Throws:
org.osgi.framework.ServiceException
Throwable

saveAnimation

public static void saveAnimation(String file,
                                 Animation a,
                                 ChannelsParameterSource source,
                                 Set<SynchronizedPointGroup> syncPointGroups)
                          throws org.osgi.framework.ServiceException,
                                 Throwable
Throws:
org.osgi.framework.ServiceException
Throwable

getRegisteredReader

public static AnimationFileReader getRegisteredReader()

getRegisteredWriter

public static AnimationFileWriter getRegisteredWriter()


Copyright © 2011-2013. All Rights Reserved.