users@jaxb.java.net

Re: JAXB or schema problem?

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Mon, 21 May 2007 20:47:30 +0200

Hi.

Ah ok, sorry for that.
> Had to search a bit, but here it is (attachment).
>
> There are JAXBElements, right. But the only thing I see is stuff like
> that:
> @XmlElementRef(name = "pointer_type", type = JAXBElement.class),
> Can I access that via the JAXBElement-Object? Via getName()?
>
> Thank you very much for bringing me back on track! /me stupid. (;
>

Yes, you can check the name of the element via getName() (that'll be a
QName).

You're welcome.

Bye.
/lexi