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 ANIMATION
           
static String ANIMATION_VERSION_TYPE
           
static String CHANNEL
           
static String CHANNEL_ID
           
static String CHANNEL_NAME
           
static String CHANNELS
           
static String CONTROL_POINT
           
static String CONTROL_POINTS
           
static String INTERPOLATION_VERSION_TYPE
           
static String MOTION_PATH
           
static String MOTION_PATH_NAME
           
static String MOTION_PATHS
           
static String NAMESPACE
           
static String POSITION
           
static String TIME
           
 
Constructor Summary
AnimationXML()
           
 
Method Summary
static Animation loadAnimation(String path)
           
static void saveAnimation(String file, Animation a)
           
 
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

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

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)
                          throws org.osgi.framework.ServiceException,
                                 Throwable
Throws:
org.osgi.framework.ServiceException
Throwable


Copyright © 2011. All Rights Reserved.