i have a java classes named
PaymentDetails(contains vector to store the objects of
PaymentDetailsItem),PaymentDetailsItem(contains
PaymentDetailRecord),PaymentDetailRecord(contains 4 objects of
different classes)...this java file structure gives me the xml file
as follows after marshalling...
<xbrl>
<PaymentDetails>
<PaymentDetailsItem>
<PaymentDetailsRecord>
<PaymentExperienceReportedDate
contextRef="PaymentDetails-0">2006-08-
01</PaymentExperienceReportedDate>
<PaymentMannerText contextRef="Slow 1-
59">PaymentDetails-0</PaymentMannerText>
</PaymentDetailsRecord>
</PaymentDetailsItem>
<PaymentDetailsItem>
<PaymentDetailsRecord>
<PaymentExperienceReportedDate
contextRef="PaymentDetails-2">2006-08-
02</PaymentExperienceReportedDate>
<PaymentMannerText contextRef="Slow 2-
59">PaymentDetails-2</PaymentMannerText>
</PaymentDetailsRecord>
</PaymentDetailsItem>
</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)?