|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Exporter
interface to implement export functionality. An Exporter
, as well as
an Importer
should be able to handle transformation of several
entities with all relations and handling of different key sequences.
Method Summary | ||
---|---|---|
|
performExport(E object,
Writer out)
exports a single entity with all relations |
|
void |
performExport(List<?> lst,
String id,
Writer out)
exports a list of entities |
|
void |
performExport(Map<?,?> map,
String id,
Writer out)
exports a map of entities |
|
void |
setEntityDescriptorAccessor(EntityDescriptorAccessor eda)
injection method: sets the description accessor to access EntityDescription s |
Method Detail |
---|
<E extends Entity> void performExport(E object, Writer out) throws Exception
E
- - class of entityobject
- - instance to exportout
- - channel to write export data to
Exception
- - depends on implementationvoid performExport(List<?> lst, String id, Writer out) throws Exception
lst
- - the list of entities to exportid
- - used to name the listout
- - channel to write export data to
Exception
- - depends on implementationvoid performExport(Map<?,?> map, String id, Writer out) throws Exception
map
- - the map of entities to exportid
- - used to name the mapout
- - channel to write export data to
Exception
- - depends on implementationvoid setEntityDescriptorAccessor(EntityDescriptorAccessor eda)
EntityDescription
s
eda
- - the accessor to use
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |