I'm trying to set a class from an attribute, but it's
actually two steps down...
Here's my xml:
<Person name="Paul">
<Address @city="Philadelphia" @state="PA"/>
....
So my Person class contains an Address class, which
contains a State class. How would I set up the
Address class and the State class that is a field on
the Address?
Here's my classes:
public class Person {
private Address _address;
....
public class Address {
private State _state;
public class State {
private String _code;
What would my mapping look like to set the State from
that attribute?
Thanks
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users