i have a java classes named

PaymentDetails( contains vector to store the objects of 
PaymentDetailsItem) ,PaymentDetailsI tem(contains 
PaymentDetailRecord ),PaymentDetailR ecord(contains 4 objects of 
different classes)...this java file structure gives me the xml file 
as follows after marshalling. ..

<xbrl>
<PaymentDetails>
<PaymentDetailsItem >
<PaymentDetailsReco rd>
<PaymentExperienceR eportedDate 
contextRef=" PaymentDetails- 0">2006-08-
01</PaymentExperien ceReportedDate>
<PaymentMannerText contextRef=" Slow 1-
59">PaymentDetails- 0</PaymentManner Text>
</PaymentDetailsRec ord>
</PaymentDetailsIte m>
<PaymentDetailsItem >
<PaymentDetailsReco rd>
<PaymentExperienceR eportedDate 
contextRef=" PaymentDetails- 2">2006-08-
02</PaymentExperien ceReportedDate>
<PaymentMannerText contextRef=" Slow 2-
59">PaymentDetails- 2</PaymentManner Text>
</PaymentDetailsRec ord>
</PaymentDetailsIte m>
</PaymentDetails>
</xbrl>
Java class structure is fix...i cannot change it because those 
classes are generated via the castor code generation facility..i need 
to change in the mapping file or if any other way is there...
but i donot want the "PaymentDetailsItem " tag so how can i handle it 
in mapping file(for marshlling and unmarshalling) ?




-- 
View this message in context: 
http://www.nabble.com/mapping-file-problem-for-marshalling-and-unmarshlling-tf4514838.html#a12877346
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to