| 
Elexis API documentation as of September 4 2011 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDataSender
A generic mediator between Elexis Objects and XML-Files. Any number of Objects can be sent to the IDataSender, finishing with a call to finalizeExport. The ultimate destination depends on the implementation
| Method Summary | |
|---|---|
 boolean | 
canHandle(java.lang.Class<? extends PersistentObject> clazz)
Ask if this IDataSender can handle a certain type  | 
 void | 
finalizeExport()
Send the stored objects to this IDataSender's ultimate destinaion (e.g. file, URL).  | 
 XChangeElement | 
store(java.lang.Object output)
Prepare an object for export  | 
| Method Detail | 
|---|
XChangeElement store(java.lang.Object output)
                     throws XChangeException
output - an object this IDataSender can handle
XChangeException - if an error occurred
void finalizeExport()
                    throws XChangeException
XChangeExceptionboolean canHandle(java.lang.Class<? extends PersistentObject> clazz)
clazz - the class in question
  | 
Elexis API documentation as of September 4 2011 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||