public class RSXMLDataSink extends Object implements org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink
This DataSink stores DataElements to a result set with xml elements.
| Constructor and Description |
|---|
RSXMLDataSink(String output,
org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] outputParameters)
This constructor is used when DTS is instantiating a new AlternativeRepresentationDataSink.
|
public RSXMLDataSink(String output, org.gcube.datatransformation.datatransformationlibrary.model.Parameter[] outputParameters) throws Exception
output - The output value of the DataSink.outputParameters - The output parameters of the DataSink.Exception - If the result set could not be created.public void append(org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement dataElement)
append in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSinkdataElement - DataElement to be appended to this DataSinkDataSink.append(org.gcube.datatransformation.datatransformationlibrary.dataelements.DataElement)public void close()
close in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandlerDataHandler.close()public String getOutput()
getOutput in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSinkDataSink.getOutput()public boolean isClosed()
isClosed in interface org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataHandlerDataHandler.isClosed()Copyright © 2014. All Rights Reserved.