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>

How can I define a binding for the generated Choice class?

Thanks,
Ken

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to