}
} else if(tspElem instanceof TspStringElement) {
TspStringElement stringElem = (TspStringElement) tspElem;
sourceCase.sourceSB.append(stringElem.producedText);
} else if(tspElem instanceof TspMetadataElement) {
final TspMetadataElement mdElem = (TspMetadataElement) tspElem;
elementStream = processMetadataElement(sourceCase, elementStream, mdElem);
} else if(tspElem instanceof TspIfElseExpansionElement) {
TspIfElseExpansionElement tspIfElse = (TspIfElseExpansionElement) tspElem;
elementStream = processIfElseExpansion(sourceCase, elementStream, tspIfElse);
} else if(tspElem instanceof TspMetadataEndElement) {