users@jaxb.java.net

JAXB and List interface

From: David Muņoz <david_at_gul.es>
Date: Mon, 6 Jun 2011 14:35:54 +0200

Hi friends,

Suppose this class:

class Thing implements List<String> {

    private int someValue;
    // getter and setter

    // methods from List<String>
}

When generating the schema, JAXB focuses on the List<> interface, so
the schema generated corresponds to a sequence of Strings, forgetting
everything about the "someValue" property.

Does anybody know how I can handle this?

Thanks