There's not much I can add to what Jacob said earlier. Take a look at the source code for the inst2xsd tool (start from org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd) and see how that code does it, there's no better documentation I can point you to.
You have correctly noticed that the SchemaTypeImpl class and associated classes are not designed to be instantiated outside the XMLBeans implementation code. Radu > -----Original Message----- > From: Michael Xenakis [mailto:[email protected]] > Sent: Monday, December 29, 2008 4:09 AM > To: [email protected] > Subject: Help - Creating New complexTypes - > > Hi everybody and Merry Christmas, > > I want to construct a new complexType ,so i tried to use the > SchemaTypeImpl class but the constructor of the class is > private so i can't instantiate in order to use it for new > type creation,and i remembered that this is occuring when the > class's developer doesn't want to let the class be extented > (thats why the writer sets the class to > final) but i can't find out how is it possible for me to > construct a SchemaType since the constructor is > private,possibly there is another class to make a new > type,but i couldn't find the way yet. > > > (the package to import and see what am i asking for is > org.apache.xmlbeans.imp.schema.* ) > > It's a little bit urgent and i want your help... > > Thanks in Advance > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

