public abstract class IDFConversionHandler<O> extends AbstractHandler implements ConversionHandler<IDF,O>
IDF to some external output resource.listeners| Constructor and Description | 
|---|
IDFConversionHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canConvert(Object data,
          Object outputResource)
Determine whether this handler can convert the supplied data. 
 | 
protected abstract boolean | 
canConvertData(IDF data)
Performs specific checks on the IDF to determine if this handler can convert it. 
 | 
void | 
convert(IDF data,
       O out)
Invoke this convert handler. 
 | 
protected abstract void | 
convertData(IDF data,
           O out)
Performs the unit of work to convert the data into the given output resource. 
 | 
accept, addListener, fireHandlingFailedEvent, fireHandlingStartedEvent, fireHandlingSucceededEvent, getListeners, getLog, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, addListener, getListeners, removeListenerpublic boolean canConvert(Object data, Object outputResource)
ConversionHandlercanConvert in interface ConversionHandler<IDF,O>data - the data that needs to be writtenoutputResource - the output resource the will be written topublic void convert(IDF data, O out) throws ConversionException
convertData(uk.ac.ebi.arrayexpress2.magetab.datamodel.IDF, Object). This method
 itself governs the update of progress tracking and status information.convert in interface ConversionHandler<IDF,O>data - the data model object that information should be written fromout - the resource that data can be converted toConversionException - if the handler failed to convert data from it's sourceprotected abstract boolean canConvertData(IDF data)
canConvert(Object, Object) in that it is typed to the IDF and not any object - canConvert(Object,
 Object) handles type checking at the abstract level.data - the IDF to checkprotected abstract void convertData(IDF data, O out) throws ConversionException
data - the data to convertout - the output resource to convert data toConversionException - if there was an error writing the dataCopyright © 2014. All rights reserved.