org.yawlfoundation.yawl.engine.interfce
Class Marshaller

java.lang.Object
  extended by org.yawlfoundation.yawl.engine.interfce.Marshaller

public class Marshaller
extends Object

Author:
Lachlan Aldred Date: 16/02/2004 Time: 18:41:17

Constructor Summary
Marshaller()
           
 
Method Summary
static String filterDataAgainstOutputParams(String mergedOutputData, List<YParameter> outputParams)
           
static String getMergedOutputData(org.jdom.Element inputData, org.jdom.Element outputData)
           
static String getOutputParamsInXML(YParametersSchema paramSchema, String dataSpaceRootElementNm)
           
static String presentParam(YParameter param)
           
static List<String> unmarshalCaseIDs(String casesAsXML)
           
static List<SpecificationData> unmarshalSpecificationSummary(String specificationSummaryListXML)
          Creates a list of SpecificationDatas from formatted XML.
static TaskInformation unmarshalTaskInformation(String taskInfoAsXML)
           
static WorkItemRecord unmarshalWorkItem(org.jdom.Element workItemElement)
           
static WorkItemRecord unmarshalWorkItem(String workItemXML)
           
static Hashtable<String,String> unmarshalWorkItemAttributes(org.jdom.Element item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Marshaller

public Marshaller()
Method Detail

getOutputParamsInXML

public static String getOutputParamsInXML(YParametersSchema paramSchema,
                                          String dataSpaceRootElementNm)

presentParam

public static String presentParam(YParameter param)

unmarshalTaskInformation

public static TaskInformation unmarshalTaskInformation(String taskInfoAsXML)

unmarshalSpecificationSummary

public static List<SpecificationData> unmarshalSpecificationSummary(String specificationSummaryListXML)
Creates a list of SpecificationDatas from formatted XML. These are brief meta data summary information objects that describe a worklfow specification.

Parameters:
specificationSummaryListXML -
Returns:
the list

unmarshalWorkItem

public static WorkItemRecord unmarshalWorkItem(String workItemXML)

unmarshalWorkItem

public static WorkItemRecord unmarshalWorkItem(org.jdom.Element workItemElement)

unmarshalWorkItemAttributes

public static Hashtable<String,String> unmarshalWorkItemAttributes(org.jdom.Element item)

unmarshalCaseIDs

public static List<String> unmarshalCaseIDs(String casesAsXML)

getMergedOutputData

public static String getMergedOutputData(org.jdom.Element inputData,
                                         org.jdom.Element outputData)

filterDataAgainstOutputParams

public static String filterDataAgainstOutputParams(String mergedOutputData,
                                                   List<YParameter> outputParams)
                                            throws org.jdom.JDOMException,
                                                   IOException
Throws:
org.jdom.JDOMException
IOException


Copyright © 2004-2012 The YAWL Foundation.