I'm thinking that one option which may quiet a few people here is to allow the generated code to undergo a series of regex replacements after generation. For a simple example, I'd like to be able to:
To turn my member variable names someNameField into
For more complex requests, Xsd2Code can first edit the patterns with a known set of variables before it runs the replacement. Some people ask not to generate a constructor.. No probs:
Find: public $$classname.*?\}
Replace: //constructor removed
Note: $$classname would be a variable that xsd2code would have to replace with a proper value., It might not be sucha hardship for most if this last part wasnt implemented, they'd just have to write their regexes with the class name in it (or think
of another way to identify a class, such as only one word before the open bracket (
This could also be used to achieve my other "ignore" request (perhaps) where I want to not generate an enum; if this were implemented then I could let xsd2code generate the enum and then I'll just regex replace it out of there..