public AElement(XmlElement elem, XmlPrefixMap map, AElement parent) { _element = elem; _extensionElement = null; _parent = parent; if (SubNodes != null) { Type t = typeof(ExtensionElements); foreach (XmlNode n in SubNodes) { if (n.NodeType == XmlNodeType.Element) { foreach (XMLTag xt in Utility.GetTagAttributes(t)) { if (xt.Matches(map, n.Name)) { _extensionElement = new ExtensionElements((XmlElement)n, map, this); break; } } if (_extensionElement != null) { break; } } } } }
public DefinitionFile(XmlElement elem, XmlPrefixMap map, AElement parent) : base(elem, map, parent) { _content = new byte[0]; if (elem.ChildNodes.Count > 0) { _content = Convert.FromBase64String((elem.ChildNodes[0] is XmlCDataSection ? ((XmlCDataSection)elem.ChildNodes[0]).InnerText : elem.InnerText)); } }
public DefinitionVariable(XmlElement elem, XmlPrefixMap map, AElement parent) : base(elem, map, parent) { string text = elem.InnerText; if (elem.ChildNodes[0].NodeType == XmlNodeType.CDATA) { text = ((XmlCDataSection)elem.ChildNodes[0]).InnerText; } _value = Utility.ExtractVariableValue((VariableTypes)Enum.Parse(typeof(VariableTypes), this["Type"]), text); }
public AParentElement(XmlElement elem, XmlPrefixMap map, AElement parent) : base(elem, map, parent) { if (SubNodes != null) { foreach (XmlNode n in SubNodes) { if (n.NodeType == XmlNodeType.Element) { IElement subElem = Utility.ConstructElementType((XmlElement)n, map, this); if (subElem != null) { if (_children == null) { _children = new List <IElement>(); } _children.Add(subElem); } } } } }
public SubProcess(XmlElement elem, XmlPrefixMap map, AElement parent) : base(elem, map, parent) { }
public Diagram(XmlElement elem, XmlPrefixMap map, AElement parent) : base(elem, map, parent) { }
public AParentElement(XmlElement elem, XmlPrefixMap map, AElement parent) : base(elem, map, parent) { _children = new List <IElement>(); }
public Definition(XmlElement elem, XmlPrefixMap map, AElement parent) : base(elem, map, parent) { }
public Collaboration(XmlElement elem, XmlPrefixMap map, AElement parent) : base(elem, map, parent) { }