C - public abstract class ExporterImpl<C extends ExportItemConfig<?>> extends java.lang.Object implements Exporter
| Constructor and Description | 
|---|
| ExporterImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Collection<EnclosedObjectConfig> | addEnclosed(ExportSupervisor exportSupervisor,
           java.util.Collection<ExportItemConfig<?>> configItems) | 
| java.util.Collection<EnclosedObjectConfig> | addEnclosed(ExportSupervisor exportSupervisor,
           EnclosedObjectConfig enclosedCon) | 
| java.util.Collection<ExportItemConfig<?>> | addReferences(ExportSupervisor exportSupervisor,
             java.util.Collection<ExportItemConfig<?>> configItems) | 
| java.util.Collection<ExportItemConfig<?>> | addReferences(ExportSupervisor exportSupervisor,
             EnclosedObjectConfig enclosedCon) | 
| void | configure(java.util.Collection<ExporterSpecificExportConfig> specificConfigs,
         java.util.Collection<ExportItemConfig<?>> configItems)Configures the exporter and tells it what items it should export. | 
| boolean | consumes(ExportItemConfig<?> config)Tells the exportservice whether this exporter can handle the given config
 item. | 
| boolean | consumesEnclosedObject(EnclosedObjectConfig config)Tells the exportservice if this exporter can export the given object. | 
| void | export(ExportSupervisor exportSupervisor)Starts the export of the given configuration. | 
| void | exportEnclosed(ExportSupervisor supervisor,
              EnclosedObjectConfig config)Exports an enclosed entity. | 
| ExportItemConfig<?> | getConfigFor(java.lang.Object value) | 
| java.lang.String | getDisplayNameFor(ExportedItem exportedItem)Generates a name for the ExportedItem to display to the user | 
| boolean | hasConfigFor(java.lang.Object value) | 
| void | setReflectionServices(ReflectionService reflectionServices) | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconsumes, generateExportConfig, getExporterIdpublic void setReflectionServices(ReflectionService reflectionServices)
public boolean consumes(ExportItemConfig<?> config)
Exporterpublic final void configure(java.util.Collection<ExporterSpecificExportConfig> specificConfigs, java.util.Collection<ExportItemConfig<?>> configItems)
ExporterExporter should throw Exception in case the configuration is invalid.
public final void export(ExportSupervisor exportSupervisor) throws javax.xml.stream.XMLStreamException
Exporterpublic boolean consumesEnclosedObject(EnclosedObjectConfig config)
ExporterThis case occurs if an enclosed entity is encountered and the exporter asks the supervisor for help
consumesEnclosedObject in interface Exporterpublic void exportEnclosed(ExportSupervisor supervisor, EnclosedObjectConfig config)
ExporterexportEnclosed in interface Exporterpublic final java.util.Collection<ExportItemConfig<?>> addReferences(ExportSupervisor exportSupervisor, java.util.Collection<ExportItemConfig<?>> configItems)
addReferences in interface Exporterpublic final java.util.Collection<EnclosedObjectConfig> addEnclosed(ExportSupervisor exportSupervisor, java.util.Collection<ExportItemConfig<?>> configItems)
addEnclosed in interface Exporterpublic java.util.Collection<ExportItemConfig<?>> addReferences(ExportSupervisor exportSupervisor, EnclosedObjectConfig enclosedCon)
addReferences in interface Exporterpublic java.util.Collection<EnclosedObjectConfig> addEnclosed(ExportSupervisor exportSupervisor, EnclosedObjectConfig enclosedCon)
addEnclosed in interface Exporterpublic boolean hasConfigFor(java.lang.Object value)
hasConfigFor in interface Exporterpublic ExportItemConfig<?> getConfigFor(java.lang.Object value)
getConfigFor in interface Exporterpublic java.lang.String getDisplayNameFor(ExportedItem exportedItem)
ExportergetDisplayNameFor in interface Exporter