Home > Uncategorized > Reading XML Documentation

Reading XML Documentation


In my current project, I created a Automation testing solution using Unit Test Framework (UTF) .For retreving XML documentation from method (which contains what is purpose of method and what are parameters name and type ) .Following is code to access the string under XML documentation:

static void SUMIReadClassmethod(Args _args)

       SysDictClass dct;
        str Source ;
        Object objMethod;
        DictMethod dm;
        container conLines;
        TextBuffer textBuffer = new TextBuffer();
        Set dictClassMethodSet ;
        SetEnumerator enum;
        SysDictMethod dictMethod;
        FreeText ft
        dct = new SysDictClass(ClassName2id(classnode.AOTname()));
        dictClassMethodSet = dct.methods(true, true, true);
        dictClassMethodSet.add(new SysDictMethod(UtilElementType::ClassInstanceMethod,  ClassName2id  (classnode.AOTname()), #MethodNameClassDeclaration));
        enum = dictClassMethodSet.getEnumerator();
        textbuffer = null;
        textBuffer = new TextBuffer();
        while (enum.moveNext())
            dictMethod = enum.current();


Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: