gr.uoa.di.madgik.workflow.adaptor.utils
Interface IWorkflowParser

All Known Implementing Classes:
JDLParser

public interface IWorkflowParser

The Interface IWorkflowParser is implemented by classes that can parse some external workflow language. It is expected that for every language that will be supported and transformed into some form of internally managed workflow, one respective parser will be made available. The output of the parser will then be used by the respective IWorkflowAdaptor that instantiated the IWorkflowParser

Author:
gpapanikos

Method Summary
 IParsedInfo GetParsedInfo()
          Retrieves the information parsed.
 void Parse(File serialization)
          Parses the string the workflow language that is contained in the provided file that the parser is implemented for
 void Parse(String serialization)
          Parses the string serialization of the workflow language that the parser is implemented for
 

Method Detail

Parse

void Parse(String serialization)
           throws WorkflowSerializationException,
                  WorkflowValidationException
Parses the string serialization of the workflow language that the parser is implemented for

Parameters:
serialization - the serialization of the workflow in some language
Throws:
WorkflowSerializationException - Problem with the serialization of the provided workflow
WorkflowValidationException - Problem with the validity of some element

Parse

void Parse(File serialization)
           throws WorkflowSerializationException,
                  WorkflowValidationException
Parses the string the workflow language that is contained in the provided file that the parser is implemented for

Parameters:
serialization - The file containing the workflow description
Throws:
WorkflowSerializationException - Problem with the serialization of the provided workflow
WorkflowValidationException - Problem with the validity of some element

GetParsedInfo

IParsedInfo GetParsedInfo()
Retrieves the information parsed. This method must be called after a call to one of Parse(File) or Parse(String)

Returns:
the parsed information


Copyright © 2012. All Rights Reserved.