ioSpecification.addOutput(dataOutput);
}
for (Element inputSetElement : ioSpecificationElement.elements("inputSet")) {
for (Element dataInputRef : inputSetElement.elements("dataInputRefs")) {
DataRef dataRef = new DataRef(dataInputRef.getText());
ioSpecification.addInputRef(dataRef);
}
}
for (Element outputSetElement : ioSpecificationElement.elements("outputSet")) {
for (Element dataInputRef : outputSetElement.elements("dataOutputRefs")) {
DataRef dataRef = new DataRef(dataInputRef.getText());
ioSpecification.addOutputRef(dataRef);
}
}
return ioSpecification;