Re: XJC: get the Annotation-Information of a field
Hi,
> Dear XJC-Users,
> how I can find out, how an field is annotated?
>
> Suppose I have a class with two fields:
> SupposedClass {
> @XmlElement(name = "AnElement")
> protected AnElement anElement;
> @XmlAttribute(name = "attribute")
> protected AnAttribute attribute;
> }
>
> How can I find out, if an field is an XmlElement or an XmlAttribute and which name it uses?
https://jaxb2-reflection.dev.java.net/users-guide.html
Bye.
/lexi