Logo Search packages:      
Sourcecode: jardiff version File versions  Download package

void org::osjava::jardiff::DOMDiffHandler::addMethodNodes ( String  desc  )  [inline, protected]

Add the method nodes for the method descriptor. This writes out an <arguments> node containing the argument types for the method, followed by a <return> node containing the return type.

desc The descriptor for the method to write out.

Definition at line 637 of file DOMDiffHandler.java.

References addTypeNode(), currentNode, doc, and XML_URI.

Referenced by writeMethodInfo().

        Type[] args = Type.getArgumentTypes(desc);
        Type ret = Type.getReturnType(desc);
        Node currentNode = this.currentNode;
        Element tmp = doc.createElementNS(XML_URI,"arguments");
        this.currentNode = tmp;
        for (int i = 0; i < args.length; i++)
        tmp = doc.createElementNS(XML_URI,"return");
        this.currentNode = tmp;
        this.currentNode = currentNode;

Generated by  Doxygen 1.6.0   Back to index