예제 #1
0
        internal KeyFamily Parse(DSDDocument dsd)
        {
            KeyFamily keyFamily = new KeyFamily("keyFamilyName","lsdkfj", "agnencyID");

            XElement kfElement = dsd.GetKeyFamilyElement();

            foreach (var keFamilyElement in kfElement.Elements())
            {
                if (keFamilyElement.Name.LocalName == "Components")
                {
                    foreach (var element in keFamilyElement.Elements())
                    {
                        if (element.Name.LocalName == "Dimension")
                        {
                            var parser = new DimensionParser();
                            var dimension = parser.Parse(element, dsd);
                            keyFamily.AddDimension(dimension);
                        }
                    }
                }
            }

            return keyFamily;

        }
예제 #2
0
            internal Dimension Parse(XElement element, DSDDocument dsd)
            {
                string conceptRef, conceptVersion, conceptAgency, conceptSchemeRef, conceptSchemeAgency;

                ParseAttributes(element, out conceptRef, out conceptVersion, out conceptAgency, out conceptSchemeRef, out conceptSchemeAgency);

                return(null);
            }
예제 #3
0
            internal Dimension Parse(XElement element, DSDDocument dsd)
            {
                string conceptRef, conceptVersion, conceptAgency, conceptSchemeRef, conceptSchemeAgency;
                ParseAttributes(element, out conceptRef, out conceptVersion, out conceptAgency, out conceptSchemeRef, out conceptSchemeAgency);

                return null;

            }
예제 #4
0
        internal KeyFamily Parse(DSDDocument dsd)
        {
            KeyFamily keyFamily = new KeyFamily("keyFamilyName", "lsdkfj", "agnencyID");

            XElement kfElement = dsd.GetKeyFamilyElement();

            foreach (var keFamilyElement in kfElement.Elements())
            {
                if (keFamilyElement.Name.LocalName == "Components")
                {
                    foreach (var element in keFamilyElement.Elements())
                    {
                        if (element.Name.LocalName == "Dimension")
                        {
                            var parser    = new DimensionParser();
                            var dimension = parser.Parse(element, dsd);
                            keyFamily.AddDimension(dimension);
                        }
                    }
                }
            }

            return(keyFamily);
        }