Package org.uengine.components.serializers

Source Code of org.uengine.components.serializers.XPDSerializer

package org.uengine.components.serializers;

import java.util.ArrayList;

import org.uengine.processdesigner.ActivityTypeDescriptor;

public class XPDSerializer extends XStreamSerializer{
  public static void main(String args[]) throws Exception{
   
    ArrayList list = new ArrayList();
    ActivityTypeDescriptor descr = new ActivityTypeDescriptor();
    descr.setActivityTypeClass("org.uengine.kernel");
    descr.setGroup("name");
    list.add(descr);
    list.add(descr);
   
    XPDSerializer xpdSer = new XPDSerializer();
    xpdSer.serialize(list, System.out, null);
  }
}
TOP

Related Classes of org.uengine.components.serializers.XPDSerializer

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.