.moveUp();
                return person;
        }

}</pre></div><p>Now let's register our converter and see how our application
<i>main</i> method looks
like:</p><div class="Source Java"><pre>package com.thoughtworks.xstream.examples;

import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.xml.DomDriver;

public class PersonTest {

        public static void main(String[] args) {
                Person person = new Person();
                person.setName(&quot;Guilherme&quot;);

    