public void fieldChanged(FieldInfo oldInfo, FieldInfo newInfo)
        throws DiffException 
    {
        Node currentNode = this.currentNode;
        Element tmp = doc.createElementNS(XML_URI, "fieldchange");
        Element from = doc.createElementNS(XML_URI, "from");
        Element to = doc.createElementNS(XML_URI, "to");
        tmp.appendChild(from);
        tmp.appendChild(to);
        currentNode.appendChild(tmp);
        this.currentNode = from;
        writeFieldInfo(oldInfo);
        this.currentNode = to;
        writeFieldInfo(newInfo);
        this.currentNode = currentNode;
    }
public void fieldChanged ( FieldInfo oldInfo , FieldInfo newInfo ) throws DiffException { Node currentNode = this . currentNode ; Element tmp = doc . createElementNS ( XML_URI , "fieldchange" ) ; Element from = doc . createElementNS ( XML_URI , "from" ) ; Element to = doc . createElementNS ( XML_URI , "to" ) ; tmp . appendChild ( from ) ; tmp . appendChild ( to ) ; currentNode . appendChild ( tmp ) ; this . currentNode = from ; writeFieldInfo ( oldInfo ) ; this . currentNode = to ; writeFieldInfo ( newInfo ) ; this . currentNode = currentNode ; }
Write out info aboout a changed field.
This writes out a &lt;fieldchange&gt; node, followed by a
&lt;from&gt; node, with the old information about the field
followed by a &lt;to&gt; node with the new information about the
field.

@param oldInfo Info about the old field.
@param newInfo Info about the new field.
@throws DiffException when there is an underlying exception, e.g.
writing to a file caused an IOException