Package fr.improve.xdi

Interface Summary
BinaryHandler Interface to implement for handling binary data import/export
IntegrateErrorHandler Interface to implement for handling integration process error
IntegrateHandler Interface to implement for handling import event process
XMLDecoder Interface to implement for decoding XML element by type
XMLEncoder Interface to implement for encode objects in XML
 

Class Summary
Analyser SAX Handler implementation for reading XML to import Implementation of the import process
DefaultIntegrateErrorHandler Default implementation of IntegrateErrorHandler
DefaultIntegrateHandler Default implementation of IntegrateHandler
DefaultXMLDecoder Default implementation of XMLEncoder
DefaultXMLEncoder  
Integrator Import controller
IntegratorFactory Import / Export Factory
Before using XDI you must define the mapping tool EOF or Hibernate : IntegratorFactory.setMapping([IntegratorFactory.EOF|IntegratorFactory.HIBERNATE]); Implementation must be define for class : fr.improve.xdi.mapping.EnterpriseContext fr.improve.xdi.XMLEncoder Default implementation are define in : EOF : eof.properties (package fr.improve.xdi.mapping.eof) Hibernate : hibernate.properties (package fr.improve.xdi.mapping.hibernate) You can define your own implementations using : IntegratorFactory.setIntegratorProperties(); Mapping properties must be set for Hibernate : IntegratorFactory.setMappingProperties(); The Hibernate configuration file must contain followings elements : the package containing the enterprise layer of the mapping objects
<property name="package.enterprise">my.package.to.enterprise</property> the package containing the mapping layer of the mapping objects
<property name="package.mapping">my.package.to.mapping</property> Use HibernateSynchroniser Eclipse plugin for an easy Hibernate integration
For calling a new import controller : IntegratorFactory.getInstance().newIntegrator(); For calling a new export controller : IntegratorFactory.getInstance.newEncoder();
 

Exception Summary
DecodeException  
EncodeException  
IntegrateException  
 



Copyright © 2004-2005 Improve. All Rights Reserved.