org.eml.MMAX2.discourse
Class DiscourseElementFileLoader

java.lang.Object
  extended by org.eml.MMAX2.discourse.DiscourseElementFileLoader

public class DiscourseElementFileLoader
extends java.lang.Object

Helper class for loading discourse element XML files and converting them to DiscourseElement objects.


Constructor Summary
DiscourseElementFileLoader()
          Creates new DiscourseElementFileLoader
 
Method Summary
 org.apache.xerces.dom.DocumentImpl getDOM()
          Get the entire DOM representation of the currently loaded discourse elements file.
 void load(java.lang.String fileName)
          Load and parse discourse element file of name fileName.
static void main(java.lang.String[] args)
          Main class for testing purposes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscourseElementFileLoader

public DiscourseElementFileLoader()
Creates new DiscourseElementFileLoader

Method Detail

main

public static void main(java.lang.String[] args)
Main class for testing purposes. Usage: DiscourseElementFileLoader [words.xml|gestures.xml|keyactions.xml]


load

public final void load(java.lang.String fileName)
Load and parse discourse element file of name fileName.


getDOM

public final org.apache.xerces.dom.DocumentImpl getDOM()
Get the entire DOM representation of the currently loaded discourse elements file.