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
Workflows from the XML Node and the map of existing
WorkflowTasks. |
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 Workflows from the XML Node and the map of existing
WorkflowTasks.
node - The XML node to construct the Workflow from.tasks - The Map of existing WorkflowTasks.conditions - The Map of existing WorkflowConditions.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 WorkflowConditions.
node - The XML node to construct the WorkflowTask from.conditions - The Map of WorkflowConditions 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.