public final class XmlStructFactory extends Object
Modifier and Type | Method and Description |
---|---|
static Properties |
getConfiguration(Node node)
Constructs a new
WorkflowTaskConfiguration from the given XML node. |
static Metadata |
getConfigurationAsMetadata(Node configNode) |
static List |
getRequiredMetFields(Node node) |
static Workflow |
getWorkflow(Node node,
Map tasks,
Map conditions)
Creates
Workflow s from the XML Node and the map of existing
WorkflowTask s. |
static WorkflowCondition |
getWorkflowCondition(Node node)
Constructs a new
WorkflowCondition from the given XML Node. |
static WorkflowTask |
getWorkflowTask(Node node,
Map conditions)
|
public static Logger LOG
public static Workflow getWorkflow(Node node, Map tasks, Map conditions)
Creates Workflow
s from the XML Node and the map of existing
WorkflowTask
s.
node
- The XML node to construct the Workflow from.tasks
- The Map
of existing WorkflowTask
s.conditions
- The Map
of existing WorkflowCondition
s.Workflow
created from the XML node.public static WorkflowTask getWorkflowTask(Node node, Map conditions)
Constructs a new WorkflowTask
from the given XML node and
Map
of WorkflowCondition
s.
node
- The XML node to construct the WorkflowTask
from.conditions
- The Map
of WorkflowCondition
s to use when
constructing the WorkflowTask.WorkflowTask
created from the given XML node.public static WorkflowCondition getWorkflowCondition(Node node)
Constructs a new WorkflowCondition
from the given XML Node.
node
- The XML node to construct the WorkflowCondition from.WorkflowCondition
from the given XML node.public static Properties getConfiguration(Node node)
Constructs a new WorkflowTaskConfiguration
from the given XML node.
node
- The XML node to construct the WorkflowTaskConfiguration from.WorkflowTaskConfiguration
constructed from the given
XML node.public static Metadata getConfigurationAsMetadata(Node configNode) throws ParseException, CommonsException, CasMetadataException
Copyright © 1999–2017 Apache OODT. All rights reserved.