org.activemath.omdocjdom.rephrase
Class RephraseService

java.lang.Object
  extended by org.activemath.omdocjdom.rephrase.RephraseService
All Implemented Interfaces:
EventListener, ActivemathEventListener

public class RephraseService
extends Object
implements ActivemathEventListener


Constructor Summary
RephraseService(Subconfiguration config)
           
 
Method Summary
 void onActivemathEvent(ActivemathEvent event)
          Handle an Activemath event.
 OJElement rephrase(OJElement source)
           
 String rephrase(String sourceOM, List[] targetCDGroups)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RephraseService

public RephraseService(Subconfiguration config)
Method Detail

onActivemathEvent

public void onActivemathEvent(ActivemathEvent event)
Description copied from interface: ActivemathEventListener
Handle an Activemath event.

This method must return as quickly as possible and must not block the calling thread for long.

Specified by:
onActivemathEvent in interface ActivemathEventListener
Parameters:
event - the event to respond to

rephrase

public String rephrase(String sourceOM,
                       List[] targetCDGroups)

rephrase

public OJElement rephrase(OJElement source)