All the API is not exposed on the web-site... SchemaReader is simply a class that reads a Schema from an InputSource:
SchemaReader myReader = new SchemaReader(an_InputSource_here); Schema mySchema = myReader.read(); then you can play with the Schema Object Model as Andrew showed it. For more information on the API of the Schema Object Model, I'll advise you to download the full distribution of Castor available from the Web-site or from the CVS. Hope this helps, Arnaud > -----Original Message----- > From: Delahaye, Martial (CAP, CMF, COFRAMI) > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 10, 2001 9:21 AM > To: [EMAIL PROTECTED] > Subject: RE: Schema parser > > > Hi, > I believe this class exists > (org.exolab.castor.xml.schema.reader.SchemaReader) but I cannot find it on > the javadoc provided on castor's web site. Could you tell me more > about this > class please ? > > -----Original Message----- > From: Arnaud Blandin [mailto:[EMAIL PROTECTED] > Sent: lundi 9 juillet 2001 15:17 > To: [EMAIL PROTECTED] > Subject: RE: Schema parser > > > Hi, > > Actually there are no examples on how to use the Schema Parser. > It is located under org.exolab.castor.xml.schema.reader.SchemaReader > The API is quite straight-forward and you would not find any problem using > it. > If so just let me know. > > Arnaud > > > -----Original Message----- > > From: Delahaye, Martial (CAP, CMF, COFRAMI) > > [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 09, 2001 1:50 PM > > To: [EMAIL PROTECTED] > > Subject: RE: Schema parser > > > > > > Hi Arnaud, > > Thanks for the advice, but actually which one of the examples > > handles shema > > parsing ? > > The directories of examples are named : dsml, dtx, jdo, myapp, > > oes, servlet, > > SourceGenerator > > I wasn't able to run all the examples. it appears to be a little bit > > difficult. > > Thanks > > > > Martial > > > > ps: any other help concerning Shema parsing would be welcomed. > > > > -----Original Message----- > > From: Arnaud Blandin [mailto:[EMAIL PROTECTED] > > Sent: vendredi 6 juillet 2001 18:40 > > To: [EMAIL PROTECTED] > > Subject: RE: Schema parser > > > > > > Hi Martial, > > > > you might want to take a look at Castor Schema Object Model > > (www.castor.org). > > It provides a full API to read a schema and write it back. > > > > Arnaud > > > > > -----Original Message----- > > > From: Delahaye, Martial (CAP, CMF, COFRAMI) > > > [mailto:[EMAIL PROTECTED] > > > Sent: Friday, July 06, 2001 4:25 PM > > > To: [EMAIL PROTECTED] > > > Subject: Schema parser > > > > > > > > > Hi all, > > > > > > I would like to parse a schema in order to display the tags on > > the screen > > > and then be able to save them somewhere. Is there any way to do this ? > > > Thanks > > > > > > Martial > > > > > > --------------------------------------------------------------------- > > > 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] > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- > 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]
