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

Reply via email to