ie.deri.wsmx.mediation
Interface Mediator

All Known Implementing Classes:
DummyMediator, FloraMediator

public interface Mediator

Defines the interface all the mediators have to implement


Method Summary
 java.lang.StringBuffer mediate(java.lang.String sourceOntologyID, java.lang.String targetOntologyID, java.lang.StringBuffer payload)
          Calls the mediator and returns back the mediated payload
 

Method Detail

mediate

public java.lang.StringBuffer mediate(java.lang.String sourceOntologyID,
                                      java.lang.String targetOntologyID,
                                      java.lang.StringBuffer payload)
Calls the mediator and returns back the mediated payload

Parameters:
sourceOntologyID - the source ontology ID
targetOntologyID - the target ontology ID
payload - the subject of the mediation (instances from the source ontology)
Returns:
the mediated payload (instances from the target ontology)