public abstract class IDFValidateHandler extends AbstractHandler implements ValidateHandler<IDF>
IDF to some external output resource.listeners| Constructor and Description |
|---|
IDFValidateHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canValidate(Object data)
Determine whether this handler can validate the supplied data.
|
protected abstract boolean |
canValidateData(IDF idf)
Performs specific checks on the IDF to determine if this handler can validate it.
|
void |
validate(IDF data)
Invoke this validate handler.
|
protected abstract void |
validateData(IDF data)
Performs the unit of work to validate the data.
|
accept, addListener, fireHandlingFailedEvent, fireHandlingStartedEvent, fireHandlingSucceededEvent, getListeners, getLog, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, addListener, getListeners, removeListenerpublic boolean canValidate(Object data)
ValidateHandlercanValidate in interface ValidateHandler<IDF>data - the data that will be validatedpublic void validate(IDF data) throws ValidateException
validateData(uk.ac.ebi.arrayexpress2.magetab.datamodel.IDF). This method itself
governs the update of progress tracking and status information.validate in interface ValidateHandler<IDF>data - the data object to be validatedValidateException - if the handler failed to validate data from it's sourceprotected abstract boolean canValidateData(IDF idf)
canValidate(Object) in that it is typed to the IDF and not any object - canValidate(Object) handles
type checking at the abstract level.idf - the IDF to checkprotected abstract void validateData(IDF data) throws ValidateException
ValidateException - if there was an error validating the dataCopyright © 2014. All rights reserved.