DataDictionary.Generated.Dictionary.unParseBody C# (CSharp) Method

unParseBody() public method

This method is used by XMLBooster-generated code internally. Please refrain from using it, as it might produce unexpected results, and might change or even disappear in the future.
public unParseBody ( TextWriter pw ) : void
pw System.IO.TextWriter
return void
        public override void unParseBody(TextWriter pw)
        {
            #pragma warning disable 0168, 0219
            int i;
            #pragma warning restore 0168, 0219

            base.unParseBody(pw);
            // Unparsing Repeat
            // Unparsing repetition
            unParse(pw, this.getSpecifications(), false, "<Specification", "</Specification>");
            // Unparsing Enclosed
            // Testing for empty content: RequirementSets
            if (countRequirementSets() > 0){
            pw.Write("<RequirementSets>");
            pw.Write('\n');
            // Unparsing Repeat
            // Unparsing repetition
            unParse(pw, this.getRequirementSets(), false, "<RequirementSet", "</RequirementSet>");
            pw.Write("</RequirementSets>");
            // Father is not a mixed
            pw.Write('\n');
            } // If
            // After Testing for empty content: RequirementSets
            // Unparsing Enclosed
            pw.Write("<NameSpaces>");
            pw.Write('\n');
            // Unparsing Repeat
            // Unparsing repetition
            unParse(pw, this.getNameSpaces(), false, "<NameSpace", "</NameSpace>");
            // Unparsing Repeat
            // Unparsing repetition
            unParse(pw, this.getNameSpaceRefs(), false, "<NameSpaceRef", "</NameSpaceRef>");
            pw.Write("</NameSpaces>");
            // Father is not a mixed
            pw.Write('\n');
            // Unparsing Enclosed
            pw.Write("<Tests>");
            pw.Write('\n');
            // Unparsing Repeat
            // Unparsing repetition
            unParse(pw, this.getTests(), false, "<Frame", "</Frame>");
            // Unparsing Repeat
            // Unparsing repetition
            unParse(pw, this.getTestRefs(), false, "<FrameRef", "</FrameRef>");
            pw.Write("</Tests>");
            // Father is not a mixed
            pw.Write('\n');
            // Unparsing ElementRef
            if (this.getTranslationDictionary() != null){
            unParse(pw, this.getTranslationDictionary(),false,"<TranslationDictionary","</TranslationDictionary>");
            } // If
            // Unparsing ElementRef
            if (this.getShortcutDictionary() != null){
            unParse(pw, this.getShortcutDictionary(),false,"<ShortcutDictionary","</ShortcutDictionary>");
            } // If
        }