File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Castor: Mapping Element not included in Java Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Castor: Mapping Element not included in Java Class" Watch "Castor: Mapping Element not included in Java Class" New topic
Author

Castor: Mapping Element not included in Java Class

Santiago Aucejo
Greenhorn

Joined: May 10, 2006
Posts: 6
Hi there,
I want to do a mapping via a mapping file.
I have to work with "location" to build elements in the xml which are not attributes in the java class.

Somehing like that in Java class:


Should be mapped to:


with the attribute location="First" the element is generated, but how can i achieve to build another "parent"-element like "Subject" ?
I�m thankful for any help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Castor: Mapping Element not included in Java Class