Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Castor API+XBRL

  Asked By: Pamela    Date: Jun 10    Category: Java    Views: 975
  

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)?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Castor API+XBRL Or get search suggestion and latest updates.




Tagged: