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

void org::osjava::jardiff::DOMDiffHandler::startDiff ( String  oldJar,
String  newJar 
) throws DiffException [inline]

Start the diff. This writes out the start of a <diff> node.

Parameters:
oldJar ignored
newJar ignored
Exceptions:
DiffException when there is an underlying exception, e.g. writing to a file caused an IOException

Implements org::osjava::jardiff::DiffHandler.

Definition at line 149 of file DOMDiffHandler.java.

References currentNode, doc, and XML_URI.

                                                                             {
        Element tmp = doc.createElementNS(XML_URI, "diff");
        tmp.setAttribute( "old", oldJar);
        tmp.setAttribute( "new", newJar);
        doc.appendChild(tmp);
        currentNode = tmp;
    }


Generated by  Doxygen 1.6.0   Back to index