public class REFDataBridge extends Object implements DataBridge
DataBridge which keeps references to DataElements
when they are appended into it.| Constructor and Description |
|---|
REFDataBridge() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(DataElement object)
Appends the specified
DataElement to this DataSink |
void |
close()
Closes this DataHandler and releases any resources associated with it.
|
String |
getOutput()
Returns the output of the transformation.
|
boolean |
hasNext()
Returns true if the DataSource has more
DataElements. |
boolean |
isClosed()
Returns the closed state of the DataHandler.
|
DataElement |
next()
Returns the next element of the DataSource.
|
ContentType |
nextContentType()
Returns the next element's
ContentType |
public void append(DataElement object)
DataSinkDataElement to this DataSinkappend in interface DataSinkobject - DataElement to be appended to this DataSinkDataSink.append(org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement)public void close()
DataHandlerclose in interface DataHandlerDataHandler.close()public boolean hasNext()
DataSourceDataElements.hasNext in interface ContentTypeDataSourcehasNext in interface DataSourceDataSource.hasNext()public DataElement next()
DataSourcenext in interface DataSourceDataSource.next()public String getOutput()
DataSinkgetOutput in interface DataSinkDataSink.getOutput()public boolean isClosed()
DataHandlerisClosed in interface DataHandlerDataHandler.isClosed()public ContentType nextContentType()
ContentTypeDataSourceContentTypenextContentType in interface ContentTypeDataSourceContentTypeCopyright © 2014. All Rights Reserved.