© 2006-2007 ETH Zurich

org.ximtec.igesture.geco.xml
Class XMLGeco

java.lang.Object
  extended by org.ximtec.igesture.geco.xml.XMLGeco

public class XMLGeco
extends Object

Provides methods with XML import/export functionality.

Version:
0.9, Dec 2006
Author:
Michele Croci, mcroci@gmail.com

Field Summary
static String CONFIG_ROOT_TAG
           
static String ROOT_TAG
           
 
Constructor Summary
XMLGeco()
           
 
Method Summary
static void exportGestureConfiguration(File file, List<String> devices, boolean[] arr, boolean min, String lastProjectPath)
          Imports a configuration.
static void exportProject(Collection<GestureToActionMapping> mappings, GestureSet gestureSet, String gestureSetFileName, File file)
          Exports a gesture set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_TAG

public static final String ROOT_TAG
See Also:
Constant Field Values

CONFIG_ROOT_TAG

public static final String CONFIG_ROOT_TAG
See Also:
Constant Field Values
Constructor Detail

XMLGeco

public XMLGeco()
Method Detail

exportProject

public static void exportProject(Collection<GestureToActionMapping> mappings,
                                 GestureSet gestureSet,
                                 String gestureSetFileName,
                                 File file)
Exports a gesture set.

Parameters:
set - the gesture set to be exported.
file - the XML file.

exportGestureConfiguration

public static void exportGestureConfiguration(File file,
                                              List<String> devices,
                                              boolean[] arr,
                                              boolean min,
                                              String lastProjectPath)
Imports a configuration.

Parameters:
file - the XML file

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.