T - the data model typepublic class SourceDataModelSource<T> extends Object implements DataModelSource
DataModelSource implementation via the Source interface.| Constructor and Description |
|---|
SourceDataModelSource(DataModelDefinition<T> definition,
Source<? extends T> source)
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 SourceDataModelSource(DataModelDefinition<T> definition, Source<? extends T> source)
definition - the data model definitionsource - the sourcepublic 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–2019 Asakusa Framework Team. All rights reserved.