Class WorkflowTransformService


  • public class WorkflowTransformService
    extends Object
    Transform utility to convert Workflow models into processable documents and vice versa.
    Since:
    6.8
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • WorkflowTransformService

        public WorkflowTransformService()
    • Method Detail

      • setXStream

        public void setXStream​(com.thoughtworks.xstream.XStream stream)
      • fromXmlToModel

        public WorkflowDefinition fromXmlToModel​(String xmlData)
        Converts the XML specification into a Workflow model
        Parameters:
        xmlData - the XML document's content
        Returns:
        the object representation of the workflow
      • fromModelToBPMN

        public String fromModelToBPMN​(WorkflowDefinition workflowDefinition)
        Convert a workflow model to the BPMN content
        Parameters:
        workflowDefinition - the object representation of the workflow
        Returns:
        the XML content