public class SRUDataSource extends Object implements org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource, org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSource
DataSource fetches records through HTTP protocol with XML
structure.| Constructor and Description |
|---|
SRUDataSource(String input,
org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
boolean |
isClosed() |
static void |
main(String[] args) |
org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement |
next() |
org.gcube.datatransformation.datatransformationlibrary.model.ContentType |
nextContentType() |
public SRUDataSource(String input, org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters) throws XMLStreamException, IOException
XMLStreamExceptionIOExceptionpublic void close()
close in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandlerpublic boolean isClosed()
isClosed in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandlerpublic org.gcube.datatransformation.datatransformationlibrary.model.ContentType nextContentType()
nextContentType in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSourcepublic boolean hasNext()
hasNext in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSourcehasNext in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSourcepublic org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement next()
throws Exception
next in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSourceExceptionCopyright © 2014. All Rights Reserved.