From: Mike Skells [mailto:[EMAIL PROTECTED]
Sent: 08 September 2005 14:57
To: dev@xmlbeans.apache.org
Subject: representation of xs:group and xs:attributeGroup, and polymorphic classesHi,I am generating a series of java classes based on schemas which make heavy use in groups and attribute groupsIs there any way to get the generated classes to marks and reuse this commonallityIt woudl seem to me that these would map to other interfacese.g.<xs:complexType name="WorkflowRulesType">
<xs:complexContent>
<xs:extension base="local:WorkflowRules-interfaceType">
<xs:sequence>
<xs:group ref="local:workflow-content"/>
</xs:sequence>
<xs:attributeGroup ref="local:workflow-attributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>...
<xs:complexType name="WorkflowType">
<xs:complexContent>
<xs:extension base="local:Workflow-interfaceType">
<xs:sequence>
<xs:group ref="local:workflow-content"/>
</xs:sequence>
<xs:attributeGroup ref="local:workflow-attributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
I get a class
public interface WorkflowRulesType extends WorkflowRulesInterfaceTypeandpublic interface WorkflowType extends WorkflowInterfaceTypeeach with an identical set of methods that relate to the contentWouldnt it be more logical to getpublic interface WorkflowsRulesType extends WorkflowsRulesInterfaceType, WorkflowAttributes, WorkflowContentpublic interface WorkflowsType extends WorkflowsRulesInterfaceType, WorkflowAttributes, WorkflowContentIs there a way to get xmlbeans to generate the additional methods to aid the polymorphic behaviorsMike
Hi,
I have reposted this due to the underwhelming response
:(
Do people think that this is a good
idea?
Is it available currently or should I file an
RFE?
...
Is anyone out there?
Mike
- representation of xs:group and xs:attributeGroup, and polymor... Mike Skells
- RE: representation of xs:group and xs:attributeGroup, an... Mike Skells
- Re: representation of xs:group and xs:attributeGroup... Robin Sander
- RE: representation of xs:group and xs:attributeG... Mike Skells
- Re: representation of xs:group and xs:attrib... Robin Sander
- RE: representation of xs:group and xs:a... Mike Skells
- Re: representation of xs:group and xs:attributeG... Robin Sander