public class RSXMLDataSource extends Object implements org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource, org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSource
This DataSource fetches DataElements from a metadata collection.
| Constructor and Description |
|---|
RSXMLDataSource(String RSEPR,
org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
boolean |
isClosed() |
org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement |
next() |
org.gcube.datatransformation.datatransformationlibrary.model.ContentType |
nextContentType() |
public RSXMLDataSource(String RSEPR, org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] inputParameters) throws Exception
input - The input value of the DataSource.inputParameters - The input parameters of the DataSource. getElementsRS is the only parameter identified.Exception - If the MCollectionDataSource could not be initialized.public boolean hasNext()
hasNext in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSourcehasNext in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSourceDataSource.hasNext()public org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement next()
next in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSourceDataSource.next()public void close()
close in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandlerDataHandler.close()public boolean isClosed()
isClosed in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandlerDataHandler.isClosed()public org.gcube.datatransformation.datatransformationlibrary.model.ContentType nextContentType()
nextContentType in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.ContentTypeDataSourceCopyright © 2014. All Rights Reserved.