<?xml version="1.0"?>
<mapping>
   
   <field-handler name="myHandler" class="org.castor.xmlctf.fieldhandler.FieldHandlerImpl">
      <param name="date-format" value="yyyyMMdd"/>
   </field-handler>

   <class name="org.castor.xmlctf.fieldhandler.Root">
      <field name="date" type="string" handler="myHandler"/>
   </class>

</mapping>