org.gcube.datatransformation.datatransformationlibrary.model
Class Source
java.lang.Object
org.gcube.datatransformation.datatransformationlibrary.model.TransformationRuleElement
org.gcube.datatransformation.datatransformationlibrary.model.Source
public class Source
- extends TransformationRuleElement
- Author:
- Dimitris Katris, NKUA
Source of a transformationUnit unit is the composition of the content type that the transformationUnit unit expects as well as the input data which will be transformed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Source
public Source()
setInputID
public void setInputID(String id)
- Sets the input data handler id.
- Parameters:
id - The input data handler id.
getInputID
public String getInputID()
- Returns the input data handler id.
- Returns:
- The input data handler id.
getInput
public DataSource getInput()
throws Exception
- Returns the input data handler.
- Returns:
- The input data handler.
- Throws:
Exception - If the does not exist.
fromDOM
protected void fromDOM(Element sourceElm)
toDOM
protected void toDOM(Element sourcesElm)
Copyright © 2013. All Rights Reserved.