xpdl的c#解析器
完全依照xpdl标准
源代码在线查看: package.cs
using System;
namespace com.use.wfp.xpdl.elements
{
///
/// It should be rewrited while generic C# is usable
///
public class Package:BaseElementWithIdName
{
public Package(Nucleus.Common.Util.Node node)
{
SetNode(node);
}
///
private BaseElement packageHeader;
public PackageHeader GetPackageHeader(){
return (PackageHeader)GetChild( packageHeader, out packageHeader, "PackageHeader");
}
///
private BaseElement RedefinableHeader;
public RedefinableHeader GetRedefinableHeader()
{
return (RedefinableHeader)GetChild( RedefinableHeader, out RedefinableHeader, "RedefinableHeader");
}
///
private BaseElement ConformanceClass;
public ConformanceClass GetConformanceClass()
{
return (ConformanceClass)GetChild( ConformanceClass, out ConformanceClass, "ConformanceClass");
}
///
private BaseElement Script;
public Script GetScript()
{
return (Script)GetChild( Script, out Script, "Script");
}
///
private BaseElement ExternalPackages;
public ExternalPackages GetExternalPackages()
{
return (ExternalPackages)GetChild( ExternalPackages, out ExternalPackages, "ExternalPackages");
}
///
private BaseElement TypeDeclarations;
public TypeDeclarations GetTypeDeclarations()
{
return (TypeDeclarations)GetChild( TypeDeclarations, out TypeDeclarations, "TypeDeclarations");
}
///
private BaseElement Participants;
public Participants GetParticipants()
{
return (Participants)GetChild( Participants, out Participants, "Participants");
}
///
private BaseElement Applications;
public Applications GetApplications()
{
return (Applications)GetChild( Applications, out Applications, "Applications");
}
///
private BaseElement DataFields;
public DataFields GetDataFields()
{
return (DataFields)GetChild( DataFields, out DataFields, "DataFields");
}
///
private BaseElement WorkflowProcesses;
public WorkflowProcesses GetWorkflowProcesses()
{
return (WorkflowProcesses)GetChild( WorkflowProcesses, out WorkflowProcesses, "WorkflowProcesses");
}
///
private BaseElement ExtendedAttributes;
public ExtendedAttributes GetExtendedAttributes()
{
return (ExtendedAttributes)GetChild( ExtendedAttributes, out ExtendedAttributes, "ExtendedAttributes");
}
}
}