aspose 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
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply 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: 5
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Castor: Mapping Element not included in Java Class
 
Similar Threads
Hibernate : Hibernate :Mapping Multiple Table for single POJO class
Using Directory Path as Parameters?
Hibernate: independent key value pair mapping
Hibernate2, composite-id, mappingException
switch from set to list, many-to-many