I am having trouble figuring out how to unmarshall
just a collection. Let me explain, I want to unmarshal
to just an ArrayList and not an enclosing class. I
have gotten it to work just fine when I have set the
collection with an enclosing class, but I want it to
just return an ArrayList by itself. My current mapping
looks like:

<class
name="org.lds.ics.gpm.service.DOXmlMetaCodeWrapper">
  <map-to xml="METADATA_LIST"/>
  <field name="values"
type="org.lds.ics.gpm.service.DOXmlMetaCode" 
    collection="arraylist"/>
</class>

I don't want to have to use the wrapper though and
instead just return an ArrayList.

I assume that there is a way to do this with Castor, I
am just not finding it in the Documentation.

Thanks,

Bryan

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to