"alesj" wrote :
| I'm trying to find where I can assign actual (but wrong) type, but w/o success.
This is what I did for collection:
| @XmlElements
| ({
| @XmlElement(name="iface", type=SomeImpl.class),
| @XmlElement(name="impl", type=WrongImpl.class)
| })
| @XmlAnyElement
| public void setIface(List<SomeInterface> iface)
| {
| this.iface = iface;
| }
|
where WrongImpl is not SomeInterface instance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192820#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...