| Modifier and Type | Method and Description |
|---|---|
void |
DTSCore.transformDataWithTransformationProgram(DataSource source,
String transformationProgramID,
Parameter[] programUnboundParameters,
ContentType targetContentType)
This method transforms the input data which are fetched by the
DataSources to the target ContentType and stores the transformed DataElements to the DataSink. |
void |
DTSCore.transformDataWithTransformationUnit(String transformationProgramID,
String transformationUnitID,
Parameter[] programUnboundParameters,
ContentType targetContentType,
boolean filterSources)
This method transforms the input data which are fetched by the
DataSources to the target ContentType and stores the transformed DataElements to the DataSink. |
| Modifier and Type | Method and Description |
|---|---|
static void |
ProgramExecutor.transformDataWithProgram(ArrayList<DataSource> sources,
Transformer transformer,
List<Parameter> programParameters,
ContentType targetContentType,
DataSink sink)
Loads and executes the
Program contained in the Transformer. |
| Modifier and Type | Method and Description |
|---|---|
void |
DistributableDataSource.initializeDistributableDataSource(String input,
Parameter[] inputParameters)
Initializes the DistributableDataSource.
|
| Modifier and Type | Method and Description |
|---|---|
Parameter[] |
Input.getInputparameters()
Gets the inputparameters value for this Input.
|
Parameter |
Input.getInputparameters(int i)
Gets the i'th
Parameter from inputparameters |
Parameter[] |
Output.getOutputparameters()
Gets the outputparameters value for this Output.
|
Parameter |
Output.getOutputparameters(int i) |
| Modifier and Type | Method and Description |
|---|---|
void |
Input.setInputparameters(int i,
Parameter _value)
Sets the i'th
Parameter to inputparameters |
void |
Input.setInputparameters(Parameter[] inputparameters)
Sets the inputparameters value for this Input.
|
void |
Output.setOutputparameters(int i,
Parameter _value) |
void |
Output.setOutputparameters(Parameter[] outputparameters)
Sets the outputparameters value for this Output.
|
| Constructor and Description |
|---|
Input(String inputType,
String inputValue,
Parameter[] inputparameters) |
Output(String outputType,
String outputValue,
Parameter[] outputparameters) |
| Modifier and Type | Method and Description |
|---|---|
List<Parameter> |
ContentType.getContentTypeParameters()
Returns the content type parameters.
|
ArrayList<Parameter> |
Transformer.getGlobalProgramParams()
Returns the global program parameters.
|
ArrayList<Parameter> |
TransformationUnit.getProgramParameters()
Returns the program parameters.
|
List<Parameter> |
ExtTransformationUnit.getUnboundContentTypeParameters()
Returns the unbound content type parameters.
|
List<Parameter> |
TransformationUnit.mergeProgramParameters()
Merges the global and the program parameters contained in a
TransformationUnit into one List. |
static List<Parameter> |
ContentType.supportAndFillUnbound(List<Parameter> supported,
List<Parameter> ifsupported)
This method fills the unbound parameters of the supported content type parameters if they are supported.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ContentType.addContentTypeParameters(Parameter... contentTypeParameters)
Sets the content type parameters.
|
static boolean |
Parameter.parameterExist(Parameter paramtofind,
List<Parameter> inparameters)
Checks if the paramtofind exists in inparameters array.
|
static boolean |
Parameter.parameterNameExist(String parameterName,
Parameter[] parametersToSearch)
Checks if the parameter name exists in parametersToSearch array.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Parameter.equals(List<Parameter> params1,
List<Parameter> params2)
Checks if two arrays of parameters are equal.
|
static boolean |
Parameter.equals(List<Parameter> params1,
List<Parameter> params2)
Checks if two arrays of parameters are equal.
|
static boolean |
ContentType.gensupport(List<Parameter> supported,
List<Parameter> ifsupported)
This method implements the generic support consistency level only for the parameters.
|
static boolean |
ContentType.gensupport(List<Parameter> supported,
List<Parameter> ifsupported)
This method implements the generic support consistency level only for the parameters.
|
static int |
Parameter.hashCode(List<Parameter> parameters)
Returns the hash code of an array of parameters.
|
static boolean |
Parameter.parameterExist(Parameter paramtofind,
List<Parameter> inparameters)
Checks if the paramtofind exists in inparameters array.
|
void |
ContentType.setContentTypeParameters(List<Parameter> contentTypeParameters)
Sets the content type parameters.
|
void |
Transformer.setGlobalProgramParams(ArrayList<Parameter> programParams)
Sets the global program parameters.
|
void |
TransformationUnit.setProgramParameters(ArrayList<Parameter> programParameters)
Sets the program parameters.
|
void |
ExtTransformationUnit.setUnboundContentTypeParameters(List<Parameter> unboundparams)
Sets the unbound content type parameters.
|
static boolean |
ContentType.support(List<Parameter> supported,
List<Parameter> ifsupported)
This method implements the support consistency level only for the parameters.
|
static boolean |
ContentType.support(List<Parameter> supported,
List<Parameter> ifsupported)
This method implements the support consistency level only for the parameters.
|
static List<Parameter> |
ContentType.supportAndFillUnbound(List<Parameter> supported,
List<Parameter> ifsupported)
This method fills the unbound parameters of the supported content type parameters if they are supported.
|
static List<Parameter> |
ContentType.supportAndFillUnbound(List<Parameter> supported,
List<Parameter> ifsupported)
This method fills the unbound parameters of the supported content type parameters if they are supported.
|
| Constructor and Description |
|---|
ContentType(String mimeType,
List<Parameter> contentTypeParameters)
Instantiates a ContentType by setting the mimetype and the content type parameters.
|
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<TEdge,List<Parameter>> |
Path.sunbound |
| Modifier and Type | Method and Description |
|---|---|
protected List<Parameter> |
Path.getSUnbound(Object key) |
protected List<Parameter> |
Path.getTUnbound(Object key) |
protected List<Parameter> |
TNodeWithUnbound.getUnbound() |
protected List<Parameter> |
Path.putSUnbound(TEdge key,
List<Parameter> value) |
protected List<Parameter> |
Path.putTUnbound(TEdge key,
List<Parameter> value) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Parameter> |
Path.putSUnbound(TEdge key,
List<Parameter> value) |
protected List<Parameter> |
Path.putTUnbound(TEdge key,
List<Parameter> value) |
protected void |
TNodeWithUnbound.setUnbound(List<Parameter> unbound) |
| Constructor and Description |
|---|
TNode(String mimeType,
List<Parameter> contentTypeParameters)
Creates a new TNode.
|
TNodeWithUnbound(TNode node,
List<Parameter> unbound) |
| Modifier and Type | Method and Description |
|---|---|
void |
Program.transform(List<DataSource> sources,
List<Parameter> programParameters,
ContentType targetContentType,
DataSink sink)
The method invoked by
ProgramExecutor in order for the Program to transform the sources to the targetContentType. |
void |
Elm2ElmProgram.transform(List<DataSource> sources,
List<Parameter> programParameters,
ContentType targetContentType,
DataSink sink) |
DataElement |
Stream2StreamProgram.transformDataElement(DataElement sourceDataElement,
List<Parameter> programParameters,
ContentType targetContentType) |
DataElement |
File2FileProgram.transformDataElement(DataElement sourceDataElement,
List<Parameter> programParameters,
ContentType targetContentType) |
abstract DataElement |
Elm2ElmProgram.transformDataElement(DataElement sourceDataElement,
List<Parameter> programParameters,
ContentType targetContentType)
Transforms the sourceDataElement to the targetContentType and returns the transformed DataElement.
|
abstract File |
File2FileProgram.transformFile(File sourceFile,
List<Parameter> programParameters,
ContentType targetContentType,
String targetContentPath)
Transforms the content of the sourceFile file to the targetContentType and returns the transformed content in a file.
|
abstract String |
P2PProgram.transformObjectFromItsPath(String sourceContentPath,
List<Parameter> progparameters,
ContentType targetContentType,
String targetContentPath)
Transforms the content of a file whose location is contentpath to the targetContentType and returns the transformed content in a file.
|
InputStream |
P2PProgram.transformStream(InputStream content,
ContentType sourceFormat,
List<Parameter> progparameters,
ContentType targetContentType) |
abstract InputStream |
Stream2StreamProgram.transformStream(InputStream content,
ContentType sourceContentType,
List<Parameter> programParameters,
ContentType targetContentType)
Transforms the content to the targetContentType and returns the transformed content as a stream.
|
Copyright © 2014. All Rights Reserved.