public final class XmlRpcStructFactory extends Object
public static Hashtable getXmlRpcWorkflowInstancePage(WorkflowInstancePage page)
Hashtable
representation of a WorkflowInstancePage
that is serializable over the XML-RPC wire.page
- The WorkflowInstancePage
to turn into a Hashtable
.Hashtable
representation of a
WorkflowInstancePage
.public static WorkflowInstancePage getWorkflowInstancePageFromXmlRpc(Hashtable pageHash)
WorkflowInstancePage
off of the XML-RPC wire by converting
the XML-RPC Hashtable
representation of the page into a
WorkflowInstancePage
.pageHash
- The XML-RPC Hashtable
representation of this
WorkflowInstancePage
.WorkflowInstancePage
that this XML-RPC
Hashtable
provided represents.public static Hashtable getXmlRpcWorkflowInstance(WorkflowInstance wInst)
Gets a Hashtable
representation of a WorkflowInstance
to be
sent across the XML-RPC wire.
wInst
- The WorkflowInstance to turned into a java.util.Hashtable.Hashtable
representation of a WorkflowInstance
.public static WorkflowInstance getWorkflowInstanceFromXmlRpc(Hashtable workflowInstance)
public static List getWorkflowInstancesFromXmlRpc(Vector instsVector)
instsVector
- The Vector
of Hashtable
representations of
WorkflowInstance
s.List
of WorkflowInstance
s from their
representations as Hashtable
s in XML-RPC.public static Vector getXmlRpcWorkflowInstances(List wInsts)
wInsts
- The List
of WorkflowInstance
s to serialize.Vector
of Hashtable
representations of WorkflowInstance
s.public static Hashtable getXmlRpcWorkflowTask(WorkflowTask t)
Gets an XML-RPC version of the WorkflowTask
to send over the wire.
t
- The WorkflowTask to obtain an XML-RPC Hashtable from.WorkflowTask
to send over the
wire.public static Vector getXmlRpcWorkflowTasks(List tasks)
Gets a Vector
representation of a List
of
WorkflowTask
s to be sent across the XML-RPC wire.
tasks
- The List
of WorkflowTask
s.Vector
representation of a List
of
WorkflowTask
s.public static WorkflowTask getWorkflowTaskFromXmlRpc(Hashtable task)
Gets a WorkflowTask
from an XML-RPC Hashtable
sent over the
wire.
task
- The XML-RPC Hashtable version of the WorkflowTask.WorkflowTask
from an XML-RPC Hashtable
sent over
the wire.public static List getWorkflowTasksFromXmlRpc(Vector tsks)
Gets a List
of WorkflowTask
s from an XML-RPC Vector
.
tsks
- The Vector
of WorkflowTask
s.List
of WorkflowTask
s from an XML-RPC
Vector
.public static Hashtable getXmlRpcWorkflowCondition(WorkflowCondition c)
Gets an XML-RPC Hashtable
representation of the
WorkflowCondition
to send over the wire.
c
- The WorkflowCondition to turn into an XML-RPC Hashtable.Hashtable
representation of the
WorkflowCondition
to send over the wire.public static Hashtable getXmlRpcWorkflowConditionConfig(WorkflowConditionConfiguration conf)
WorkflowConditionConfiguration
.conf
- The WorkflowConditionConfiguration
to transform into an
XML-RPC Hashtable
.WorkflowConditionConfiguration
.public static Vector getXmlRpcWorkflowConditions(List conditions)
Gets a Vector
representation of the List
of
WorkflowCondition
s to be sent across the XML-RPC wire.
conditions
- The List of WorkflowConditions to turn into a Vector.Vector
representation of a List
of
WorkflowCondition
s.public static List getWorkflowTaskReqMetFieldsFromXmlRpc(Vector fields)
fields
- The fields required for this task.List
of String
met fields for this
WorkflowTask
.public static Vector getXmlRpcWorkflowTaskReqMetFields(List metFields)
metFields
- The required Metadata
fields.List
of String
s that are required for this
WorkflowTask
.public static WorkflowCondition getWorkflowConditionFromXmlRpc(Hashtable cond)
Gets a WorkflowCondition
from an XML-RPC Hashtable
.
cond
- The Hashtable to turn into a real WorkflowCondition.WorkflowCondition
from an XML-RPC Hashtable
.public static WorkflowConditionConfiguration getWorkflowConditionConfigurationFromXmlRpc(Hashtable conf)
WorkflowConditionConfiguration
from XML-RPC.conf
- XML-RPC friendly Hashtable representing a
WorkflowConditionConfiguration
.WorkflowConditionConfiguration
from XML-RPC.public static List getWorkflowConditionsFromXmlRpc(Vector conds)
Gets a List
of WorkflowCondition
s from an XML-RPC
Vector
.
conds
- The Vector
of WorkflowCondition
s.List
of WorkflowCondition
s from an XML-RPC
Vector
.public static Hashtable getXmlRpcWorkflowTaskConfiguration(WorkflowTaskConfiguration config)
Gets a Hashtable
representation of the passed in
WorkflowTaskConfiguration
's Properties
to be sent across
the XML-RPC wire.
config
- The WorkflowTaskConfiguration to convert to a Hashtable.Hashtable
representation of the passed in
WorkflowTaskConfiguration
's Properties
.public static WorkflowTaskConfiguration getWorkflowTaskConfigurationFromXmlRpc(Hashtable config)
Gets a WorkflowTaskConfiguration
from an XML-RPC Hashtable
.
config
- The original Hashtable version of the WorkflowTaskConfiguration.WorkflowTaskConfiguration
from an XML-RPC
Hashtable
.Copyright © 1999-2015 Apache OODT. All Rights Reserved.