public class MAGETABConverter<O> extends AbstractConverter<MAGETABInvestigation,O>
ConversionHandlers available. Only handlers that
can convert an entire MAGETABInvestigation object will be used. For more fine-grained conversion, see IDFConverter
or SDRFConverter implementations.| Constructor and Description |
|---|
MAGETABConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorItemListener(ErrorItemListener listener)
Register an
ErrorItemListener with this parser. |
void |
convert(MAGETABInvestigation investigation,
O outputResource)
Converts source objects into target objects.
|
void |
convert(MAGETABInvestigation investigation,
O outputResource,
ExecutorService service)
Perform validation of the supplied validator source, delegating all work to the supplied Executor Service to
enable validation in parallel.
|
addProgressListener, fireConversionCompletedEvent, fireConversionEvent, fireConversionFailedEvent, fireConversionStartedEvent, fireErrorItemEvent, getErrorItemListeners, getProgressListeners, removeErrorItemListener, removeProgressListenerpublic void convert(MAGETABInvestigation investigation, O outputResource) throws ConversionException
Converterinvestigation - the source objects to convertoutputResource - the resulting target objectsConversionException - if the sourcepublic void convert(MAGETABInvestigation investigation, O outputResource, ExecutorService service) throws ConversionException, InterruptedException
Converterinvestigation - the datamodel objects to convert fromoutputResource - the type of object data is being converted intoservice - the service to use to execute conversion tasksConversionException - if the supplied source could not be convertedInterruptedException - if execution of a task sent to the Executor Service was interrruptedpublic void addErrorItemListener(ErrorItemListener listener)
ConverterErrorItemListener with this parser. Whenever an
error is encountered when parsing from the a parserSource, this listener should be notified.addErrorItemListener in interface Converter<MAGETABInvestigation,O>addErrorItemListener in class AbstractConverter<MAGETABInvestigation,O>listener - the listener to registerCopyright © 2014. All rights reserved.