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 null
public DataModelReflection next() throws IOException
DataModelSource
next
in interface DataModelSource
null
if no such objects existIOException
- if failed to obtain model objectspublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.