You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by "Reese, Nathan" <nr...@integrity-apps.com> on 2013/07/02 17:44:50 UTC

implement Comparable

Is there a way to generate classes from an XSD that contain an implementation of the Comparable interface?

I would like to sort List<MyType> but need MyType to implement the Comparable interface. The problem is that MyType is auto-generated by XmlBeans.

Thanks,

Nathan