This example code looks interesting. If I understand correctly using this approach requires that builders like the "q" QueryObjectBuilder instance must be explicitly registered with each and every builder that consumes its type of output eg BQOB and FQOB. An alternative would be to register "q" just once with the parser as the provider of Query objects and let BQOB and FQOB and others look up the registered provider for the class (Query) at runtime. I presume doing it your way is a deliberate design choice in order to validate at compile time that a particular parser configuration has all of the necessary builders in place to support incoming XML. That seems like a reasonable approach. If I get some time I'll look at implementing something based on this.
Cheers Mark ___________________________________________________________ Yahoo! Photos NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]