Here is an example of my mapping:

    <mapping class="some.package.A"
        abstract="true">
        <value name="a" field="a"/>
        <value name="b" field="b"/>
    </mapping>

    <mapping name="B"
        class="some.package.B"
        extends="some.package.A">
        <structure map-as="some.package.A"/>
        <value name="c" field="c"/>
        <value name="d" field="d"/>
    </mapping>

When unmarshalling an instance of class B is created with properties
a, b, c and d filled.

hth
Kees

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to