de.msponer.android.yac.xml
Class WorkItemElementEntryDeserializer

java.lang.Object
  extended by de.msponer.android.yac.xml.WorkItemElementEntryDeserializer

public class WorkItemElementEntryDeserializer
extends Object

Work item element entry deserializer. Takes the work item's XSD and XML, processes the documents and generates a tree of work item element entries representing the data structure. Corresponding YAWL class is org.yawlfoundation.yawl.resourcing.jsf.dynform.DynFormFieldAssembler

Author:
msponer

Constructor Summary
protected WorkItemElementEntryDeserializer()
          Hidden constructor.
 
Method Summary
static WorkItemElementEntry parse(String workItemDataSchemaString, String dataString)
          Parses the XML and XSD data.
static void printElementEntryList(List<WorkItemElementEntry> wiElementEntryList)
          Prints the element entry list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkItemElementEntryDeserializer

protected WorkItemElementEntryDeserializer()
Hidden constructor. Instantiates a new work item element entry deserializer.

Method Detail

parse

public static WorkItemElementEntry parse(String workItemDataSchemaString,
                                         String dataString)
                                  throws Exception
Parses the XML and XSD data.

Parameters:
workItemDataSchemaString - the work item data schema string
dataString - the data string
Returns:
the work item element entry
Throws:
Exception - the exception

printElementEntryList

public static void printElementEntryList(List<WorkItemElementEntry> wiElementEntryList)
Prints the element entry list.

Parameters:
wiElementEntryList - the work item element entry list