Hi,

I want to add some functionality to the generated classes, without touching
the generated classes themselve.

Let say I've got a generated class Instrument and I extend it:

MyInstrument extends Instrument{

 // dummy method
 public String identify(){
   return "MyInstrument";
 }

}

Now I want the factory to use this class

InstrumentDocument.Factory.parse(new File("xxx.xml"));

Due to my limited knowledge of XML beans and Java I've no idea how to
accomplish this.

thanks,

Pieter

--
Pieter Cogghe
Ganzendries 186
9000 Gent
0487 10 14 21

Reply via email to