Hi list,
I'm trying to marshall a "wrapper" object that adds two attributes to
one of our previously-bound classes.
For example, we have a class "A":
class A {
private Foo foo;
private Bar bar;
}
that looks something like this when marshalled:
<a>
<foo V="123">
<fooBar/>
</foo>
<bar V="456"/>
</a>
My wrapper class "AWrapper":
class AWrapper {
private A wrappedA;
private String status;
}
adds status information, and I'd like it to look like this:
<a status="status string">
<foo V="123">
<fooBar/>
</foo>
<bar V="456"/>
</a>
I have successfully written the binding for class "A", but because
"AWrapper" doesn't extend A, I don't think JiBX will let me do what I
want, right?
Thanks,
Ian
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users