[xsd-users] Visitor pattern automatically generated/ and/or included
Markus Hummel
Markus.Hummel at gmx.de
Wed Jul 15 16:32:50 EDT 2009
Hello everyone,
I am currently working with an XML schema having about 300 classes. Everything
works fine so far. I can access all the information I need.
But I am requiring some kind of a "traverser" to get a simplified but predefined
access to the different information.
Is it possible on using
> XSD cxx-tree --generate-serialization --generated-visitor-pattern
to add the visitor pattern to all the generated classes?
An according empty default Visitor would also be very helpful.
If the according Visit()s and Accept()s are generated by the cxx-tree it would
be very simple to implement any traverser on the model.
Regards,
Markus
More information about the xsd-users
mailing list