|
second sentence needed to be more clear, sorry I have defined and xsd element name <user> to contain
a sequence of elements named <view>. I set the <view>’s type
attribute to myType. When Castor generates the java code it created the class
View which extends class MyType. Castor also creates the class UserDescriptor.
The UserDescriptor class contains a addView(View v) method; why did Castor not
use the base class MyType as the parameter data type for the addView method? From: Jason
[mailto:[EMAIL PROTECTED] I have defined and xsd element name ‘user’ to
contain a sequence of elements named ‘view’. I the element
‘view’ type attribute to myType. When Castor generates the java
code it create the class View which extends class MyType. Castor also creates
the class UserDescriptor. The UserDescriptor class contains a addView(View v)
method; why did Castor not use the base class MyType as the parameter data type
for the addView method? Thanks in advance J |
- [castor-user] Base attribute on xsd elements Jason
- RE: [castor-user] Base attribute on xsd elements Jason
- RE: [castor-user] Base attribute on xsd elements rutger . lubbers

