org.activemath.events.impl
Class EventFactoryProperties

java.lang.Object
  extended by org.activemath.events.impl.EventFactoryProperties

public class EventFactoryProperties
extends Object

Factory to create @link ActivemathEvents from Properties/Maps.


Constructor Summary
EventFactoryProperties()
           
 
Method Summary
static ActivemathEvent createEvent(Map props)
          Create a new event object from a properties description.
static Map string2Map(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventFactoryProperties

public EventFactoryProperties()
Method Detail

createEvent

public static ActivemathEvent createEvent(Map props)
Create a new event object from a properties description.

Parameters:
props - Properties describing the event
Returns:
a newly created event object, or null if a required attribute is missing.

string2Map

public static Map string2Map(String s)