users@jaxb.java.net
Understanding _at_XmlType
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Joe Kutner <
jpkutner_at_gmail.com
>
Date
: Mon, 27 Jul 2009 11:20:37 -0500
I am having difficult understanding the expected behavior of the
@XmlType attribute as described here:
https://jaxb.dev.java.net/guide/Evolving_annotated_classes.html#Changing_class_names
If I have a class such as:
@XmlType(name = "foo")
class Bar {}
Should it not marshal to the following XML?
<foo />
I am not able to get this to work. I always get <bar/>.
Thanks!
Joe
This message
: [
Message body
]
Next message
:
alesque: "Re: Turn off annotations"
Previous message
:
Wolfgang Laun: "Re: Can not unmarshall"
Next in thread
:
Wolfgang Laun: "Re: Understanding _at_XmlType"
Reply
:
Wolfgang Laun: "Re: Understanding _at_XmlType"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]