throw new SourceTransformerException(
"Source element " + element + " does not exist");
}
sourceElement = sourceElementList.get(0);
ConfigurationHandlers configurationHandlers
= controllerState.getUnitConfiguration()
.getConfigurationHandlers();
Set<StreamSourceFormat> streamSourceFormats
= configurationHandlers.getStreamSourceFormats();
StreamSourceFormat streamSourceFormat = null;
for (StreamSourceFormat candidate : streamSourceFormats)
{
if (sourceFormat.equals(candidate.getKey()))
{