|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.oodt.cas.workflow.util.XmlStructFactory
public final class XmlStructFactory
A class for constructing Workflow Manager objects from XML Node
s and
Element
s.
Field Summary | |
---|---|
static Logger |
LOG
|
Method Summary | |
---|---|
static Properties |
getConfiguration(Node node)
Constructs a new WorkflowTaskConfiguration from the given XML
node. |
static List |
getRequiredMetFields(Node node)
|
static Workflow |
getWorkflow(Node node,
HashMap tasks)
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,
HashMap conditions)
Constructs a new WorkflowTask from the given XML node and
HashMap of WorkflowCondition s. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Logger LOG
Method Detail |
---|
public static Workflow getWorkflow(Node node, HashMap tasks)
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 HashMap
of existing WorkflowTask
s.
Workflow
created from the XML node.public static WorkflowTask getWorkflowTask(Node node, HashMap conditions)
Constructs a new WorkflowTask
from the given XML node and
HashMap
of WorkflowCondition
s.
node
- The XML node to construct the WorkflowTask
from.conditions
- The HashMap
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 List getRequiredMetFields(Node node)
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |