Elexis API documentation
Version 2.1.6 as of December 11 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.
 Result<java.lang.Object> load(Element input, java.lang.Object context)
          load an Object from an XML stream
 

Method Detail

load

Result<java.lang.Object> 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
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis