@Override
public DataDictionaryType convert(SpringBean springBean) {
DataDictionaryType library;
if (springBean.getClazz().equals(XpathMappingDataDictionary.class.getName())) {
library = new ObjectFactory().createXpathDataDictionary();
} else if (springBean.getClazz().equals(NodeMappingDataDictionary.class.getName())) {
library = new ObjectFactory().createXmlDataDictionary();
} else if (springBean.getClazz().equals(JsonMappingDataDictionary.class.getName())) {
library = new ObjectFactory().createJsonDataDictionary();
} else {
throw new CitrusAdminRuntimeException(String.format("Failed to convert Spring bean of type '%s' to data dictionary model object", springBean.getClazz()));
}
for (Property property : springBean.getProperties()) {