T - the target modelpublic class WindGateSource<T> extends Object implements DataModelSource
DataModelSource using SourceDriver.| Constructor and Description |
|---|
WindGateSource(SourceDriver<T> driver,
DataModelDefinition<T> definition)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
DataModelReflection |
next()
Returns the next model object (in a generic reflection form).
|
public WindGateSource(SourceDriver<T> driver, DataModelDefinition<T> definition)
driver - the drain driver, this must be prepareddefinition - target data model definitionIllegalArgumentException - if some parameters were nullpublic DataModelReflection next() throws IOException
DataModelSourcenext in interface DataModelSourcenull if no such objects existIOException - if failed to obtain model objectspublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.