public abstract class SDRFValidateHandler extends AbstractHandler implements ValidateHandler<SDRF>
IDF to some external output resource.listeners| Constructor and Description |
|---|
SDRFValidateHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canValidate(Object data)
Determine whether this handler can validate the supplied data.
|
protected abstract boolean |
canValidateData(SDRF sdrf)
Performs specific checks on the SDRF to determine if this handler can validate it.
|
void |
validate(SDRF data)
Invoke this validate handler.
|
protected abstract void |
validateData(SDRF 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<SDRF>data - the data that will be validatedpublic void validate(SDRF data) throws ValidateException
validateData(uk.ac.ebi.arrayexpress2.magetab.datamodel.SDRF). This method itself
governs the update of progress tracking and status information.validate in interface ValidateHandler<SDRF>data - the data object to be validatedValidateException - if the handler failed to validate data from it's sourceprotected abstract boolean canValidateData(SDRF sdrf)
canValidate(Object) in that it is typed to the SDRF and not any object - canValidate(Object) handles
type checking at the abstract level.sdrf - the SDRF to checkprotected abstract void validateData(SDRF data) throws ValidateException
ValidateException - if there was an error validating the dataCopyright © 2014. All rights reserved.