Workflow Engine .NET  2
Public Member Functions | List of all members
OptimaJet.Workflow.Core.Parser.XmlWorkflowParser Class Reference

Base workflow parser, which parses not parsed process scheme serialized to XML to the object model of a scheme of a process ProcessDefinition More...

Inheritance diagram for OptimaJet.Workflow.Core.Parser.XmlWorkflowParser:
OptimaJet.Workflow.Core.Parser.WorkflowParser< XElement >

Public Member Functions

override List< TimerDefinitionParseTimers (XElement schemeMedium)
 Parses timers from not parsed scheme in theirs object model More...
 
override List< ActorDefinitionParseActors (XElement schemeMedium)
 Parses actors from not parsed scheme in theirs object model More...
 
override List< LocalizeDefinitionParseLocalization (XElement schemeMedium)
 Parses localization items from not parsed scheme in theirs object model More...
 
override List< ParameterDefinitionParseParameters (XElement schemeMedium)
 Parses parameters from not parsed scheme in theirs object model More...
 
override List< CommandDefinitionParseCommands (XElement schemeMedium, List< ParameterDefinition > parameterDefinitions)
 Parses commands from not parsed scheme in theirs object model More...
 
override List< ActivityDefinitionParseActivities (XElement schemeMedium)
 Parses activities from not parsed scheme in theirs object model More...
 
override List< CodeActionDefinitionParseCodeActions (XElement schemeMedium)
 Parses code actions from not parsed scheme in theirs object model More...
 
override List< TransitionDefinitionParseTransitions (XElement schemeMedium, List< ActorDefinition > actorDefinitions, List< CommandDefinition > commandDefinitions, List< ActivityDefinition > activityDefinitions, List< TimerDefinition > timerDefinitions)
 Parses transitions from not parsed scheme in theirs object model More...
 
override string GetSchemeCode (XElement schemeMedium)
 Gets the code of the scheme from not parsed scheme More...
 
override DesignerSettings GetDesignerSettings (XElement schemeMedium)
 Gets designer settings from not parsed scheme More...
 
override ProcessDefinition Parse (string scheme)
 Returns object model of the scheme of a process More...
 
override XElement SerializeToSchemeMedium (ProcessDefinition processDefinition)
 
- Public Member Functions inherited from OptimaJet.Workflow.Core.Parser.WorkflowParser< XElement >
abstract List< TimerDefinitionParseTimers (TSchemeMedium schemeMedium)
 Parses timers from not parsed scheme in theirs object model More...
 
abstract List< ActorDefinitionParseActors (TSchemeMedium schemeMedium)
 Parses actors from not parsed scheme in theirs object model More...
 
abstract List< LocalizeDefinitionParseLocalization (TSchemeMedium schemeMedium)
 Parses localization items from not parsed scheme in theirs object model More...
 
abstract List< ParameterDefinitionParseParameters (TSchemeMedium schemeMedium)
 Parses parameters from not parsed scheme in theirs object model More...
 
abstract List< CommandDefinitionParseCommands (TSchemeMedium schemeMedium, List< ParameterDefinition > parameterDefinitions)
 Parses commands from not parsed scheme in theirs object model More...
 
abstract List< ActivityDefinitionParseActivities (TSchemeMedium schemeMedium)
 Parses activities from not parsed scheme in theirs object model More...
 
abstract List< CodeActionDefinitionParseCodeActions (TSchemeMedium schemeMedium)
 Parses code actions from not parsed scheme in theirs object model More...
 
abstract List< TransitionDefinitionParseTransitions (TSchemeMedium schemeMedium, List< ActorDefinition > actorDefinitions, List< CommandDefinition > commandDefinitions, List< ActivityDefinition > activityDefinitions, List< TimerDefinition > timerDefinitions)
 Parses transitions from not parsed scheme in theirs object model More...
 
abstract string GetSchemeCode (TSchemeMedium schemeMedium)
 Gets the code of the scheme from not parsed scheme More...
 
abstract DesignerSettings GetDesignerSettings (TSchemeMedium schemeMedium)
 Gets designer settings from not parsed scheme More...
 
ProcessDefinition Parse (TSchemeMedium schemeMedium)
 Returns object model of the scheme of a process More...
 
abstract TSchemeMedium SerializeToSchemeMedium (ProcessDefinition processDefinition)
 Serializes object model of the scheme to not parsed scheme More...
 
virtual string SerializeToString (ProcessDefinition processDefinition)
 Serializes object model of the scheme to string More...
 

Detailed Description

Base workflow parser, which parses not parsed process scheme serialized to XML to the object model of a scheme of a process ProcessDefinition

Member Function Documentation

◆ GetDesignerSettings()

override DesignerSettings OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.GetDesignerSettings ( XElement  schemeMedium)

Gets designer settings from not parsed scheme

Parameters
schemeMediumNot parsed scheme
Returns
Designer settings

◆ GetSchemeCode()

override string OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.GetSchemeCode ( XElement  schemeMedium)

Gets the code of the scheme from not parsed scheme

Parameters
schemeMediumNot parsed scheme
Returns
Code of the scheme

◆ Parse()

override ProcessDefinition OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.Parse ( string  scheme)
virtual

Returns object model of the scheme of a process

Parameters
schemeString representation of not parsed sheme
Returns
ProcessDefinition object

Implements OptimaJet.Workflow.Core.Parser.WorkflowParser< XElement >.

◆ ParseActivities()

override List<ActivityDefinition> OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.ParseActivities ( XElement  schemeMedium)

Parses activities from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of ActivityDefinition objects

◆ ParseActors()

override List<ActorDefinition> OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.ParseActors ( XElement  schemeMedium)

Parses actors from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of ActorDefinition objects

◆ ParseCodeActions()

override List<CodeActionDefinition> OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.ParseCodeActions ( XElement  schemeMedium)

Parses code actions from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of CodeActionDefinition objects

◆ ParseCommands()

override List<CommandDefinition> OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.ParseCommands ( XElement  schemeMedium,
List< ParameterDefinition parameterDefinitions 
)

Parses commands from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
parameterDefinitionsList of parsed parameters ParameterDefinition
Returns
List of CommandDefinition objects

◆ ParseLocalization()

override List<LocalizeDefinition> OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.ParseLocalization ( XElement  schemeMedium)

Parses localization items from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of LocalizeDefinition objects

◆ ParseParameters()

override List<ParameterDefinition> OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.ParseParameters ( XElement  schemeMedium)

Parses parameters from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of ParameterDefinition objects

◆ ParseTimers()

override List<TimerDefinition> OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.ParseTimers ( XElement  schemeMedium)

Parses timers from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
Returns
List of TimerDefinition objects

◆ ParseTransitions()

override List<TransitionDefinition> OptimaJet.Workflow.Core.Parser.XmlWorkflowParser.ParseTransitions ( XElement  schemeMedium,
List< ActorDefinition actorDefinitions,
List< CommandDefinition commandDefinitions,
List< ActivityDefinition activityDefinitions,
List< TimerDefinition timerDefinitions 
)

Parses transitions from not parsed scheme in theirs object model

Parameters
schemeMediumNot parsed scheme
actorDefinitionsList of parsed actors ActorDefinition
commandDefinitionsList of parsed commands CommandDefinition
activityDefinitionsList of parsed activities ActivityDefinition
timerDefinitionsList of parsed timers TimerDefinition
Returns
List of TransitionDefinition objects