<?xml version='1.0'?>
<info>
<contract>
<symbol>IBM</symbol>
<sectype>STK</sectype>
<exchange>SMART</exchange>
<currency>USD</currency>
</contract>
<order>
<action>SELL</action>
<quantity>100</quantity>
<ordertype>LMT</ordertype>
<imtprice>imtprice</imtprice>
<transmit>false</transmit>
</order>
</info>
上記の XML 入力を作成するために、既存の Java クラスで jaxb アノテーションを使用したいのですが、Java クラスに基づいてネストされた xml 構造を作成する方法がわかりません。