the data</li>
<li>the current marshalling context</li>
</ol><p>We start casting the object to
person:</p><div class="Source Java"><pre>Person person = (Person) value;</pre></div><p>Now
we can output the data... let's start creating a node called <i>fullname</i>
and adding the person's name to
it:</p><div class="Source Java"><pre>writer.startNode(&quot;fullname&quot;);
writer.setValue(person.getName());
writer.endNode();</pre></div><p>Quite simple
huh?</p><div class="Source Java"><pre>public void marshal(Obj