public abstract class DwcaExportBase extends CdmExportBase<DwcaTaxExportConfigurator,DwcaTaxExportState,IExportTransformer,java.io.File> implements ICdmExport<DwcaTaxExportConfigurator,DwcaTaxExportState>
Modifier and Type | Field and Description |
---|---|
protected DwcaTaxExportFile |
file |
protected static boolean |
IS_CORE |
exportStream
INCLUDE_UNPUBLISHED, ioName, NO_UNPUBLISHED
applicationContext
FEATURE_STORE, NOMREF_STORE, REFERENCE_STORE, SPECIMEN_STORE, TAXON_STORE, TAXONNAME_STORE, TEAM_STORE
Constructor and Description |
---|
DwcaExportBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
closeWriter(DwcaTaxExportState state)
Closes the writer
|
protected void |
closeWriter(javax.xml.stream.XMLStreamWriter writer,
DwcaTaxExportState state)
Closes the writer.
|
protected java.io.FileOutputStream |
createFileOutputStream(DwcaTaxExportConfigurator config,
java.lang.String thisFileName) |
protected java.io.PrintWriter |
createPrintWriter(DwcaTaxExportState state,
DwcaTaxExportFile file) |
protected javax.xml.stream.XMLStreamWriter |
createXmlStreamWriter(DwcaTaxExportState state,
DwcaTaxExportFile table) |
protected void |
flushWriter(DwcaTaxExportState state,
DwcaTaxExportFile file)
flushes the writer for the according file if exists.
|
createExportData, getByteArray, getDbId, getDefaultResult, getExtension, getNoDataResult, isUnpublished, isUnpublished
addObserver, addObservers, check, commitTransaction, countObservers, countSteps, doCheck, doInvoke, fire, fireProgressEvent, fireWarningEvent, fireWarningEvent, getInstance, getObservers, getSuccessString, invoke, isBlank, isIgnore, isNotBlank, removeObserver, removeObservers, rollbackTransaction, startTransaction, startTransaction, updateProgress, updateProgress, warnProgress
authenticate, clearSession, getAgentService, getAmplificationService, getAnnotationService, getAuthenticationManager, getBean, getClassificationService, getCollectionService, getCommonService, getDatabaseService, getDescriptionService, getDescriptiveDataSetService, getEntityConstraintViolationService, getEntityValidationService, getEventBaseService, getFeatureNodeService, getFeatureTreeService, getGrantedAuthorityService, getGroupService, getIdentificationKeyService, getLocationService, getLongRunningTasksService, getMediaService, getMetadataService, getNameService, getOccurrenceService, getPermissionEvaluator, getPolytomousKeyNodeService, getPolytomousKeyService, getPreferenceService, getPrimerService, getProgressMonitorService, getReferenceService, getRegistrationService, getRightsService, getSequenceService, getSession, getSessionFactory, getTaxonNodeService, getTaxonService, getTermNodeService, getTermService, getTermTreeService, getTransactionManager, getUserService, getVocabularyService, NewConversation, setApplicationContext, setDataSource, setSessionFactory, setTransactionManager
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createExportData, getByteArray, invoke
check, countSteps, fire, updateProgress, updateProgress, warnProgress
addObserver, addObservers, countObservers, getObservers, removeObserver, removeObservers
protected static final boolean IS_CORE
protected DwcaTaxExportFile file
protected java.io.FileOutputStream createFileOutputStream(DwcaTaxExportConfigurator config, java.lang.String thisFileName) throws java.io.IOException, java.io.FileNotFoundException
config
- java.io.IOException
java.io.FileNotFoundException
protected javax.xml.stream.XMLStreamWriter createXmlStreamWriter(DwcaTaxExportState state, DwcaTaxExportFile table) throws java.io.IOException, java.io.FileNotFoundException, javax.xml.stream.XMLStreamException
state
- table
- java.io.IOException
java.io.FileNotFoundException
javax.xml.stream.XMLStreamException
protected java.io.PrintWriter createPrintWriter(DwcaTaxExportState state, DwcaTaxExportFile file) throws java.io.IOException, java.io.FileNotFoundException, java.io.UnsupportedEncodingException
state
- file
- java.io.IOException
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
protected void flushWriter(DwcaTaxExportState state, DwcaTaxExportFile file)
protected void closeWriter(DwcaTaxExportState state)
file
- state
- protected void closeWriter(javax.xml.stream.XMLStreamWriter writer, DwcaTaxExportState state)
writer
- state
- Copyright © 2007-2020 EDIT. All Rights Reserved.