Elexis API documentation as of September 4 2011

ch.elexis.exchange
Interface IDataReceiver

All Known Implementing Classes:
BlockImporter, XChangeImporter

public interface IDataReceiver

A generic mediator between XML-Sources and Elexis objects

Author:
Gerry

Method Summary
 Result finalizeImport()
          end of the input operation. can be used for cleanup.
  load(Element input, java.lang.Object context)
          load an Object from an XML stream
 

Method Detail

load

 load(Element input,
           java.lang.Object context)
load an Object from an XML stream

Parameters:
input - the Element to load
context - the context to put the element
Returns:
the created object on success or an error message

finalizeImport

Result finalizeImport()
end of the input operation. can be used for cleanup. The IDataReceiver becomes invalid after finalize

Returns:
ok on success.

Elexis API documentation as of September 4 2011

Copyright 2005-2010 by Gerry Weirich, Elexis