Inside of a large schema I have the following complexType:
<xs:complexType name="LocationType">
<xs:sequence>
<xs:element name="Latitude" type="LatitudeType"/>
<xs:element name="Longitude" type="LongitudeType"/>
<xs:choice minOccurs="0">
<xs:element name="Altitude" type="AltitudeType"/>
<xs:element name="Elevation" type="ElevationType"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
Two classes are generated as a result, LocationType and LocationTypeChoice. I want both of these classes to be specified as implementing an interface. I can do LocationType like this:
<complexTypeBinding name="LocationType">
<java-class package="other.package.schema">
<implements>some.package.myInterface</implements>
</java-class>
</complexTypeBinding>
I want a mechanism to do this for the LocationTypeChoice class as well.