jaxb missing setContent method

I have an element in my DTD which contains a choice of elemnts within it. This translates into a getContent method in the generated class, due to the fact that jaxb doesn't know which element it will actually find inside. This is fine. The problem is, while i get a getContent method, there is no setContent method. This makes it impossible to construct the object progrmatically and marshal the object to a stream. Anyone have an idea why the setContent method is not there?

Thanks.

[497 byte] By [ogik] at [2007-9-27 22:47:27]
# 1
That's a good point - i get exactly the same thing. Let me know if you find a solution, and I will do the same!Connor
connorsadler at 2007-7-7 13:50:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
I've posted an idea to the other thread: "how to setContent in jaxb ?"
connorsadler at 2007-7-7 13:50:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...