users@jaxb.java.net

unmarshaling to extender MyClass

From: Ami Tabak <ami-t_at_BARAK-ONLINE.NET>
Date: Fri, 04 Jul 2003 07:25:22 -0600

JAXB problems


 In the pre-official releases of JAXB it is was possible to customize the
process of unmarshalling JAXB classes from a XML input file in the following way:

    When XML elements are encountered, the JAXB framework creates instances of user-defined classes instead of the JAXB-generated classes (ofcourse these user-defined classes have to be defined as
    extenders (inheritors) of the the corresponding JAXB-generated classes).

    The mechanism was supported by using javax.xml.bind.Dispatcher class.

The problem:

In the first official release this class does not exists.
I can't find any documented way to achive the same functionality.

please advice.

Regards

ami-t