Class StringToBPMNConverter
- java.lang.Object
-
- de.uni_trier.wi2.procake.utils.conversion.bpmn.StringToBPMNConverter
-
- All Implemented Interfaces:
OneWayConverter<String,org.camunda.bpm.model.bpmn.BpmnModelInstance>,TwoWayConverter<String,org.camunda.bpm.model.bpmn.BpmnModelInstance>
public class StringToBPMNConverter extends Object implements TwoWayConverter<String,org.camunda.bpm.model.bpmn.BpmnModelInstance>
-
-
Constructor Summary
Constructors Constructor Description StringToBPMNConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.camunda.bpm.model.bpmn.BpmnModelInstanceconvert(String origin)Converts the origin object type to a target object type.StringconvertBack(org.camunda.bpm.model.bpmn.BpmnModelInstance target)Converts the target object type back to the origin object type.
-
-
-
Method Detail
-
convert
public org.camunda.bpm.model.bpmn.BpmnModelInstance convert(String origin) throws XMLtoBPMNConversionException
Description copied from interface:OneWayConverterConverts the origin object type to a target object type.- Specified by:
convertin interfaceOneWayConverter<String,org.camunda.bpm.model.bpmn.BpmnModelInstance>- Parameters:
origin- object to be converted- Returns:
- the converted object
- Throws:
XMLtoBPMNConversionException
-
convertBack
public String convertBack(org.camunda.bpm.model.bpmn.BpmnModelInstance target)
Description copied from interface:TwoWayConverterConverts the target object type back to the origin object type.- Specified by:
convertBackin interfaceTwoWayConverter<String,org.camunda.bpm.model.bpmn.BpmnModelInstance>- Parameters:
target- object to be converted- Returns:
- a converted object
-
-