Re: [Simple-support] Simple @Replace (how to fit an "Element" in an Attribute)
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2009-03-14 23:12:53
|
Hi,
You get this because the @Root annotation is not on the Data object. Try this.
@Root
public class Data {
[blah blah blah....]
}
Let me know how it goes!
Niall
--- On Sat, 3/14/09, Fabian Kürten <fab...@we...> wrote:
> From: Fabian Kürten <fab...@we...>
> Subject: Re: [Simple-support] Simple @Replace (how to fit an "Element" in an Attribute)
> To: gal...@ya..., sim...@li...
> Date: Saturday, March 14, 2009, 2:39 PM
> Niall Gallagher wrote:
> > Hi,
> >
> > How do you mean it does not work. What happens, do you
> get an exception?
> >
> > Niall
>
> Hi,
>
> yes, I get an exception.
> Some more details:
>
> Exception in thread "main"
> org.simpleframework.xml.transform.TransformException:
> Transform of class Data not supported
>
> Fabian
>
> PS: How should I attach sourcecode?
|