Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.exchange
Class BlockImporter

java.lang.Object
  extended by ch.elexis.exchange.XChangeImporter
      extended by ch.elexis.exchange.BlockImporter
All Implemented Interfaces:
IDataReceiver

public class BlockImporter
extends XChangeImporter


Constructor Summary
BlockImporter(java.io.InputStream is)
           
 
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
 
Methods inherited from class ch.elexis.exchange.XChangeImporter
addBinary, findImportHandler, getContainer, load
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockImporter

public BlockImporter(java.io.InputStream is)
Method Detail

finalizeImport

public Result<?> finalizeImport()
Description copied from interface: IDataReceiver
end of the input operation. can be used for cleanup. The IDataReceiver becomes invalid after finalize

Specified by:
finalizeImport in interface IDataReceiver
Overrides:
finalizeImport in class XChangeImporter
Returns:
ok on success.

load

public Result<java.lang.Object> load(Element input,
                                     java.lang.Object context)
Description copied from interface: IDataReceiver
load an Object from an XML stream

Specified by:
load in interface IDataReceiver
Overrides:
load in class XChangeImporter
Parameters:
input - the Element to load
context - the context to put the element
Returns:
the created object on success or an error message

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis